Got UNKNOWN error, sending java.util.Calendar via IIOP
leesang Nov 3, 2005 7:42 PMHi,
I get java.rmi.RemoteException caused by org.omg.CORBA.UNKNOWN, as I send java.util.Calendar objects via IIOP to JBoss.
There is no error log in JBoss, while I get the following message in my IIOP client.
java.rmi.RemoteException: CORBA UNKNOWN 0 Maybe; nested exception is:
org.omg.CORBA.UNKNOWN: ----------BEGIN server-side stack trace----------
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: Maybe
at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:138)
at myGoogleServer._GoogleSearchPort_Stub.doGoogleSearch2(Unknown Source)
at myGoogleClient.Main.run(Main.java:151)
Caused by: org.omg.CORBA.UNKNOWN: ----------BEGIN server-side stack trace----------
----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: Maybe
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(Unknown Source)
at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
at org.jboss.proxy.ejb.DynamicIIOPStub.invoke(DynamicIIOPStub.java:113)
... 2 more
I am using JBoss 4.0.3SP1 and jdk1.5.0 for both JBoss and client.
The wire protocol capture reveals that JBoss replys like the following after it received a request message from the client, which contains a java.util.Calendar object.
GIOP.......X...............................0IDL:omg.org/CORBA/portable/UnknownException:1.0.........
Can anybody help me?
Thanks in advance.
Regards,
SangJeong Lee