You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/03/10 02:34:09 UTC

[jira] Created: (GERONIMO-2949) ServletRequestListener is called outside the jndi context scope setting

ServletRequestListener is called outside the jndi context scope setting
-----------------------------------------------------------------------

                 Key: GERONIMO-2949
                 URL: https://issues.apache.org/jira/browse/GERONIMO-2949
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Jetty
    Affects Versions: 2.0-M3
            Reporter: David Jencks
         Assigned To: David Jencks
             Fix For: 2.0-beta1


ServletRequestListener is called in ContextHandler directly, before going through our interceptor stack that sets the jndi context.  So looking stuff up doesn't work.  Injection does work because that is done by our code.  I'm not sure how to fix this... maybe we can take over the request listeners.

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


[jira] Closed: (GERONIMO-2949) ServletRequestListener is called outside the jndi context scope setting

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed GERONIMO-2949.
----------------------------------

    Resolution: Fixed

Fixed in rev 520756 after some fixes in jetty.  Following a suggestion from Greg and Jan I wrapped the ContextHandler (WebAppContext) with the jndi handler.

> ServletRequestListener is called outside the jndi context scope setting
> -----------------------------------------------------------------------
>
>                 Key: GERONIMO-2949
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2949
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 2.0-M3
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 2.0-beta1
>
>
> ServletRequestListener is called in ContextHandler directly, before going through our interceptor stack that sets the jndi context.  So looking stuff up doesn't work.  Injection does work because that is done by our code.  I'm not sure how to fix this... maybe we can take over the request listeners.

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