Hi!

I have 5 servers with the following configuration:
    Windows Server 2008 R2 64-bit,
    Oracle JDK 1.7.0_11-b21 64-bit,
    Tomcat 7.0.35 running as a service.
A few webapps are running perfectly well under the Tomcat until one of
them is reloaded.

Reload of a webapp (either by pressing [reload] on manager page or by
changing web.xml file) makes Tomcat extremely unstable.
The first (pre-production) server sporadically fails with absolutely
no traces in log files or Windows event logs: does not accept
connections, responds with HTTP 404 or does not respond at all.
Other 4 (production) servers also become unstable but in a different
manner - a lot of HTTP 500 responses (logs are also clean). Plus on
some of these servers I have a lot (less than HTTP 500 responses
though) of NPEs:
-------------
SEVERE: Exception Processing /path/here
java.lang.NullPointerException
        at 
org.apache.catalina.core.StandardWrapper.servletSecurityAnnotationScan(StandardWrapper.java:1216)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:461)
        at 
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:305)
        at 
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:83)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
        at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at 
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
-------------
These exception occurs for any webapp, not only the one being reloaded.

All the above happens irregularly, quite often on the pre-production
server, only once on production servers. Tomcat service restart fixes
the problem. Updating Tomcat to 7.0.37 did not help.
I cannot reproduce this on any of developers hosts with the same
versions of JDK and Tomcat.

Any ideas?


Thanks a lot in advance,
Kirill

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to