This content has been marked as final.
Show 2 replies
-
1. Re: org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6 cannot be cast to org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6
jaikiran Mar 5, 2013 12:46 AM (in response to prashant_mishra8)Are you packaging any JBoss specific jar (especially the one that contains that class) within your application deployment? If yes, remove it from your deployment (you can still have it as a compile time dependency if you want to).
By the way, why are you trying to cast it to a specific connection implementation class?
-
2. Re: org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6 cannot be cast to org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6
prashant_mishra8 Mar 5, 2013 12:57 AM (in response to jaikiran)Yes I am using the jboss specific jar "ironjacamar-jdbc-1.0.9.Final.jar" which have the class.
Actually I am using AS400 so I need to typecast the connection to AS400 specific connection