0 Replies Latest reply on Aug 29, 2005 5:38 PM by felderr

    Problem using a custom Classloaderrepository with a JCA Adap

    felderr

      We implemented the JCA Adapter from Chapter 7 of the Admin Devel Book for JBoss. The JCA Adapter is accessed from an EJB that is located within an EAR file.

      Everything works fine as long as we do not use a custom Classloader Repository for the EAR file. If we set

      <jboss-app>
      <loader-repository>at.sozvers:loader=test.ear
      <loader-repository-config>java2ParentDelegation=true</loader-repository-config>
      </loader-repository>
      </jboss-app>

      we get the folloging Exception:

      org.jboss.resource.JBossResourceException: Unchecked throwable in ManagedConnection.getConnection(); - nested throwable: (java.lang.reflect.UndeclaredThrowableException)

      java.lang.NoClassDefFoundError: org/jboss/chap7/ex1/ra/FSDirContext

      Is this a bug in JBoss? btw. we are trying with JBoss 3.2.6

      Thx
      Rene