0 Replies Latest reply on Feb 8, 2005 11:14 AM by Muhammad Aamir Cutlery

    Hibernate and JBoss 4.0

    Muhammad Aamir Cutlery Newbie

      Following exception is thrown when I try to deploy my EJB Jar bundle. It includes hiberanate jars in lib folder and all are listed in META-INF. hibernate.cfg.xml is in root of jar file. and contained specifically these entries:

      <!-- Transaction API -->
       <property name="transaction.factory_class">net.sf.hibernate.transaction.JTATransactionFactory
       </property>
       <property name="transaction.manager_lookup_class">
       net.sf.hibernate.transaction.JBossTransactionManagerLookup
       </property>


      Following is the exception is thrown while deploying this package:

      org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.resource.connectionmanager.LocalTxConnectionManager; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.resource.connectionmanager.LocalTxConnectionManager)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
      at org.jboss.system.ServiceController.install(ServiceController.java:200)
      at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)