File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes IOP00810257: (MARSHAL) Could not load class <Class Name> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "IOP00810257: (MARSHAL) Could not load class <Class Name>" Watch "IOP00810257: (MARSHAL) Could not load class <Class Name>" New topic
Author

IOP00810257: (MARSHAL) Could not load class <Class Name>

Bhavin B Parekh
Greenhorn

Joined: Mar 19, 2008
Posts: 8
Hi,

When I try to invokestateless session EJB's remote method by passing list of objects, I get this "IOP00810257: (MARSHAL) Could not load class" exception. When that list is empty the remote method gets invoked without any problem. If the list holds any object, it gives the following problem while invoking:

Here is the stack trace,

"IOP00810257: (MARSHAL) Could not load class com.hex.tthl.document.bean.DocumentBean"
org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:9684)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:9699)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1042)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:896)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:890)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:880)
at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface(CDRInputStream.java:511)
at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:386)
at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:547)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
at java.util.ArrayList.readObject(ArrayList.java:591)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1679)
at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1202)
at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:422)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:362)
at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:328)
at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(CDRInputStream_1_0.java:966)

Any help would be greatly appreciated.

Thanks.
Bhavin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IOP00810257: (MARSHAL) Could not load class <Class Name>
 
Similar Threads
Not accessing ejb remote interface when use hibernate jpa 2 provider
WARNING: "IOP00810257: (MARSHAL) Could not load class ultimatesoft.Main$1"
several ears, GF3, EJB 3 and JPA
EJb3 Glassfish and Netbeans help with entity being passed to remote method
EJB3.0, mySQL, Queries & Entity Beans?