You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Forrest Xia (JIRA)" <ji...@apache.org> on 2010/08/19 07:56:19 UTC
[jira] Created: (GERONIMO-5539) NPE error when visiting a defined
http connector
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
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.
[jira] Resolved: (GERONIMO-5539) NPE error when visiting a defined
http connector
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan resolved GERONIMO-5539.
----------------------------
Fix Version/s: 3.0
Resolution: Fixed
Commit changes to trunk At revision: 995364. Currently, it shows "HTTP Status 404 - No application present at the context root", it should be a reasonable message
> 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
> Assignee: Ivan
> Fix For: 3.0
>
> 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.
[jira] Assigned: (GERONIMO-5539) NPE error when visiting a defined
http connector
Posted by "Ivan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan reassigned GERONIMO-5539:
------------------------------
Assignee: Ivan
> 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
> Assignee: Ivan
> 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.
[jira] Updated: (GERONIMO-5539) NPE error when visiting a defined
http connector
Posted by "Forrest Xia (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Closed: (GERONIMO-5539) NPE error when visiting a defined
http connector
Posted by "Forrest Xia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-5539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia closed GERONIMO-5539.
---------------------------------
close it since it's fixed as Ivan described.
> 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
> Assignee: Ivan
> Fix For: 3.0
>
> 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.