• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to catch Exception:java.lang.IllegalStateException

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


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)..
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic