当前位置: 技术问答>java相关
ejb返回的时候甩出的怪Eception
来源: 互联网 发布时间:2015-10-21
本文导语: 我在方法A中调用某session ejb的一个方法B 方法最后return 的那一句抱如下Exception java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is: o...
我在方法A中调用某session ejb的一个方法B
方法最后return 的那一句抱如下Exception
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null minor code: 0 completed: No
java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null minor code: 0 completed: No
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null minor code: 0 completed: No
方法最后return 的那一句抱如下Exception
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null minor code: 0 completed: No
java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null minor code: 0 completed: No
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : null minor code: 0 completed: No
|
你看看你的返回值是标准RMI-IIOP类型吗?接口类型返回是要出错的!你的就象!