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 CORBA MARSHAL 0 Exception with second call of ejb-method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "CORBA MARSHAL 0 Exception with second call of ejb-method" Watch "CORBA MARSHAL 0 Exception with second call of ejb-method" New topic
Author

CORBA MARSHAL 0 Exception with second call of ejb-method

Rudolf Schmidt
Greenhorn

Joined: Sep 05, 2001
Posts: 10
Hi,
i got the following problem:
I have a Session Bean which has a method:
getDocument() { return new org.jdom.Document(new Element("test")); }
The method is accessed in a servlet which resides in the Websphere Test Environment (WTE) of Visual Age. The first Time getDocument() is called everything works fine, and the document is passed to the servlet. The second time (and all follow-ups..) the following exception is thrown:
CORBA MARSHAL 0 No; nested exception is: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Unable to read value from underlying bridge : Serializable readObject method failed internally minor code: 0 completed: No
If I restart the WTE, I can again make just one call, while the second leads to the exception.
Strange is, that everything works fine with the Testclient from wte. In the Testclint I can make multible calls to the Session Beans Method.
The JDOM API is fully serializable.
Help would be very appreciated
Rudolf Schmidt
webapp@gmx.de
 
IntelliJ Java IDE
 
subject: CORBA MARSHAL 0 Exception with second call of ejb-method
 
Threads others viewed
java.rmi.MarshalException
websphere MarshalException
PMI Server Exception :
Binary SOAP attachment using Websphere
problems with interface within EJB remote interface
developer file tools