java.rmi.UnmarshalException

Error unmarshaling return; nested exception is: java.lang.ClassNotFoundException: com.sun.enterprise.security.LoginException (no security manager: RMI class loader disabled)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web125

  • via Unknown by 392 Guest,
  • via Unknown by 843793,
  • Stack trace

    • java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.lang.ClassNotFoundException: com.sun.enterprise.security.LoginException (no security manager: RMI class loader disabled) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227) 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 sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:359) at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:297) at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:279) Caused by: java.lang.ClassNotFoundException: com.sun.enterprise.security.LoginException (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375) 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:1575) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:225)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,