[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: can not catch exception thrown by EJB in a servlet

2006-03-26 Thread Nibuzer
Hello, I fix my problem. I included the class InvalidDataException in the *.war and in the *.jar so there were 2 definitions of InvalidDataException. Thats why my exception was not catched. Bye View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932743#3932743

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: can not catch exception thrown by EJB in a servlet

2006-03-25 Thread [EMAIL PROTECTED]
Start here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932595#3932595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932595

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: can not catch exception thrown by EJB in a servlet

2006-03-23 Thread Nibuzer
I find out that if the servlet's classloader and the invalidDataException's classloader are the same, the servlet catch the exception without any problem. But if the classloaders are different the exception will not be catched... Any idea about the classloader? Thank you View the original