> From: Mikasch, Fares (EXT-IBM - DE/Berlin) > [mailto:fares.mikasch....@nsn.com] > Subject: UndeclaredThrowableException as a result of false ClassLoading > > Short description of the use case: > - User fills form with some wrong information > - tomcat sends (RMI call) to another server
Let's get the terminology right: it's your webapp doing this, not Tomcat. Tomcat has no knowledge of or involvement with outbound connections that your webapp attempts. > - tomcat _sometimes_ wraps the ValidationException with > UndeclaredThrowableException No, Tomcat doesn't. There is no usage of UndeclaredThrowableException within Tomcat. > In the case where the ValidationException is wrapped by the > UndeclaredThrowableException, the WebappClassLoader instance of the > current thread and the instance of the WebappClassLoader of the caught > (and wrapped) ValidationException are different. Are you sure they are instances of *Tomcat's* WebappClassLoader? Note that Axis uses its own classloading mechanism, and you may well be stumbling into a problem with that. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org