求教EJB ClassCastException问题

ken_henderson 2006-01-08 03:15:49
请问这种情况是怎么回事,在本地没问题,在两台机器上用EJB就有问题

Trace from server: 1771041267 at host 133.9.2.21 >>
java.lang.ClassCastException: com.test.services.routingservice.routerule.Rule
at com.ibm.rmi.iiop.CDROutputStream.fast_write_abstract_interface(CDROutputStream.java:1201)
at com.ibm.rmi.io.IIOPOutputStream.writeObjectDelegate(IIOPOutputStream.java:155)
at com.ibm.rmi.io.IIOPOutputStream.writeObjectOverride(IIOPOutputStream.java:178)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:286)
at java.util.ArrayList.writeObject(ArrayList.java:533)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.rmi.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:836)
at com.ibm.rmi.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:872)
at com.ibm.rmi.io.IIOPOutputStream.writeSerializable(IIOPOutputStream.java:920)
at com.ibm.rmi.io.IIOPOutputStream.simpleWriteObjectInternal(IIOPOutputStream.java:382)
at com.ibm.rmi.io.IIOPOutputStream.simpleWriteObjectLoop(IIOPOutputStream.java:410)
at com.ibm.rmi.io.IIOPOutputStream.writeObjectDelegate(IIOPOutputStream.java:167)
at com.ibm.rmi.io.IIOPOutputStream.writeObjectOverride(IIOPOutputStream.java:178)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:286)
at java.util.Hashtable.writeObject(Hashtable.java:776)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.rmi.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:836)
at com.ibm.rmi.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:872)
at com.ibm.rmi.io.IIOPOutputStream.writeSerializable(IIOPOutputStream.java:920)
at com.ibm.rmi.io.IIOPOutputStream.simpleWriteObjectInternal(IIOPOutputStream.java:382)
at com.ibm.rmi.io.IIOPOutputStream.simpleWriteObjectLoop(IIOPOutputStream.java:410)
at com.ibm.rmi.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:467)
at com.ibm.rmi.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:154)
at com.ibm.rmi.iiop.CDROutputStream.write_value(CDROutputStream.java:1223)
at com.ibm.rmi.iiop.CDROutputStream.write_value(CDROutputStream.java:1245)
at com.ibm.rmi.iiop.CDROutputStream.write_value(CDROutputStream.java:1205)
at com.test.services.adapters._EJSRemoteStatelessEJBAdapter_5a1670cf_Tie.processServiceRequest(_EJSRemoteStatelessEJBAdapter_5a1670cf_Tie.java:174)
at com.test.services.adapters._EJSRemoteStatelessEJBAdapter_5a1670cf_Tie._invoke(_EJSRemoteStatelessEJBAdapter_5a1670cf_Tie.java:103)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:615)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:468)
at com.ibm.rmi.iiop.ORB.process(ORB.java:396)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1608)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2164)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
<< END server: 1771041267 at host 133.9.2.21
...全文
95 点赞 收藏 2
写回复
2 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
akins 2006-01-11
对呀,还有防火墙的问题
回复
yeshucheng 2006-01-08
不知道你用的中间件服务器是什么?
可能问题还是在你的properties上:)
回复
发帖
Java EE
创建于2007-09-28

6.6w+

社区成员

J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
申请成为版主
帖子事件
创建了帖子
2006-01-08 03:15
社区公告
暂无公告