4 Replies Latest reply on Apr 20, 2005 3:40 AM by Risto Luukkanen

    Oracle 10g / JBoss 4.0 / XA Config Problem

    xxx yyy Newbie

      Hi all,

      I need help to make Oracle 10g and JBoss 4.0 working together.

      In fact when I configure an XA datasource to work with distributed transaction I receive these error: "java.lang.ClassNotFoundException: No ClassLoaders found for: oracle.jdbc.xa.OracleXAException".

      I have followed the recommendations from the reference guide:
      1/ jboss-service.xml with pad set to true
      2/ oracle-xa-ds.xml copied to the deployed directory

      Here part of the stack trace.
      Thanks a lot for your help.
      / Xavier

      17:15:25,745 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=XAOracleDS to JNDI name 'java:XAOracleDS'
      17:15:25,775 ERROR [OracleXAExceptionFormatter] Starting failed jboss.jca:service=OracleXAExceptionFormatter java.lang.ClassNotFoundException: No ClassLoaders found for: oracle.jdbc.xa.OracleXAException
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter.startService(OracleXAExceptionFormatter.java:80)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)