java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]

karaf-user | Tom Leung | 3 years ago
  1. 0

    Fail to install activemq-broker on Karaf v3.0 with equinox

    karaf-user | 3 years ago | Tom Leung
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]
  2. 0

    Fail to install activemq-broker on Karaf v3.0 with equinox

    karaf-user | 3 years ago | Tom Leung
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]
  3. 0

    Hudson.sfbay While running continuous build on hudson, build is failing intermittently with an EOF exception as follows: " FATAL: Error unmarshaling return header; nested exception is: java.io.EOFException java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.EOFException at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:209) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142) at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source) at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2309) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) at org.jvnet.hudson.plugins.port_allocator.GlassFishJmxPortType$1GlassFishCleanUpTask.call(GlassFishJmxPortType.java:76) at org.jvnet.hudson.plugins.port_allocator.GlassFishJmxPortType$1GlassFishCleanUpTask.call(GlassFishJmxPortType.java:61) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:200) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:250) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195) ... 16 more " For reference , the job SQE-jsf-tests-V3 on hudson.sfbay can be viewed at http://hudson.sfbay.sun.com/view/SQE-Tests/job/SQE-jsf-tests-V3/ This build is set at 30 minute interval against a stable GFV3 build (Prelude build 28c). it is expected to be always blue or success. But it fails intermittently with the EOF exception as viewed above. This is an important exercise to assess the stability of Hudson while moving rest of SQE tests on Hudson.

    Jenkins JIRA | 8 years ago | sb110099
    java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.EOFException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Fail to install activemq-broker on Karaf v3.0 with equinox

    karaf-user | 3 years ago | Tom Leung
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]
  6. 0

    Fail to install activemq-broker on Karaf v3.0 with equinox

    karaf-user | 3 years ago | Tom Leung
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.rmi.UnmarshalException

      error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]

      at javax.management.remote.rmi.RMIConnector.connect()
    2. Java RT
      JMXConnectorFactory.connect
      1. javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:355)
      2. javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)[:1.6.0_27]
      2 frames
    3. AMQ Web
      RemoteJMXBrokerFacade.createConnection
      1. org.apache.activemq.web.RemoteJMXBrokerFacade.createConnection(RemoteJMXBrokerFacade.java:147)[157:org.apache.activemq.activemq-web-console:5.9.0]
      1 frame