Hi,
I recieve the following exception when I dont work on the sessioon for some time (about 5 min).
And ALL my jsp files in the application gives this same exception.
The problem automatically disappears when I restart Tomcat.
(But it is not a good idea to restart Tomcat each 5 min )
Error!
An error occurred in the application program. Please report the following problem to your webmaster.
Error message: 999: Application Error! Please contact the X-Application-Team.
Help message: Please send a copy of the stack trace and of the error page to the development team in order to solve this problem immediately.
Exception Type: ApplicationException
Stacktrace:
ApplicationException: 999: Application Error! Please contact the X-Application-Team.
java.lang.ClassCastException: com.softwareag.xtools.xapplication.jsp.ApplicationContext
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findApplicationContext(ServletSessionContext.java:165)
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findSessionContext(ServletSessionContext.java:95)
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findSessionContext(ServletSessionContext.java:70)
at com.softwareag.xtools.xapplication.jsp.JspTag.checkContext(JspTag.java:226)
at com.softwareag.xtools.xapplication.jsp.JspTag.doStartTag(JspTag.java:114)
at _0002fsearch_0002ejspsearch_jsp_5._jspService(_0002fsearch_0002ejspsearch_jsp_5.java:71)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
X-Application Version: 3.1.2
Tamino Version : 3.1.1
Platform : Win2k
WebContainer : Tomcat 3.3
JDK Version : 1.3.1