[jboss-user] [Installation, Configuration & DEPLOYMENT] - problem deploying app on JBoss-4.2.2 with upgraded hibernate
sahaja1
do-not-reply at jboss.com
Mon Oct 20 11:29:14 EDT 2008
Need help on grail app deployment in jboss. I am using grails1.0.3, JBoss-4.2.2 and Java6.
I have updated hibernate jars in my application. My application web-inf/lib contains -
hibernate-annotations.jar - ver -3.3.0.GA
hibernate-commons-annotations.jar - ver-3.0.0.GA
hibernate-validator.jar - ver-3.1.0.GA
hibernate-search.jar - ver-3.1.0.Beta1
hibernate3.jar ver-3.2.6.ga
hibernate-entitymanager.jar - ver-3.4.0.GA
I setup classloader isolation in jboss-web.xml -
<loader-repository>
gov.pacts.groovy:loader=myApp-0.1.war
<loader-repository-config>
java2ParentDelegation=false
</loader-repository-config>
</loader-repository>
When I deploy the war file in JBoss4.2.2 I am getting the following error -
Caused by: java.lang.NoClassDefFoundError: org/hibernate/event/Destructible
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1814)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
at org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassLoader.java:139)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
Any help or suggestions why I am getting this error?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183277#4183277
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183277
More information about the jboss-user
mailing list