[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: can not catch exception thrown by EJB in a servlet
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 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932743 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: can not catch exception thrown by EJB in a servlet
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 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: can not catch exception thrown by EJB in a servlet
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 post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932085#3932085 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932085 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user