aspose file tools*
The moose likes Tomcat and the fly likes Not able to catch Exception:java.lang.IllegalStateException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not able to catch Exception:java.lang.IllegalStateException" Watch "Not able to catch Exception:java.lang.IllegalStateException" New topic
Author

Not able to catch Exception:java.lang.IllegalStateException

Ramani Kadur
Greenhorn

Joined: Apr 25, 2011
Posts: 1

Hi,

I am trying to catch the IllegalStateExeption thrown by tomcat server, catch block is not executed after this exception thrown from tomcat server and also <error-page> in web.xml file also is not read by tomcat.

Any help on how to catch this exception:

Exception initializing page context.java.lang.IllegalStateException: createSession: Too many ac tive sessions..at org.apache.catalina.session.StandardManager.createSession(StandardManager.java:287)..
 
wood burning stoves
 
subject: Not able to catch Exception:java.lang.IllegalStateException