0 Replies Latest reply on Jun 1, 2006 5:16 AM by Thomas Weidner

    Problem while trying to create Oracle JCA connection

    Thomas Weidner Newbie

      Hi folks, I hope you can help with this:

      JBoss 3.2.7
      Java 1.4.2_11
      Oracle 9.2

      I've tried the guide in the documentation and copied the oracle-ds.xml into my server/default/deploy directory. The error stack trace I got after that tells me, that JBoss is unable to find the org/jboss/resource/connectionmanager/TxConnectionManager$LocalXAResource file.

      This is the complete stack trace:

      11:04:06,112 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
      11:04:06,112 ERROR [MainDeployer] could not create deployment: file:/C:/jboss_328sp1/server/default/deploy/oracle-xa-ds.xml
      org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/jboss_328sp1/server/default/deploy/oracle-xa-ds.xml; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:274)
       at $Proxy26.create(Unknown Source)
       at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:215)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
       at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy8.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:142)
       at org.jboss.system.ServiceController.install(ServiceController.java:199)
       at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
       at $Proxy4.install(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204)
       ... 32 more
      Caused by: java.lang.reflect.UndeclaredThrowableException
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:202)
       at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:152)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:117)
       ... 45 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/resource/connectionmanager/TxConnectionManager$LocalXAResource
       at java.lang.Class.getDeclaredConstructors0(Native Method)
       at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
       at java.lang.Class.getConstructor0(Class.java:1930)
       at java.lang.Class.getConstructor(Class.java:1027)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:870)
       at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:290)
       at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:317)
       at org.jboss.system.ServiceCreator.install(ServiceCreator.java:124)
       ... 47 more


      This also happens if I use the oracle-xa-ds.xml. I hope someone has an idea what's the matter with that. I don't want to upgrade my server cause: Never touch a running system.

      Thanks a lot!