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 Throwing 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 "Throwing UnmarshalException" Watch "Throwing UnmarshalException" New topic

Throwing UnmarshalException

Venkateswara Rao

Joined: Oct 20, 2001
Posts: 24
I have 2-tier Application. Web-Tier and J2EE-tier
Web-Tier -Apache WebServer
J2EE-tier -Bea Weblogic
When J2EE tier throwing an Exception , Web-tier side not able to catch that particular Exception and throwing UnmarshalException. All my Exception classes are serializable.
If i am using Weblogic server for both(Web and J2EE) then there is no problem.
Thanks and Regards
Venkateswara Rao
Vikalp Singh
Ranch Hand

Joined: Dec 29, 2002
Posts: 50
you will get this "UnmarshalException",
when some of the exception which you are getting are not serialized,
Catch that exception and top of that throw your serializable Exception.
I agree. Here's the link:
subject: Throwing UnmarshalException
It's not a secret anymore!