-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: JBoss + Hibernate deployment help
PostPosted: Tue Jul 27, 2004 6:15 pm 
Beginner
Beginner

Joined: Mon Jun 21, 2004 2:41 pm
Posts: 40
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 27, 2004 6:18 pm 
Beginner
Beginner

Joined: Mon Jun 21, 2004 2:41 pm
Posts: 40
Sorry forgot to put the file strucutre in code formatting

E3.ear:
Code:
/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
      ....


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 27, 2004 11:22 pm 
Senior
Senior

Joined: Tue Nov 25, 2003 9:35 am
Posts: 194
Location: San Francisco
Read http://www.hibernate.org/66.html


Sherman


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.