在将JNDI URL协议vom t3更改为iiop后,无法解组接口java.util.List

时间:2018-06-14 08:57:29

标签: java ejb weblogic

我们正在不同UNIX机器上 4个WLS节点上运行应用程序。

  • OS:Sun 5.10。
  • WLS:WebLogic Server 12.2.1.3.0
  • Java:jdk1.8.0_144

节点之间的大部分通信都是通过EJB完成的。 很长一段时间以来,我们已经使用T3协议设置了JNDI URLJNDI_URL=t3://xxxsixb10001:8001,xxxixb10002:8001

现在我们正在使用:

JNDI_URL=iiop://xxxsixb10001:8001,xxxixb10002:8001

由于我们在关闭单个节点时遇到了严重的负载平衡问题,因此Oracle通知我们将协议从T3切换到 IIOP

配置完所有4个节点后,我们在调用EJB请求时收到javax.ejb.EJBException

主要错误似乎是:

13.06.2018 15:28:17.368 [Admin Request 18] Thd#64 admin.login [APPLICATION_ERROR] oginUtils.getAllClients Wrapped Exception: javax.ejb.EJBException: failed to unmarshal interface java.util.List; nested exception is:    
             java.rmi.UnmarshalException: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: Failed to invoke readObject() on java.util.HashSet vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No
    exception.SystemException: Wrapped Exception: javax.ejb.EJBException: failed to unmarshal interface java.util.List; nested exception is:
             java.rmi.UnmarshalException: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: CORBA MARSHAL 0 No; nested exception is:
             org.omg.CORBA.MARSHAL: Failed to invoke readObject() on java.util.HashSet vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No vmcid: 0x0 minor code: 0 completed: No

0 个答案:

没有答案