I have been trying to get examples from the OÃÂReilly Enterprise Java Beans 4-th 
Edition book to run with JBOSS using its Hypersonic database.

IÃÂve set up JBOSS and have been able to access the Hypersonic database under its 
JMX Management console and run the load scripts.

I am running JBOSS 4.0 RC1 and Eclipse 3.1 with the JBOSS-IDE Eclipse plug-in. 

I have followed all the instructions in JBOSS documentation jbossj2ee.pdf for seting 
up the Hypersonic database.

When I deploy the first example I get the following error.  Does anyone have any ideas 
how to investigate this further.


FROM THE JBOSS CONSOLE:
 
Default/server.logDepends On Me: 
ObjectName: jboss.j2ee:jndiName=ejb/Cabin,service=EJB
 state: FAILED
 I Depend On: 
 Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data 
source: java:/DefaultDS; - nested throwable: (javax.naming.NameNotFoundException: 
DefaultDS not bound)
ObjectName: jboss.j2ee:jndiName=ejb/Cabin,plugin=pool,service=EJB
 state: CREATED
 I Depend On: 
 Depends On Me: 

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss:database=localDB,service=Hypersonic
 state: NOTYETINSTALLED
 I Depend On: 
 Depends On Me:  jboss.jca:name=DefaultDS,service=ManagedConnectionFactory

ObjectName: jboss.j2ee:jndiName=ejb/Cabin,service=EJB
 state: FAILED
 I Depend On: 
 Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data 
source: java:/DefaultDS; - nested throwable: (javax.naming.NameNotFoundException: 
DefaultDS not bound)
ObjectName: jboss.j2ee:jndiName=ejb/Cabin,plugin=pool,service=EJB
 state: CREATED
 I Depend On: 
 Depends On Me: 



ALSO PRIOR TO THE ERROR IN THE default/server.log FILE SHOWING HYPERSONIC INSTALL

2004-09-28 19:16:51,647 DEBUG [org.jboss.system.ServiceCreator] Created bean: 
jboss:service=Hypersonic
2004-09-28 19:16:51,647 DEBUG [org.jboss.system.ServiceConfigurator] Port set to 1701 
in jboss:service=Hypersonic
2004-09-28 19:16:51,647 DEBUG [org.jboss.system.ServiceConfigurator] Silent set to 
true in jboss:service=Hypersonic
2004-09-28 19:16:51,647 DEBUG [org.jboss.system.ServiceConfigurator] Database set to 
default in jboss:service=Hypersonic
2004-09-28 19:16:51,647 DEBUG [org.jboss.system.ServiceConfigurator] Trace set to 
false in jboss:service=Hypersonic
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceConfigurator] No_system_exit 
set to true in jboss:service=Hypersonic
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] Creating service 
jboss.jca:name=DefaultDS,service=LocalTxCM
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] waiting in create 
of jboss.jca:name=DefaultDS,service=LocalTxCM waiting on 
jboss.jca:name=DefaultDS,service=ManagedConnectionPool
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] Creating service 
jboss.jca:name=DefaultDS,service=ManagedConnectionPool
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] waiting in create 
of jboss.jca:name=DefaultDS,service=ManagedConnectionPool waiting on 
jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] Creating service 
jboss.jca:name=DefaultDS,service=ManagedConnectionFactory
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] waiting in create 
of jboss.jca:name=DefaultDS,service=ManagedConnectionFactory waiting on 
jboss:database=localDB,service=Hypersonic
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] Creating service 
jboss.jca:name=DefaultDS,service=DataSourceBinding
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] waiting in create 
of jboss.jca:name=DefaultDS,service=DataSourceBinding waiting on 
jboss.jca:name=DefaultDS,service=LocalTxCM
2004-09-28 19:16:51,657 DEBUG [org.jboss.system.ServiceController] Creating service 
jboss:service=Hypersonic
2004-09-28 19:16:51,657 DEBUG [org.jboss.jdbc.HypersonicDatabase] Creating 
jboss:service=Hypersonic
2004-09-28 19:16:51,657 DEBUG [org.jboss.jdbc.HypersonicDatabase] Created 
jboss:service=Hypersonic



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849867#3849867

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849867


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to