2 Replies Latest reply on Jun 24, 2007 12:38 AM by vikaswarkar

    Configuring XAOracleDS

    Haresh Patel Newbie

      I have configured XAOracleDS for Oracle9i using instruction from JBOSS Starting Guide Chapter 8.3. (Jobss 4.0 1sp1 and ejb3)

      Staring JBOSS with "ALL" option throws exception as shown below:
      No ClassLoaders found for: org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter;

      Details frm server.log file:
      JndiName set to XAOracleDS in jboss.jca:service=DataSourceBinding,name=XAOracleDS
      2005-06-03 08:59:27,531 DEBUG [org.jboss.system.ServiceConfigurator]
      UseJavaContext set to true in jboss.jca:service=DataSourceBinding,name=XAOracleDS
      2005-06-03 08:59:27,531 DEBUG [org.jboss.system.ServiceController]
      recording that jboss.jca:service=DataSourceBinding,name=XAOracleDS depends on jboss.jca:service=XATxCM,name=XAOracleDS
      2005-06-03 08:59:27,531 DEBUG [org.jboss.system.ServiceConfigurator]
      considering ConnectionManager with object name jboss.jca:service=XATxCM,name=XAOracleDS
      2005-06-03 08:59:27,531 DEBUG [org.jboss.system.ServiceController]
      recording that jboss.jca:service=DataSourceBinding,name=XAOracleDS depends on jboss:service=invoker,type=jrmp
      2005-06-03 08:59:27,531 DEBUG [org.jboss.system.ServiceConfigurator]
      considering JMXInvokerName with object name jboss:service=invoker,type=jrmp
      2005-06-03 08:59:27,531 DEBUG [org.jboss.system.ServiceCreator]
      About to create bean: jboss.jca:service=OracleXAExceptionFormatter with code: org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter
      2005-06-03 08:59:27,546 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2005-06-03 08:59:27,546 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2005-06-03 08:59:27,546 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2005-06-03 08:59:27,546 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/C:/jboss/jboss-4.0.1sp1/server/all/deploy/oracle-xa-ds.xml
      org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter;
      - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)

      Any help is appreciated.

        • 1. Re: Configuring XAOracleDS
          Haresh Patel Newbie

          I have fixed problem by
          1. Reinstalling JBOSS.
          2. Follow step by step from Start guide section 8.3

          I have one problem as shown below. But it is not related to Oracle database.

          2005-06-10 13:35:19,781 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/C:/jboss/jboss-4.0.1sp1/server/default/deploy/ejb3-clustered-sfsbcache-service.xml
          org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.ejb3.cache.tree.PassivationTreeCache, msg=org/jboss/cache/TreeCache; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.ejb3.cache.tree.PassivationTreeCache, msg=org/jboss/cache/TreeCache)


          • 2. Re: Configuring XAOracleDS
            vikaswarkar Newbie

            change the package name
            org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter
            to
            org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter in oracle-xa-ds.xml