I am trying to get my first end to end test.
I want to do an end to end test starting from a website to the database.
I have gotten my test to work on Tomcat with no problems ans now I am trying to use JBoss.
This is my delpoyment structure:
E3.ear
/META-INF/
application.xml
E3ejb.jar:
com/
mycompany/ [[In here is the POJOs that reflect the database tables]]
hibernate.hbm.xml
Division.hbm.xml
lib/
hibernate2.jar
....
META-INF/
ejb-jar.xml
jboss.xml
E3.war
WEB-INF/
web.xml
....
index.jsp
....
However, when I put my ear file in the default/deploy directory of JBoss-4.0.0DR4 I get this error...
Code:
17:57:52,942 INFO [EARDeployer] Init J2EE application: file:/C:/dev/j2ee/jboss-
4.0.0DR4/server/default/deploy/E3.ear
17:57:58,630 ERROR [MainDeployer] could not create deployment: file:/C:/dev/j2ee
/jboss-4.0.0DR4/server/default/tmp/deploy/tmp9838E3.ear-contents/E3ejb.jar-conte
nts/lib/hibernate2.jar-contents/net/sf/hibernate/jca/hibernate-service.xml
org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.r
esource.connectionmanager.LocalTxConnectionManager; - nested throwable: (java.la
ng.ClassNotFoundException: No ClassLoaders found for: org.jboss.resource.connect
ionmanager.LocalTxConnectionManager)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:139)
at org.jboss.system.ServiceController.install(ServiceController.java:200
)
at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
I am using:
JBoss-4.0.0DR4
Hibernate 2.1
Any suggestions would be greatly appreciated. And yes I'm a newbie so if I did something compelely dumb please go easy on me.
-David