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