geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-5539) NPE error when visiting a defined http connector
Date Thu, 19 Aug 2010 05:58:16 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Forrest Xia updated GERONIMO-5539:
----------------------------------

    Attachment: app-per-port-tomcat-3.0-SNAPSHOT.car

The built plugin for reproducing the problem.

> NPE error when visiting a defined http connector
> ------------------------------------------------
>
>                 Key: GERONIMO-5539
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5539
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects Versions: 3.0
>         Environment: ubuntu 8.04 x86-32
> sun jdk 1.6.0_20
>            Reporter: Forrest Xia
>         Attachments: app-per-port-tomcat-3.0-SNAPSHOT.car
>
>
> Steps:
> 1. Check out geronimo samples trunk code, build it and ensure app-per-port tomcat plugin
is generated in the local maven repository
> 2. start geronimo 3.0 snapshot server
> 3. Install the app-per-port tomcat plugin from admin console
> 4. After installation succeed, open a browser to visit the custom http connector at http://localhost:8090/
> 5. Check geronimo.out for console output
> An NPE thrown out like this:
> ERROR [CoyoteAdapter] An exception or error occurred in the container during the request
processing
> java.lang.NullPointerException
> 	at org.apache.catalina.connector.Request.getServletContext(Request.java:1541)
> 	at org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:594)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:398)
> 	at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:404)
> 	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:366)
> 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1543)
> 	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:241)
> 	at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:371)
> 	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:619)
> To install app-per-port sample plugin, alternatively you can use server command line
interface like this:
>  $ <g_home>/bin/deploy install-plugin app-per-port-tomcat-3.0-SNAPSHOT.car

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message