"[EMAIL PROTECTED]" wrote : 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()
Ok, you were correct (though I wish in a nicer way - "similar stupid questions"). I guess the classloader changed between 3.2.5 and 4.0.3, because in 3.2.5 I had the oracle drivers in both the server/lib and my WEB-INF/lib and it worked fine. However, in 4.0.3, I had to remove the oracle drivers from WEB-INF/lib in order for it to work. Sorry for my "stupid question", but I hope this solution helps someone else out, since obviously other people had such stupid questions as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900162#3900162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900162 ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
