-
Bug
-
Resolution: Done
-
Major
-
4.2.0.GA_CP04, 4.3.0.GA_CP02
-
None
-
Any platfom, e.g. RHEL4-x86_64 SUN JDK 1.5
These 3 test cases fail in the JBoss AS testsuite:
org.jboss.test.jrmp.test.DynLoadingFromSARUnitTestCase
org.jboss.test.jrmp.test.DynLoadingFromSARUnpackedUnitTestCase
org.jboss.test.jrmp.test.DynLoadingUnitTestCase
The main problem is always the same - ClassNotFoundException: org.jboss.test.jrmp.ejb.AString.
This is the error message for org.jboss.test.jrmp.test.DynLoadingFromSARUnitTestCase:
javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.test.jrmp.ejb.AString]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:786)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.test.jrmp.test.DynLoadingFromSARUnitTestCase.testAccess(DynLoadingFromSARUnitTestCase.java:55)
Caused by: java.lang.ClassNotFoundException: org.jboss.test.jrmp.ejb.AString
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:430)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710)
... 18 more
It fails when it's trying to loop up the class bound by org.jboss.test.jrmp.mbean.JRMPDLTest which is deployed by the testcase.
When I run these test cases against the previous EAP version (i.e. 4.3.0.GA_CP01) they pass normally.