EJB lookup throws an error: org.omg.CORBA.MARSHAL: vmcid: minor SUN code: 257 completed: possible

When my application searches for EJB using the remote interface, I get the following exception. It worked perfectly, and recently, something has changed that has broken it.


java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested exception is:
        org.omg.CORBA.MARSHAL:   vmcid: SUN  minor code: 257 completed: Maybe
        at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:279)
        at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
        at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
        at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)

+3
source share
2 answers

Most likely, this is a version mismatch between the client and server. For example, you recompiled the client code and general classes for the client, but they are different from the same classes on the server.

+4
source

, MARSHAL/SUN/257 " ". -, , CORBA .

+4

Source: https://habr.com/ru/post/1719052/


All Articles