[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-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

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

2006-03-22 Thread Nibuzer
Hello everybody. I created an exception class InvalidDataException derived from Exception. This exception is thrown in an EJB session. In my servlet I wrote two catch blocks. The first one is : catch(InvalidDataException ex) and the second one is catch(Exception ex). The InvalidDataException

[JBoss-user] [JBoss Eclipse IDE (users)] - can not deploy *.ear

2006-02-21 Thread Nibuzer
Hello, I am using j2ee 1.4, eclipse 3.1.2, jboss ide 1.5, jboss AS 4.0.4RC1 I can not deploy a j2ee application with one servlet and one stateless session EJB. Here is the exceptions : 14:18:51,576 ERROR [MainDeployer] Could not initialise deployment: