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 2010/09/01 01:26:57 UTC

[jira] Created: (GERONIMO-5567) jetty servlet/filter gbeans but direct listener creation not compatible with servlet 3 startup order

jetty servlet/filter gbeans but direct listener creation not compatible with servlet 3 startup order
----------------------------------------------------------------------------------------------------

                 Key: GERONIMO-5567
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5567
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Jetty
    Affects Versions: 3.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 3.0


Programatic addition of servlets and filters needs to happen after the web.xml stuff is processed because some operations such as servletRegistration.addServletMapping() must do nothing if there is an existing mapping in the list.

we could make the listeners gbeans or put all the web.xml info in the web app gbean.  The latter would probably work for tomcat too, we'd just do the servletCOntext registration stuff directly.

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


[jira] Commented: (GERONIMO-5567) jetty servlet/filter gbeans but direct listener creation not compatible with servlet 3 startup order

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906628#action_12906628 ] 

David Jencks commented on GERONIMO-5567:
----------------------------------------

rev 993185 rewrites the jetty integration to use the *Registration interfaces and an openejb-like info tree.  This allows code to easily do stuff in any required order.  I haven't removed the old code yet.

> jetty servlet/filter gbeans but direct listener creation not compatible with servlet 3 startup order
> ----------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5567
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5567
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Programatic addition of servlets and filters needs to happen after the web.xml stuff is processed because some operations such as servletRegistration.addServletMapping() must do nothing if there is an existing mapping in the list.
> we could make the listeners gbeans or put all the web.xml info in the web app gbean.  The latter would probably work for tomcat too, we'd just do the servletCOntext registration stuff directly.

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


[jira] Commented: (GERONIMO-5567) jetty servlet/filter gbeans but direct listener creation not compatible with servlet 3 startup order

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904858#action_12904858 ] 

Ivan commented on GERONIMO-5567:
--------------------------------

I have considered to serialize the web.xml info in the gbean, but seems that those jaxb class are not serializable.

> jetty servlet/filter gbeans but direct listener creation not compatible with servlet 3 startup order
> ----------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5567
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5567
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Programatic addition of servlets and filters needs to happen after the web.xml stuff is processed because some operations such as servletRegistration.addServletMapping() must do nothing if there is an existing mapping in the list.
> we could make the listeners gbeans or put all the web.xml info in the web app gbean.  The latter would probably work for tomcat too, we'd just do the servletCOntext registration stuff directly.

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