8 Replies Latest reply on Dec 13, 2005 8:34 AM by Galder Zamarreno

    No classloader for ManagedConnectionFactory

    Galder Zamarreno Newbie

      Im trying to deploy my resource adapter but im unable due to the following error:

      09:38:12,187 ERROR [RARDeployment]
      Could not find ManagedConnectionFactory class:
      com.retail_logic.solve3.outputadapter.resource.ManagedConnectionFactory
      java.lang.ClassNotFoundException: No ClassLoaders found for:
      com.retail_logic.solve3.outputadapter.resource.ManagedConnectionFactory


      My ra.xml contains the following:

      <managedconnectionfactory-class>
      com.retail_logic.solve3.outputadapter.resource.ManagedConnectionFactory
      </managedconnectionfactory-class>
      


      And my OutputAdapter-ds.xml contains the following:

      <connection-factories>
       <no-tx-connection-factory>
       <jndi-name>ConnectionFactory</jndi-name>
       <rar-name>IntegrationTests.ear#OutputAdapter.rar</rar-name>
       <connection-definition>
       com.retail_logic.solve3.outputadapter.resource.cci.ConnectionFactory
       </connection-definition>
      
       <min-pool-size>0</min-pool-size>
       <max-pool-size>1000</max-pool-size>
      
       <blocking-timeout-millis>5000</blocking-timeout-millis>
       <idle-timeout-minutes>5</idle-timeout-minutes>
      
       <criteria>ByNothing</criteria>
      
       </no-tx-connection-factory>
      
      </connection-factories>
      


      The contents of IntegrationTests.ear is:

      IntegrationTests.ear
      |--IntegrationTests.war
      |--OutputAdapter.jar
      |--OutputAdapter.rar
      |----com/retail_logic/solve3/outputadapter/resource/ManagedConnectionFactory.class
      |--OutputAdapter.sar

      Can anyone maybe think of something that im missing?

      Thanks