I'm using EJB 2.x. I have 2 machines, both of them on WebSphere 7.0. On each of them deployed different application. When I try from one application (on machine1) to call the EJB of the other application (on machine2), I am getting the following error:
java.rmi.MarshalException: CORBA MARSHAL 0x4942f999 No; nested exception is: org.omg.CORBA.MARSHAL: Profile data of length 0x3f400000 while reading IOR Profile vmcid: IBM minor code: 999 completed: No
Does anyone have idea how to solve this problem, cause I'm pretty much stuck on this issue. Thanx!
Edit:
For EJB call I used common approach:
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
props.put(Context.PROVIDER_URL, "iiop://remote.host.com:2809");
props.put(Context.SECURITY_PRINCIPAL, "remote_user");
props.put(Context.SECURITY_CREDENTIALS, "remote_pwd");
Context ctx = new InitialContext(props);
Object objRef = ctx.lookup("servicemanagerJndiName");
ServiceManagerHome home = (ServiceManagerHome) PortableRemoteObject.narrow(
objRef, ServiceManagerHome.class);
manager = home.create();
manager.getMethod();...
The thing is that this service call correctly inoked on remote server, and the response is sent, just on the client side, I am receiving following error:
And this is the error I receive[SoapConnectorThreadPool : 5] [] ERROR java.rmi.MarshalException: CORBA MARSHAL 0x4942f999 No; nested exception is: org.omg.CORBA.MARSHAL: Profile data of length 0x3f400000 while reading IOR Profile vmcid: IBM minor code: 999 completed: No at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:277) at javax.rmi.CORBA.Util.mapSystemException(Util.java:84) at com.host.local.manager._ServiceManager_Stub.getMethod(_ServiceManager_Stub.java):