I have an EJB (EJB 2x) on a remote server. I have a stubs file which I use on my client to access the EJB methods.
My client runs on another host. It used to run under exactly the same server as the EJB it calls. But now I've deployed the client to a server from a different vendor and calling the EJB methods now throws a CORBA exception.
Does having the EJB stub file guarantee a successful access to EJB methods from any server? If there can be any limitations, what they could be?
I tried to debug the exception but it occurs somewhere inside the CORBA transport which is yoko for my particular client, and I was not able to get any meaningful info.
The stacktrace I have:
org.omg.CORBA.portable.UnknownException: originalEx: org.omg.CORBA.MARSHAL: encountered null wchar in wstring: vmcid: Apache minor code: 0x15 completed: No: vmcid: 0x0 minor code: 0x0 completed: Maybe
at org.apache.yoko.rmi.impl.ValueDescriptor.readSerializable(ValueDescriptor.java:747)
at org.apache.yoko.rmi.impl.ValueDescriptor.readValue(ValueDescriptor.java:726)
at org.apache.yoko.rmi.impl.ValueDescriptor.readValue(ValueDescriptor.java:584)
at org.apache.yoko.rmi.impl.ValueHandlerImpl.readValue0(ValueHandlerImpl.java:114)