org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe

Spring JIRA | Kapil Gupta | 1 decade ago
  1. 0

    Steps to recreate: 1) Declare a spring bean implementing an interface having method that takes primitive types as argument. 2) Use JndiRmiServiceExporter to bind it as RMI service with JNDI over iiop protocol. 3) Use JndiRmiProxyFactoryBean to lookup the bean from JNDI 4) Invoke a method that takes primitive types as arguments on the proxy object (Found from step 3) The Spring XML file contains following declarations: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <!-- Application context definition --> <beans> <bean id="DummyImpl" class="com.test.DummyImpl"></bean> <bean id="RMIServer" class="org.springframework.remoting.rmi.JndiRmiServiceExporter"> <property name="jndiName" value="DummyClient" /> <property name="service"> <ref bean="DummyImpl" /> </property> <property name="jndiTemplate"> <ref bean="jndiTemplate" /> </property> <property name="serviceInterface"> <value>com.test.Dummy</value> </property> </bean> <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate"> <property name="environment"> <props> <prop key="java.naming.factory.initial"> com.sun.jndi.cosnaming.CNCtxFactory </prop> <prop key="java.naming.provider.url"> iiop://localhost:2000 </prop> </props> </property> </bean> <bean id="DummyClient" class="org.springframework.remoting.rmi.JndiRmiProxyFactoryBean"> <property name="jndiTemplate"> <ref bean="jndiTemplate" /> </property> <property name="jndiName"> <value>DummyClient</value> </property> <property name="serviceInterface"> <value> com.test.Dummy </value> </property> </bean> </beans> Following exception occurs on calling the method: 12-Jun-2006 10:54:14 com.sun.corba.se.impl.encoding.CDRInputStream_1_0 readClass WARNING: "IOP00810213: (MARSHAL) Could not find class int in CDRInputStream.readClass" org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.cnfeReadClass(ORBUtilSystemException.java:6556) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1284) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989) at com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213) at com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221) at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922) at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187) at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417) Caused by: java.lang.ClassNotFoundException: int (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173) at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70) at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572) at javax.rmi.CORBA.Util.loadClass(Util.java:235) at com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536) at com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282) ... 26 more Exception in thread "main" org.springframework.remoting.RemoteConnectFailureException: Cannot connect to remote service [DummyClient]; nested exception is java.rmi.MarshalException: CORBA MARSHAL 1398079701 Maybe; nested exception is: org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.cnfeReadClass(ORBUtilSystemException.java:6556) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1284) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989) at com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213) at com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221) at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922) at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187) at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417) Caused by: java.lang.ClassNotFoundException: int (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173) at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70) at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572) at javax.rmi.CORBA.Util.loadClass(Util.java:235) at com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536) at com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282) ... 26 more ----------END server-side stack trace---------- vmcid: SUN minor code: 213 completed: Maybe java.rmi.MarshalException: CORBA MARSHAL 1398079701 Maybe; nested exception is: org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.cnfeReadClass(ORBUtilSystemException.java:6556) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1284) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989) at com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213) at com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221) at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922) at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187) at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417) Caused by: java.lang.ClassNotFoundException: int (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173) at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70) at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572) at javax.rmi.CORBA.Util.loadClass(Util.java:235) at com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536) at com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282) ... 26 more ----------END server-side stack trace---------- vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:197) at javax.rmi.CORBA.Util.mapSystemException(Util.java:67) at org.springframework.remoting.rmi._RmiInvocationHandler_Stub.invoke(Unknown Source) at org.springframework.remoting.rmi.JndiRmiClientInterceptor.doInvoke(JndiRmiClientInterceptor.java:391) at org.springframework.remoting.rmi.JndiRmiClientInterceptor.doInvoke(JndiRmiClientInterceptor.java:338) at org.springframework.remoting.rmi.JndiRmiClientInterceptor.invoke(JndiRmiClientInterceptor.java:262) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy0.setInt(Unknown Source) at com.test.MyMain.main(MyMain.java:17) Caused by: org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.cnfeReadClass(ORBUtilSystemException.java:6556) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1284) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989) at com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213) at com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221) at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922) at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187) at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417) Caused by: java.lang.ClassNotFoundException: int (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173) at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70) at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572) at javax.rmi.CORBA.Util.loadClass(Util.java:235) at com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536) at com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282) ... 26 more ----------END server-side stack trace---------- vmcid: SUN minor code: 213 completed: Maybe 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:494) at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902) at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572) at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430) at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326) at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129) at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457) ... 8 more

    Spring JIRA | 1 decade ago | Kapil Gupta
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe
  2. 0

    Steps to recreate: 1) Declare a spring bean implementing an interface having method that takes primitive types as argument. 2) Use JndiRmiServiceExporter to bind it as RMI service with JNDI over iiop protocol. 3) Use JndiRmiProxyFactoryBean to lookup the bean from JNDI 4) Invoke a method that takes primitive types as arguments on the proxy object (Found from step 3) The Spring XML file contains following declarations: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <!-- Application context definition --> <beans> <bean id="DummyImpl" class="com.test.DummyImpl"></bean> <bean id="RMIServer" class="org.springframework.remoting.rmi.JndiRmiServiceExporter"> <property name="jndiName" value="DummyClient" /> <property name="service"> <ref bean="DummyImpl" /> </property> <property name="jndiTemplate"> <ref bean="jndiTemplate" /> </property> <property name="serviceInterface"> <value>com.test.Dummy</value> </property> </bean> <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate"> <property name="environment"> <props> <prop key="java.naming.factory.initial"> com.sun.jndi.cosnaming.CNCtxFactory </prop> <prop key="java.naming.provider.url"> iiop://localhost:2000 </prop> </props> </property> </bean> <bean id="DummyClient" class="org.springframework.remoting.rmi.JndiRmiProxyFactoryBean"> <property name="jndiTemplate"> <ref bean="jndiTemplate" /> </property> <property name="jndiName"> <value>DummyClient</value> </property> <property name="serviceInterface"> <value> com.test.Dummy </value> </property> </bean> </beans> Following exception occurs on calling the method: 12-Jun-2006 10:54:14 com.sun.corba.se.impl.encoding.CDRInputStream_1_0 readClass WARNING: "IOP00810213: (MARSHAL) Could not find class int in CDRInputStream.readClass" org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.cnfeReadClass(ORBUtilSystemException.java:6556) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1284) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989) at com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213) at com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221) at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922) at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187) at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417) Caused by: java.lang.ClassNotFoundException: int (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173) at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70) at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572) at javax.rmi.CORBA.Util.loadClass(Util.java:235) at com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536) at com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282) ... 26 more Exception in thread "main" org.springframework.remoting.RemoteConnectFailureException: Cannot connect to remote service [DummyClient]; nested exception is java.rmi.MarshalException: CORBA MARSHAL 1398079701 Maybe; nested exception is: org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.cnfeReadClass(ORBUtilSystemException.java:6556) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1284) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989) at com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213) at com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221) at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922) at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187) at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417) Caused by: java.lang.ClassNotFoundException: int (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173) at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70) at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572) at javax.rmi.CORBA.Util.loadClass(Util.java:235) at com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536) at com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282) ... 26 more ----------END server-side stack trace---------- vmcid: SUN minor code: 213 completed: Maybe java.rmi.MarshalException: CORBA MARSHAL 1398079701 Maybe; nested exception is: org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.cnfeReadClass(ORBUtilSystemException.java:6556) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1284) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989) at com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213) at com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221) at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922) at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187) at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417) Caused by: java.lang.ClassNotFoundException: int (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173) at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70) at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572) at javax.rmi.CORBA.Util.loadClass(Util.java:235) at com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536) at com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282) ... 26 more ----------END server-side stack trace---------- vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:197) at javax.rmi.CORBA.Util.mapSystemException(Util.java:67) at org.springframework.remoting.rmi._RmiInvocationHandler_Stub.invoke(Unknown Source) at org.springframework.remoting.rmi.JndiRmiClientInterceptor.doInvoke(JndiRmiClientInterceptor.java:391) at org.springframework.remoting.rmi.JndiRmiClientInterceptor.doInvoke(JndiRmiClientInterceptor.java:338) at org.springframework.remoting.rmi.JndiRmiClientInterceptor.invoke(JndiRmiClientInterceptor.java:262) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy0.setInt(Unknown Source) at com.test.MyMain.main(MyMain.java:17) Caused by: org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe at com.sun.corba.se.impl.logging.ORBUtilSystemException.cnfeReadClass(ORBUtilSystemException.java:6556) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1284) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989) at com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213) at com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221) at com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327) at com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253) at org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637) at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922) at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451) at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187) at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417) Caused by: java.lang.ClassNotFoundException: int (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135) at com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173) at com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70) at com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572) at javax.rmi.CORBA.Util.loadClass(Util.java:235) at com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536) at com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121) at com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282) ... 26 more ----------END server-side stack trace---------- vmcid: SUN minor code: 213 completed: Maybe 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:494) at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902) at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99) at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572) at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430) at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326) at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129) at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457) ... 8 more

    Spring JIRA | 1 decade ago | Kapil Gupta
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 213 completed: Maybe
  3. 0

    Not able to modify the mbeans of WAS 6.1 using sun 5.x jre

    Google Groups | 9 years ago | misra Sachin
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 207 completed: No
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    EJB is not able to return Objects

    Google Groups | 9 years ago | Bhaskar
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211 completed: Maybe
  6. 0

    Marshall exception in invoking EJB's

    Google Groups | 9 years ago | Bhaskar
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 228 completed: Maybe

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      int (no security manager: RMI class loader disabled)

      at sun.rmi.server.LoaderHandler.loadClass()
    2. Java RT
      CDRInputStream.read_value
      1. sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
      2. sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
      3. java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
      4. java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:202)
      5. java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:135)
      6. com.sun.corba.se.impl.util.JDKBridge.loadClassM(JDKBridge.java:173)
      7. com.sun.corba.se.impl.util.JDKBridge.loadClass(JDKBridge.java:70)
      8. com.sun.corba.se.impl.javax.rmi.CORBA.Util.loadClass(Util.java:572)
      9. javax.rmi.CORBA.Util.loadClass(Util.java:235)
      10. com.sun.corba.se.impl.util.RepositoryId.getClassFromType(RepositoryId.java:536)
      11. com.sun.corba.se.impl.orbutil.RepIdDelegator.getClassFromType(RepIdDelegator.java:121)
      12. com.sun.corba.se.impl.encoding.CDRInputStream_1_0.readClass(CDRInputStream_1_0.java:1282)
      13. com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:995)
      14. com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253)
      15. com.sun.corba.se.impl.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:756)
      16. com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:325)
      17. com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293)
      18. com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034)
      19. com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253)
      20. com.sun.corba.se.impl.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1989)
      21. com.sun.corba.se.impl.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:2213)
      22. com.sun.corba.se.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1221)
      23. com.sun.corba.se.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400)
      24. com.sun.corba.se.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:327)
      25. com.sun.corba.se.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:293)
      26. com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034)
      27. com.sun.corba.se.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:253)
      27 frames
    3. Spring Context
      _RmiInvocationWrapper_Tie._invoke
      1. org.springframework.remoting.rmi._RmiInvocationWrapper_Tie._invoke(Unknown Source)
      1 frame
    4. Java RT
      ThreadPoolImpl$WorkerThread.run
      1. com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
      2. com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
      3. com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680)
      4. com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
      5. com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
      6. com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
      7. com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
      8. com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
      9. com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187)
      10. com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417)
      10 frames