EJB 查找抛出错误:org.omg.CORBA.MARSHAL:vmcid:SUN 次要代码:257 已完成:也许

发布于 2024-08-06 05:03:42 字数 686 浏览 1 评论 0原文

当我的应用程序使用远程接口进行 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

心在旅行 2024-08-13 05:03:42

这很可能是客户端和服务器之间的版本差异。例如,您重新编译了客户端代码和客户端的共享类,但它们与服务器上的相同类不同。

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.

污味仙女 2024-08-13 05:03:42

根据这篇文章,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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文