This content has been marked as final.
Show 3 replies
-
1. Re: exception isn't caught
tremalnaik Aug 12, 2005 12:30 PM (in response to tremalnaik)Debugging jboss code I see now that there is a moment in which the exception is embedded in a MBeanException. Is this useful to understand the cause of this strange behaviour?
thanks, -
2. Re: exception isn't caught
darranl Aug 12, 2005 1:43 PM (in response to tremalnaik)For JBoss 4.0.2 the classloading was changed so that web applications are isolated from other deployments.
http://wiki.jboss.org/wiki/Wiki.jsp?page=402UpgradeIssues
Have you packed your exception twice? Once in the war and once in the jar? If the exception is loaded by two classloaders it is likely that it will appear to be a different class which is why it is skipping the first catch. -
3. Re: exception isn't caught
tremalnaik Aug 13, 2005 6:01 AM (in response to tremalnaik)You made te right assumption, I deployed a JAR file for EJBs and a WAR file for Servlets and JSP. The exceptions package is included in both. Thanks very much for your help.