Most likely the lookup in init fails. Is there an exception before the NPE?
You could change the code in init to:
try
| {
| ...
| }
| catch(Exception e)
| {
| e.printStackTrace();
| throw new ServletException(e);
| }
This should prevent a servlet to become alive after a fault.
If a NamingException is the case, you should find the correct name using JNDIView in
JMX-Console.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000388#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...