Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UnmarshalException

 
Steve Snodgrass
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
Thanks...
Steve
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic