File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes UnmarshalException 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 "UnmarshalException" Watch "UnmarshalException" New topic


Steve Snodgrass

Joined: Jun 12, 2001
Posts: 27
I am attempting to have a Stateless Session EJB running on a Weblogic 6.1 managed server call a method on a Stateless Session EJB running on a Weblogic 6.1 Admin server (I know we probably should not run code there but that is a story for another post.) Both beans are deployed in EAR files. The managed EJB EAR contains the remote and home interfaces for the admin EJB in its JAR file.
Everything works fine until an application exception is thrown by the admin EJB at which point I get the following exception on the managed server:
Exception in <method_name> is java.rmi.UnmarshalException: Problem finding error class;
nested exception is:
java.lang.ClassNotFoundException: S3Exception: This error could indicate that a component was deployed on a cluster member but not other members of that cluster. Make sure that any component deployed on a server that is part of a cluster is also deployed on all other members of that cluster
The class is question (S3Exception) is contained in the managed EJB jar file and therefore should be loaded in the EJB classloader. I have noticed if I place the class in question (S3Exception) in the managed servers system classpath then this problem disappears however that is not an acceptable solution.
Any ideas as to how I fix this would be greatly appreciated.
I agree. Here's the link:
subject: UnmarshalException
It's not a secret anymore!