This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
My application is working fine in jboss-3.0.8 but not in jboss-3.2.6 . Is there any additional settings for jboss-3.2.6?? For jboss-3.0.8 i have jus copied the .ear file into default/deploy and the sql-connector.jar file into lib..Nothing i have done in xml files.And it is working fine in 3.0.8... In jboss 3.2.6 the .ear file is not at all getting deployed properly. The server shows:
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.web.deployment:war=DashboardWeb.war,id=127728629 state: FAILED I Depend On: Depends On Me: MBeanException: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable javax.naming.NamingException:resource-ref: jdbc/mySql has no valid JNDI binding. Check the jboss-web/resource-ref.) Cause: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: jdbc/mySql has no valid JNDI binding. Check the jboss-web/resource-ref.) ObjectName: jboss.j2ee:service=EARDeployment,url='Dashboard20Oct2004.ear' state: CREATED I Depend On: Depends On Me:
20:28:27,500 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808 0 20:28:27,671 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 20:28:27,718 INFO [JkMain] Jk running ID=0 time=0/62 config=null 20:28:27,734 INFO [Server] JBoss (MX MicroKernel) [3.2.6 (build: CVSTag=JBoss_3 _2_6 date=200410140106)] Started in 49s:671ms
Hi, Try the following. Hope it might help you out. We faced a similar kind of problem when we migrated to JBoss-3.2.5.
1.There is a need to define an another DataSource description file to make use of Connection Pooling concept of J2EE. Older approach of defining application-name-all-service.xml doesn�t seems to be working with the new JBOSS version.