tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achal Patel <patel.ac...@gmail.com>
Subject Http Session Null issue
Date Fri, 03 Jul 2009 13:25:58 GMT
Hi,

I am facing strange issue with Tomcat 6 Jsp deployment.
I have JSP pages deployed which internally performs operations and generates
XML response which will be parsed using XSL and then finally displayed on
the UI.
Now when I invoke JSP pages from UI, session is getting null between the
requests and this works perfectly fine on other Weblogic/Websphere App
servers.
We do use taglibs in xsl and JSPs.

JDK version : 1.5.13
Tomcat Ver: 6.0.18

This error is again random but comes frequently even for the same page 2
times out of 5 clicks.
Any help on this will be useful, thanks.

Posting the error message here for more info:

org.apache.jasper.JasperException: java.lang.NullPointerException
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)

	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*root cause*

java.lang.NullPointerException
	com.teradata.x2.context.Settings.getSettings(Settings.java:102)
	com.teradata.x2.context.ServletProcessContext.getSettings(ServletProcessContext.java:38)

	com.teradata.ui.web.common.HTMLComponent.getSettings(HTMLComponent.java:76)
	com.teradata.ui.web.common.StyleSheetLink.doInline(StyleSheetLink.java:237)
	com.teradata.ui.web.common.StyleSheetLink.prepareHTMLString(StyleSheetLink.java:170)

	com.teradata.ui.web.common.HTMLComponent.toHTMLString(HTMLComponent.java:91)
	com.teradata.ui.web.taglib.BodyTagBase.doEndTag(BodyTagBase.java:65)
	org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspx_meth_td_005fstylesheet_005f0(tableeditor_jsp.java:201)

	org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspService(tableeditor_jsp.java:99)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Regards,
Achal.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message