Now the "don't abuse the procedure to get attention" is over. :-)

For future reference, 
(in the unlikely event that somebody finds this issue rather than the 1000+
similar stupid questions)
the problem is like any other ClassCastException.
You have two different versions of the class.

Rather than looking at the implementation class look at the interface classes 
(OracleConnection is an interface after all)
Class.getInterfaces();
and where they are loaded from
Class.getClassLoader();
Class.getProtectionDomain().getCodeSource()

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to