Hi !
I've been struggling the whole day to fix the following problems ( this is the first bean I've ever deployed !) :
*** SimulatorProcess executing ***
*** EJBOperation.execute ***
*** got the home handle ***
*** bean created....{O_P=[ejb, irn, arf], C_O_I=2}
java.rmi.MarshalException: CORBA COMM_FAILURE 0x4942f306 Maybe; nested exception is:
org.omg.CORBA.COMM_FAILURE: purge_calls:1186 minor code: 4942F306 completed: Maybe
org.omg.CORBA.COMM_FAILURE: purge_calls:1186 minor code: 4942F306 completed: Maybe
at com.ibm.rmi.iiop.Connection.purge_calls(Connection.java:1185)
at com.ibm.rmi.iiop.Connection.doReaderWorkOnce(Connection.java:2356)
at com.ibm.rmi.transport.ReaderThread.run(ReaderPoolImpl.java:138)
Code that looks up and executes the business method :
( this code is a standalone app launched from WSAD launch client )
---------------------------
Object homeObject = initConx.lookup(jndiName);
LinkReceiverSimulatorHome simBeanHome = (LinkReceiverSimulatorHome)
javax.rmi.PortableRemoteObject.narrow(homeObject, LinkReceiverSimulatorHome.class);
System.out.println(" *** got the home handle ***");
LinkReceiverSimulator receiverBean = simBeanHome.create(); System.out.println(" *** bean created...." + context );
OperationParameter oParams[] = new OperationParameter[operationParameter.size()];
oParams = (OperationParameter[])operationParameter.toArray(oParams);
receiverBean.executeOperations(oParams,contextClone); //!!!
System.out.println(" *** business method completed ");
---------------------------
Please help !!!
Here are my observations :
* 2 args are passed to executeOperations() . The first arg is the one that is causing the MarshalException. This was originally and ArrayList which I changed to object array instead.
Discussions
EJB programming & troubleshooting: MarshalException while using WSAD - WebSphere...help !!
-
MarshalException while using WSAD - WebSphere...help !! (1 messages)
- Posted by: Shantanu Upadhyaya
- Posted on: May 07 2004 08:12 EDT
Threaded Messages (1)
- Serializable by Thomas Huesler on May 14 2004 02:33 EDT
-
Serializable[ Go to top ]
- Posted by: Thomas Huesler
- Posted on: May 14 2004 02:33 EDT
- in response to Shantanu Upadhyaya
Did you make sure that all classes passed are serializable (also all contained objects to have to be serializable)... Make sure this is done
Second: Did you re-generate stubs / skeleton asf before deploying?