After some investigation it shows up that there is another entry in the hsqldb-ds.xml
that has to be changed to reflect the mbean element used:
jboss:service=Hypersonic,database=localDB
should be changed to:
jboss:service=Hypersonic
when using the TCP connection.
But:
Can somebody please explain why not doing so should cause such a crash? It seems like
the JNDI lookup fails in AccountBean.makeConnection():
DataSource ds = (DataSource) ic.lookup("java:comp/env/jdbc/BankDB")
throws an exception when the correct depends element isn't used.
P.S.
I forgot to inform you that I am using JBOSS 3.2.5
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840595#3840595
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840595
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user