tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52009] NPE exception in org.apache.catalina.connector.CoyoteAdapter.service
Date Wed, 12 Oct 2011 03:18:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52009

--- Comment #3 from viola.lu <viola.lu@gmail.com> 2011-10-12 03:18:05 UTC ---
Hi, Konstantin:

 Errors were generated when tomcat start. I just directly put it before tomcat
start, so it failed when start tomcat. You can start tomcat, and then put it in
webapp folder to recreate it. 

I already sent you the application in gmail, which is so large to attache here.

I tried to debug it, but failed to get request.

May i can add a println to get request in this tomcat code.

Full log, but i can't get any hints from this log, is there log level option i
can change, so ii can get more details?
2011-10-11 15:52:19 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive QuoteStreamerApp.war
2011-10-11 15:52:20 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
2011-10-11 15:52:20 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
2011-10-11 15:52:20 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
2011-10-11 15:52:20 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
2011-10-11 15:52:20 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
2011-10-11 15:52:20 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
2011-10-11 15:52:20 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
2011-10-11 15:52:20 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8888"]
2011-10-11 15:52:20 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3328 ms
2011-10-11 15:53:01 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/QuoteStreamerApp]
2011-10-11 15:53:11 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive QuoteStreamerApp.war
2011-10-11 15:53:52 com.ibm.websphere.webmsg.quotestreamer.AppInit init
INFO: DataSimulator successfully created and set and started.
2011-10-11 15:54:01 com.ibm.webmsg.example.StockServlet setProperties
INFO: Configured properties for quote streamer requests.
2011-10-11 15:54:02 com.ibm.webmsg.example.StockServlet registerURL
INFO: Registered the URL for comet requests.
2011-10-11 15:54:02 org.apache.coyote.http11.AbstractHttp11Processor process
SEVERE: Error processing request
java.lang.NullPointerException
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:970)
    at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
    at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1550)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
2011-10-11 15:54:02 org.apache.coyote.http11.AbstractHttp11Processor process
SEVERE: Error processing request
java.lang.NullPointerException
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:970)
    at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
    at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1550)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
2011-10-11 15:54:04 org.apache.coyote.http11.AbstractHttp11Processor process
SEVERE: Error processing request
java.lang.NullPointerException
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:970)
    at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
    at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1550)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
2011-10-11 15:54:04 org.apache.coyote.http11.AbstractHttp11Processor process
SEVERE: Error processing request
java.lang.NullPointerException
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:970)
    at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
    at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1550)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
2011-10-11 15:54:07 org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
2011-10-11 15:54:08 org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
2011-10-11 15:54:08 org.apache.coyote.http11.AbstractHttp11Processor process
SEVERE: Error processing request
java.lang.NullPointerException
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
    at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:970)
    at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
    at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1550)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
2011-10-11 15:54:09 org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-nio-8888"]
2011-10-11 15:54:10 org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [ActiveMQConnection[ID:IBM-R86F1CF-2194-1318319631890-0:1]
Scheduler] but has failed to stop it. This is very likely to create a memory
leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [ActiveMQ Transport: tcp://localhost/127.0.0.1:61616] but has
failed to stop it. This is very likely to create a memory leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [InactivityMonitor ReadCheck] but has failed to stop it. This is
very likely to create a memory leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [InactivityMonitor WriteCheck] but has failed to stop it. This is
very likely to create a memory leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [Timer-0] but has failed to stop it. This is very likely to create
a memory leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [ActiveMQConnection[ID:IBM-R86F1CF-2194-1318319631890-0:2]
Scheduler] but has failed to stop it. This is very likely to create a memory
leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [ActiveMQ Transport: tcp://localhost/127.0.0.1:61616] but has
failed to stop it. This is very likely to create a memory leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [Thread-18] but has failed to stop it. This is very likely to
create a memory leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [ActiveMQ Session Task] but has failed to stop it. This is very
likely to create a memory leak.
2011-10-11 15:54:10 org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/QuoteStreamerApp] appears to have started a
thread named [ActiveMQ Session Task] but has failed to stop it. This is very
likely to create a memory leak.
2011-10-11 15:54:10 org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8080"]
2011-10-11 15:54:10 org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
2011-10-11 15:54:10 org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-nio-8888"]
2011-10-11 15:54:10 org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-8080"]
2011-10-11 15:54:10 org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["ajp-bio-8009"]
2011-10-11 15:54:10 org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-nio-8888"]

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message