EJB 查找抛出错误:org.omg.CORBA.MARSHAL:vmcid:SUN 次要代码:257 已完成:也许
当我的应用程序使用远程接口进行 EJB 查找时,出现以下异常。它工作得很好,但在最近的构建中发生了一些变化,导致了它的崩溃。
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)
When my application does EJB lookup using remote interface, I get following exception. It was working fine and in recently build something has changed which broke 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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这很可能是客户端和服务器之间的版本差异。例如,您重新编译了客户端代码和客户端的共享类,但它们与服务器上的相同类不同。
Most likely this is a version discrepancy between the client and the server. For example, you recompiled the client code and the shared classes for the client, but they differ from the same classes on the server.
根据这篇文章,MARSHAL/SUN/257 表示“无法找到类”。显然,当它从 CORBA 消息中读取值类型并且找不到实现类时,就会发生这种情况。
According to this article, MARSHAL/SUN/257 means "could not find class". Apparently, this happens when it reads a value type from a CORBA message and can't find an implementation class.