3 Replies Latest reply on Jan 11, 2007 8:44 AM by manaton

    Dynamic Proxy not found with JBoss 4.0.5 on Power5 / IBM JDK

    Frintrop Newbie

      Hi, we habe problems with the classloader on a power5 box with ibm jdk 1.5 installed. the classloader will not find the generated proxy classes while making a further ejb call. Any suggestions ?

      Log with JDK classloader debug:

      
      
      15:00:16,795 INFO [EJBTest1] Call EJBTest1 ( v-linux-1/192.9.200.4
      ExtClassLoader attempting to find $Proxy580
      ExtClassLoader using classpath /opt/ibm/java2-ppc64-50/jre/lib/ext/indicim.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/IBMKeyManagementServer.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/ibmpkcs11impl.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/ibmjcefips.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/CmpCrmf.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/ibmcmsprovider.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/dtfj-interface.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/gskikm.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/jdmpview.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/ibmkeycert.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/ibmjceprovider.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/dtfj.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/ibmsaslprovider.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/ibmpkcs11.jar:/opt/ibm/java2-ppc64-50/jre/lib/ext/jaccess.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/indicim.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/IBMKeyManagementServer.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/ibmpkcs11impl.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/ibmjcefips.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/CmpCrmf.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/ibmcmsprovider.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/dtfj-interface.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/gskikm.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/jdmpview.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/ibmkeycert.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/ibmjceprovider.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/dtfj.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/ibmsaslprovider.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/ibmpkcs11.jar
      ExtClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/jre/lib/ext/jaccess.jar
      ExtClassLoader could not find $Proxy580
      
      AppClassLoader attempting to find $Proxy580
      AppClassLoader using classpath /home/java/jboss-4.0.5/bin/run.jar:/opt/ibm/java2-ppc64-50/lib/tools.jar
      AppClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/bin/run.jar
      AppClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/client/getopt.jar
      AppClassLoader could not find $Proxy580.class in /opt/ibm/java2-ppc64-50/lib/tools.jar
      AppClassLoader could not find $Proxy580
      
      org.jboss.system.server.NoAnnotationURLClassLoader attempting to find $Proxy580
      org.jboss.system.server.NoAnnotationURLClassLoader using classpath /home/java/jboss-4.0.5/lib/endorsed/serializer.jar:/home/java/jboss-4.0.5/lib/endorsed/resolver.jar:/home/java/jboss-4.0.5/lib/endorsed/xercesImpl.jar:/home/java/jboss-4.0.5/lib/endorsed/xalan.jar:/home/java/jboss-4.0.5/lib/endorsed/xml-apis.jar:/home/java/jboss-4.0.5/lib/jboss-jmx.jar:/home/java/jboss-4.0.5/lib/concurrent.jar:/home/java/jboss-4.0.5/lib/log4j-boot.jar:/home/java/jboss-4.0.5/lib/jboss-common.jar:/home/java/jboss-4.0.5/lib/jboss-system.jar:/home/java/jboss-4.0.5/lib/jboss-xml-binding.jar:/home/java/jboss-4.0.5/lib/namespace.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/endorsed/serializer.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/endorsed/xml-apis.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/endorsed/resolver.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/endorsed/xercesImpl.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/endorsed/xalan.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/jboss-jmx.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/concurrent.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/log4j-boot.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/jboss-common.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/jboss-system.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/jboss-xml-binding.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580.class in /home/java/jboss-4.0.5/lib/namespace.jar
      org.jboss.system.server.NoAnnotationURLClassLoader could not find $Proxy580
      
      org.jboss.mx.loading.UnifiedClassLoader3 attempting to find $Proxy580
      org.jboss.mx.loading.UnifiedClassLoader3 using classpath /home/java/jboss-4.0.5/server/default/tmp/deploy/tmp57788EJBTest.jar:/home/java/jboss-4.0.5/server/default/tmp/aopdynclasses/ucl57789
      org.jboss.mx.loading.UnifiedClassLoader3 could not find $Proxy580.class in /home/java/jboss-4.0.5/server/default/tmp/deploy/tmp57788EJBTest.jar
      org.jboss.mx.loading.UnifiedClassLoader3 could not find $Proxy580.class in /home/java/jboss-4.0.5/server/default/tmp/aopdynclasses/ucl57789
      org.jboss.mx.loading.UnifiedClassLoader3 could not find $Proxy580
      
      15:00:16,815 ERROR [LogInterceptor] Unexpected Error in method: public abstract void ejbtest.EJBTest1.callEJBTest1() throws java.rmi.RemoteException
      java.lang.NoClassDefFoundError: $Proxy580
       at sun.reflect.GeneratedSerializationConstructorAccessor367.newInstance(Unknown Source)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
       at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:951)
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1723)