I tried to configure it like this article, but it still doesn't work. I try too delete
hibernate libs from lib directory of JBoss to assert that it will not be used. But I get
follow errors:
|
| --- Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@85793d72 {
url=file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/deploy/spiv.ear }
| deployer: org.jboss.deployment.EARDeployer@705d28
| status: Deployment FAILED reason: URL
file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp27285spiv.ear-contents/spiv-war-exp.war/
deployment failed
| state: FAILED
| watch: file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/deploy/spiv.ear
| altDD: null
| lastDeployed: 1200413687430
| lastModified: 1200413682000
| mbeans:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.j2ee:service=EJB3,module=jboss-seam-2.0.0.GA.jar
| State: FAILED
| Reason: java.lang.NoClassDefFoundError: org/hibernate/SessionFactory
|
| ObjectName: jboss.j2ee:service=EJB3,module=spiv-ejb-0.0.1-SNAPSHOT.jar
| State: FAILED
| Reason: java.lang.NoClassDefFoundError: org/hibernate/cfg/EJB3DTDEntityResolver
|
| ObjectName: jboss.web.deployment:war=spiv-war.war,id=-1428543692
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL
file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp27285spiv.ear-contents/spiv-war-exp.war/
deployment failed
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.web.deployment:war=spiv-war.war,id=-1428543692
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: URL
file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp27285spiv.ear-contents/spiv-war-exp.war/
deployment failed
|
| ObjectName: jboss.j2ee:service=EJB3,module=spiv-ejb-0.0.1-SNAPSHOT.jar
| State: FAILED
| Reason: java.lang.NoClassDefFoundError: org/hibernate/cfg/EJB3DTDEntityResolver
|
| ObjectName: jboss.j2ee:service=EJB3,module=jboss-seam-2.0.0.GA.jar
| State: FAILED
| Reason: java.lang.NoClassDefFoundError: org/hibernate/SessionFactory
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120183#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...