I have been following the "Getting Started Guide" Chapter 4 - Installing Duke's Bank.
I am getting an error message ...
javax.ejb.EJBException: ejbFindByCustomerId Unable to connect to database. Could not dereference object
at com.sun.ebank.ejb.account.AccountBean.ejbFindByCustomerId(Unknown Source)
etc...
Also in the console... starting up JBoss I see....
17:48:41,559 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss-3.2.5/server/default/deploy/JBossDukesBank.ear
17:48:41,571 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
jboss.web:service=WebServer
etc.....
MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss:service=Hypersonic,database=localDB
state: NOTYETINSTALLED
I Depend On:
Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=DefaultDS
Any advice very welcome. Thanks.
Ronan O'Ciosoig.
I am using JBoss 3.2.5, and i have installed the DukesBank ear file, and followed the instructions on installing the sql code. My system is OS X 10.3.4
Hi,
This means your Hypersonic default data source misconfigure.
please check /server/default/deploy/hsqldb-ds.xml
<local-tx-datasource>
make sure this depends on the right hypersonic instance
jboss:service=Hypersonic
good luck,
Roy