[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: WrappedDataSource class cast exception in jboss 5.1
PeterJ
do-not-reply at jboss.com
Thu May 14 15:44:30 EDT 2009
What JAR files are you including in your app? (Also, what type of apps? WAR? EAR?) This type of class cast exception often happens when a class provided by JBoss AS (DataSource in this case) is also located within a JAR packaged with the app.
If that doesn't help, you could add the "-verbose:class" JVM option to JAVA_OPTS in run.bat or run.comf. This option causes the JVM to print the location of the JAR file for each class loaded. This can help pinpoint when classes are loaded from unexpected JARs.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231167#4231167
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231167
More information about the jboss-user
mailing list