[jboss-user] [JCA/JBoss] - Re: Could not dereference object

lasanac do-not-reply at jboss.com
Fri Dec 14 11:00:46 EST 2007

Please disregard my last post!!!!!!

When I don't use:

ctx.rebind("java:MySQLDS", ref);

I get the following error:

step 1
step 2
java.lang.ClassCastException: javax.naming.Reference
	at com.kt.dao.DBConnection.doConnection(DBConnection.java:43)
	at com.kt.dao.MakeConnectionTest.main(MakeConnectionTest.java:17)

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

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

More information about the jboss-user mailing list