tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "eurotrans-Verlag" <>
Subject RE: NPE at StandardWrapperValve.invoke() in Tomcat 7.0.16
Date Thu, 07 Jul 2011 17:08:56 GMT
Hi Pid,

> -----Original Message-----
> From: Pid []
> Sent: Thursday, July 07, 2011 6:19 PM
> What is the request for and is the config of your Tomcat instance
> modified from the original download - if so, what has changed (config
> etc)?
> p

I don't know which request triggered that NPE. I guess it was on the first
request after deploying the webapp, all following requests worked fine. I
got that NPE 2 times, both times it appeared ca. 3 seconds after deploying
the webapp.
After I restarted Tomcat, the NPE didn't appear anymore.

My Tomcat config has the following changes compared to the original:
- Ports of the HTTP and AJP connector are changed
- I use the "URIEncoding" attribute on both the HTTP and AJP connector, like
  <Connector port="8019" protocol="AJP/1.3" redirectPort="8743"
URIEncoding="UTF-8" />
- I declared the CrawlerSessionManagerValve at Engine level in server.xml:
  <Valve className="org.apache.catalina.valves.CrawlerSessionManagerValve"/>
- I have several virual hosts declared in server.xml like this:
  <Host name="the_name"  appBase="some_directory" unpackWARs="true"
  (the web application on which the error occurred was deployed to one of
the virtual hosts).
- I don't have any AccessLogValve declared.
- I disabled session persistence by adding <Manager pathname="" /> in

I am using the ISAPI Redirector 1.2.32 with IIS 7.0 on Windows Server 2008
(32 bit), with Sun Java 1.6.0_26, and I'm using the Tomcat Native library
1.2.20. All requests to the webapps go through the ISAPI redirector.

It seems to me that originally another Exception occurred, but has been
suppressed by that NPE when Tomcat tried to log it.

Thanks for your answers.

Konstantin Prei├čer

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message