3 Replies Latest reply on Sep 1, 2004 11:24 PM by Anil Saldanha

    Class not found - am I missing something obvious?

    Alan Kent Newbie

      I have been trying to write a new resource adapter. I have a .rar file with a .jar in it containing various classes, including com.teratext.j2ee.dbs.ra.ManagedConnectionFactoryImpl.
      But whenever I create a -ds.xml file, I get errors about it not finding the managed connection class.

      Does the error below mean its not finding the jar file with the class in it? Or could it mean that the class in the jar file has errors in it (e.g. not inheriting the correct interfaces)? Everything I have read indicates I am doing the right sort of thing - its starting to drive me crazy! Any help greatly appreciated.

      Alan

      2004-08-30 19:25:57,915 DEBUG [org.jboss.resource.connectionmanager.RARDeployment] Starting jboss.jca:service=ManagedConnectionFactory,name=TTDS
      
      2004-08-30 19:25:57,915 ERROR [org.jboss.resource.connectionmanager.RARDeployment] Could not find ManagedConnectionFactory class: com.teratext.j2ee.dbs.ra.ManagedConnectionFactoryImpl
      
      java.lang.ClassNotFoundException: Unexpected error during load of: com.teratext.j2ee.dbs.ra.ManagedConnectionFactoryImpl, msg=javax/resource/spi/ResourceAdapterAssociation
      
       at org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoader3.java:215)