- 
        1. Re: Deployment failed on Duke Bank Applicationkusanagihk Sep 8, 2006 3:12 AM (in response to kusanagihk)To all, 
 I've found more errors during starting the jboss server, there are 3 services or modules that failed to be configure during startup.
 --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
 ObjectName: jboss:database=localDB,service=Hypersonic
 State: NOTYETINSTALLED
 Depends On Me:
 jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
 ObjectName: jboss.j2ee:module=bank-ejb.jar,service=EjbModule
 State: FAILED
 Reason: org.jboss.deployment.DeploymentException: Error: can't find data sourc
 e: java:/DefaultDS; - nested throwable: (javax.naming.NameNotFoundException: Def
 aultDS not bound)
 ObjectName: jboss.j2ee:module=team-ejb.jar,service=EjbModule
 State: FAILED
 Reason: org.jboss.deployment.DeploymentException: Error: can't find data sourc
 e: java:/DefaultDS; - nested throwable: (javax.naming.NameNotFoundException: Def
 aultDS not bound)
 Seems like :
 1) JNDI problems in bounding some resources
 2) a DefaultDS is missing (but the getting document didn't say a thing on setting a default DS)
 3) the nullPointerException in creating the EJBs (mostly because of the 1st 2 problems above; in which the related EJB JNDI entry is missing now)
 Any ideas on solving the problem? Or any guides I should read before reading the "Getting Start" document?
 Thanks
 From Jason (kusanagihk)
- 
        2. Re: Deployment failed on Duke Bank Applicationkusanagihk Sep 8, 2006 4:09 AM (in response to kusanagihk)To all, 
 Problems solved; I have made 2 changes as follows:
 1) the contents of the jndi.properties at <jboss_home>\server\default\conf
 java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
 java.naming.provider.url=jnp://localhost:1099
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
 PS. the extra property java.naming.provider.url is added (this line is founded in the getting started guide)
 2) the contents of the hsqldb-ds.xml at <jboss_home>\server\default\deploy
 find this line:
 jboss:service=Hypersonic,database=localDB
 now replace it with:
 jboss:service=Hypersonic
 Restart jboss and I have no more errors/warnings; everything's should running fine now
 Also see :
 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853324
 From Jason (kusanagihk)
