I just have tried these configurations too, but don't work. I tried delete 
hibernate jars of server lib directory but it don't work too, my application 
don't recognizes the libs into ear and throws exceptions and show this in the 
server console:

  | 
  | --- Incompletely deployed packages ---
  | [EMAIL PROTECTED] { 
url=file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/deploy/spiv.ear 
}
  |   deployer: [EMAIL PROTECTED]
  |   status: Deployment FAILED reason: URL 
file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp65581spiv.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: 1200424791209
  |   lastModified: 1200424787000
  |   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=-236867335
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: URL 
file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp65581spiv.ear-contents/spiv-war-exp.war/
 deployment failed
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | 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
  | 
  | ObjectName: jboss.web.deployment:war=spiv-war.war,id=-236867335
  |   State: FAILED
  |   Reason: org.jboss.deployment.DeploymentException: URL 
file:/home/kurumin/java/tools/jboss-4.2.2.GA/server/default/tmp/deploy/tmp65581spiv.ear-contents/spiv-war-exp.war/
 deployment failed
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120204#4120204

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120204
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to