I am working my way through the JBoss4 Getting Started Guide.

No problem with setting up the database tables and populating them or with 
connecting (as 200) to the Duke's Bank.  However, the console tells me that the 
getConnection method in the UserBean fails.  It happens at the 
ic.lookup(Whatever.BANK_DATABASE) method call.  

I have noticed that in hsql-db.xml the database is referred to as defaultDS and 
Whatever.BANK_DATABASE points to ejb/somethingElse.

Changing defaultDS in hsql-db.xml to ejb/somethingElse does not help.

What do I have to do that when I log in as 200 my account data in the database 
is accessable?  It does exist.  Some critical sentences are missing in the 
StartUp guide, maybe only one or two here.

I usually use CMP and MySQL and do not have this problem.

My post from yesterday on this subject (which was more detailed) went missing. 
Therefore the vagueness with some names, but you will get my drift. 

Any ideas?

Thanks,

Chris

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to