Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to catch Exception:java.lang.IllegalStateException

 
Ramani Kadur
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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)..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic