Hi, since I've just spent 2 hours getting the DukeBank example to run, I might as well share an experience to save some of you the bother of finding this solution yourselves:
Upon changing the hsqldb-ds.xml file from localDB connection to server connection (Post 1701), as described in the tutorial, I got loads of messages in the JBoss console. Most of those messages said something about unfulfilled dependencies as in "I depend on...". The final message was: 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 Although I could populate the database with the provided ant script, it wasn't possible to log in to the bank example. The exception that caused the problem was: 14:02:59,118 ERROR [LogInterceptor] EJBException: javax.ejb.EJBException: ejbFindByCustomerId Unable to connect to database. Could not dereference object It turned out that there is another setting that has to be changed in hsqldb-ds.xml: At the bottom of the file, just above the mbean configuration you have to change the line | <depends>jboss:service=Hypersonic,database=localDB</depends> | to | <depends>jboss:service=Hypersonic</depends> | to make JBoss use the server database. After that, the example worked like a charm. Good luck Alexander View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847930#3847930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847930 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
