JBoss 3.2.2.
I put the following in server/default/lib.
hibernate2.jar
ehcache-0.7.jar
dom4j-full.jar
commons-logging.jar
commons-collections.jar
cglib-full-2.0.1.jar
pg73jdbc3.jar
The I deployed an EAR with the following structure:
EAR
----SAR (with hibernate which deployed fine)
----WAR (with cactus testcases, which uses hibernate)
----JAR (with hibernate-persistence classes and session beans)
Deploying the hibernate SAR has no problem, but when I deploy the whole EAR, I have the following exception:
05:11:23,074 INFO [Binder] Mapping collection: Test.customers -> People
05:11:23,102 WARN [ServiceController] Problem starting service jboss.jca:service=Hibernate
java.lang.NoClassDefFoundError: net/sf/hibernate/collection/List
at net.sf.hibernate.type.TypeFactory.list(TypeFactory.java:186)
at net.sf.hibernate.mapping.List.getCollectionType(List.java:19)
at net.sf.hibernate.mapping.Collection.getType(Collection.java:275)
at net.sf.hibernate.cfg.Binder.bindProperty(Binder.java:443)
at net.sf.hibernate.cfg.Binder.createProperty(Binder.java:1070)
at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:1050)
at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:361)
at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1243)
at net.sf.hibernate.cfg.Configuration.add(Configuration.java:249)
at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:285)
at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:315)
...
...
05:11:24,126 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.jca:service=Hibernate
state: FAILED
I Depend On: jboss.jca:service=RARDeployer
Depends On Me: java.lang.NoClassDefFoundError: net/sf/hibernate/collection/List]
Did I do something wrong? Thanks! -Stan