geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (GERONIMO-4201) Accessing admin console portlets that use DWR after restart giving error
Date Tue, 15 Jul 2008 18:05:31 GMT

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

Jarek Gawor resolved GERONIMO-4201.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.1.x)
                   2.1.2

This patch does not work with Jetty (that is, forwardContext.getRequestDispatcher() does not
return null). I changed the patch/code to lookup the ServletContext on each request. Committed
the changes to trunk (revision 676992) and branches/2.1 (revision 676993).


> Accessing admin console portlets that use DWR after restart giving error
> ------------------------------------------------------------------------
>
>                 Key: GERONIMO-4201
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4201
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 2.1, 2.1.1
>         Environment: All
>            Reporter: Manu T George
>            Assignee: Jarek Gawor
>             Fix For: 2.1.2, 2.2
>
>         Attachments: G4201_r673785.patch
>
>
> Restart one of the debug views portlet from the admin console and all dwr calls fail
> The exception is 
> 02:28:42,399 ERROR [[dwr-forward2]] Servlet.service() for servlet dwr-forward2 threw
exception
> java.lang.NullPointerException
>         at org.apache.geronimo.console.servlet.ContextForwardServlet.doPost(ContextForwardServlet.java:74)
>         at org.apache.geronimo.console.servlet.ContextForwardServlet.doGet(ContextForwardServlet.java:60)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>         at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:406)
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:595)

-- 
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