2 Replies Latest reply on Jul 12, 2007 3:54 PM by Todd Smith

    LocalTxConnectionManager missing in JBoss4.2GA?

    Mike Connoway Newbie

      Hi guys, I've installed JBoss4.2GA and I'm trying to get our application EAR file working in it. The EAR deploys fine in our previous version of JBoss 3.2.7. When I try to deploy in JBoss4.2GA, I get the error below. This LocalTXConnectionManager class exists in JBoss3.2.7 in the jboss-jca.jar in the default/lib directory but the same class is missing in jboss-jca.jar in JBoss4.2GA. Any help would be greatly appreciated!! Wasnt sure whether to post this in the Installation/Deployment forum or here. Thanks!

      10:43:09,679 ERROR [JBOSSDataSourceFactory] Error in bindDataSource source method
      javax.management.ReflectionException: Class not found: org.jboss.resource.connectionmanager.LocalTxConnectionManager
      at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:1258)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1237)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:248)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:294)
      at com.emptoris.zport.config.datasource.jboss.JBOSSDataSourceFactory.bindDataSource(JBOSSDataSourceFactory.java:
      at com.emptoris.zport.config.datasource.jboss.JBOSSDataSourceFactory.access$000(JBOSSDataSourceFactory.java:46)
      at com.emptoris.zport.config.datasource.jboss.JBOSSDataSourceFactory$DataSourceCreator.run(JBOSSDataSourceFactor
      Caused by: java.lang.ClassNotFoundException: org.jboss.resource.connectionmanager.LocalTxConnectionManager
      at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClass(UnifiedLoaderRepository3.java:607)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1207)

        • 1. Re: LocalTxConnectionManager missing in JBoss4.2GA?
          Adrian Brock Master

          FAQ - as it says there you're using a private/unsupported api so expect to have to change it
          with every release.

          At least until JBoss5 when we will have proper metadata classes so you can
          deploy datasources and connection factories programmatically without using a -ds.xml.

          • 2. Re: LocalTxConnectionManager missing in JBoss4.2GA?
            Todd Smith Newbie

            I'm having a similar issue converting from JBoss 3 to JBoss 4. My server log using JBoss 4.0.5 shows the following:

            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

            I see it is missing from jboss-jca.jar. I don't see anything yet reading through the JBoss documentation on an alternative method. Should I look into TxConnectionManager or BaseConnectionManager2?