no protocol: and

openejb-dev | Jacek Laskowski | 1 decade ago
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Some tests are failing because of a way surefire handles CLASSPATH with spaces. These entries are not normalized and RMIClassLoader barfs. According to, during the serialization (MarshalledObject.get) an object is annotated with information that's necessary for deserialization. Upon closer look, during debugging session, I've noticed that java.rmi.server.RMIClassLoader is provided with the value of null for codebase parameter in Maven1 while codebase is set to the entire test classpath in M2. Since it contains entires separated with spaces, any directory with spaces is divided inappropriately leading to the above exception. See See*one*-test-in-the-kernel-module-p3028412.html According to Dain's comment in the first See, a solution would be to register an RMI ClassLoader (e.g. org.xbean.rmi.RMIClassLoaderSpiImpl) which should be done at jvm startup. Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.547 sec <<< FAILURE! testHomeInterface(org.openejb.deployment.slsb.StatelessClientContainerTest) Time elapsed: 0.015 sec <<< ERROR! no protocol: and at<init>( at<init>( at<init>( at sun.rmi.server.LoaderHandler.pathToURLs( at sun.rmi.server.LoaderHandler.loadClass( at java.rmi.server.RMIClassLoader$2.loadClass( at java.rmi.server.RMIClassLoader.loadClass( at sun.rmi.server.MarshalInputStream.resolveClass( at at at at at at java.rmi.MarshalledObject.get( at org.openejb.proxy.SerializationHandler.copyObj( at org.openejb.proxy.EJBMethodInterceptor.copyReturnToSourceCL( at org.openejb.proxy.EJBMethodInterceptor.intercept( at org.openejb.proxy.SessionEJBHome$$EnhancerByCGLIB$$9a416c9f.create(<generated>) at org.openejb.deployment.slsb.StatelessClientContainerTest.testHomeInterface(

    Apache's JIRA Issue Tracker | 1 decade ago | Jacek Laskowski no protocol: and
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis


      no protocol: and

    2. Java RT
      4. sun.rmi.server.LoaderHandler.pathToURLs(
      5. sun.rmi.server.LoaderHandler.loadClass(
      6. java.rmi.server.RMIClassLoader$2.loadClass(
      7. java.rmi.server.RMIClassLoader.loadClass(
      8. sun.rmi.server.MarshalInputStream.resolveClass(
      14. java.rmi.MarshalledObject.get(
      14 frames
    3. OpenEJB :: Server :: Client
      1. org.openejb.client.ThrowableArtifactTest.marshal(
      2. org.openejb.client.ThrowableArtifactTest.testThrowableArtifact(
      2 frames