I want to return a serialized object from the server. My program works
fine returning the string "hello world" but, when I try to serialize
and object to a string and return the string I get the following
exception. There are no exceptions on the server side. The method on
the server completes successfully.
ERROR : org.omg.CORBA.DATA_CONVERSION: vmcid: OMG minor code: 1
completed: No
org.omg.CORBA.DATA_CONVERSION: vmcid: OMG minor code: 1 completed:
No
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at
com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:90)
at
com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
at
com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:314)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at
net.enterprise.server.service.idl._CCorbaServiceFactoryStub.getService(_CCorbaServiceFactoryStub.java:20)
at
net.enterprise.common.service.corba.CCorbaClient.getService(CCorbaClient.java:58)
at
net.enterprise.client.TestCobraService.main(TestCobraService.java:31)
thanks
-chris worley