1 Reply Latest reply on Nov 6, 2006 6:16 PM by Weston M. Price

    I create a datasource and I am getting the error  o ClassLoa

    Sue Newbie

      I created the following datasource file and get the error:

      7:59:37,924 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss/server/default/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:196)

      BELOW is the dtd file

      <?xml version="1.0" encoding="UTF-8"?>

      <!-- ===================================================================== -->
      <!-- -->
      <!-- JBoss Server DataBase Configuration -->
      <!-- -->
      <!-- ===================================================================== -->


      <!-- The time before an unused connection is destroyed -->
      <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
      <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->

      <!-- Whether to check all statements are closed when the connection is returned to the pool,
      this is a debugging feature that should be turned off in production -->

      <!-- Use the security domain defined in conf/login-config.xml -->

      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
      <!-- metadata>
      <type-mapping>Hypersonic SQL</type-mapping>
      </metadata -->

      <!-- This mbean can be used when using in process persistent hypersonic -->
      <!-- depends>jboss:service=Hypersonic,database=orcl</depends -->


      <!-- This mbean can be used when using in process persistent db -->
      <!-- mbean code="oracle.jdbc.driver.OracleDriver"
      </mbean -->

      <depends optional-attribute-name="TransactionManagerService">