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 2009/12/18 00:40:18 UTC

[jira] Created: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
---------------------------------------------------------------------------------------------------

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


Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.

I already did this for jetty.

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


[jira] Resolved: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

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

Jarek Gawor resolved GERONIMO-4989.
-----------------------------------

    Resolution: Fixed

I believe majority (if not all) of the work for this item has been done and it appears to be working.



> Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4989
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4989
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: Jetty, osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.
> I already did this for jetty.

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


[jira] Commented: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

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

David Jencks commented on GERONIMO-4989:
----------------------------------------

rev 892413 combine code to AbstractModuleBuilder that sets the modulePath

> Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4989
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4989
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty, osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.
> I already did this for jetty.

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


[jira] Commented: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

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

Jarek Gawor commented on GERONIMO-4989:
---------------------------------------

Welcome pages were not quite working on Jetty. Committed a fix for that in revision 909266.


> Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4989
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4989
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: Jetty, osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.
> I already did this for jetty.

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


[jira] Updated: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

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

Rick McGuire updated GERONIMO-4989:
-----------------------------------

    Fix Version/s: 3.0-M1
                       (was: 3.0)

> Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4989
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4989
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: Jetty, osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0-M1
>
>
> Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.
> I already did this for jetty.

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


[jira] Commented: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

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

David Jencks commented on GERONIMO-4989:
----------------------------------------

Initial tomcat work in rev 892003.  Some more cleanup/review would probably be a good idea.  In particular the BundleDirContext.doGetAttributes method might allow a real implementation.

Also both module builders share code that could be moved to the parent class (cf. TomcatModuleBuilder line 355)

> Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4989
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4989
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty, osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.
> I already did this for jetty.

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


[jira] Closed: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

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

Rick McGuire closed GERONIMO-4989.
----------------------------------


> Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4989
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4989
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: Jetty, osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0-M1
>
>
> Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.
> I already did this for jetty.

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


[jira] Commented: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

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

Jarek Gawor commented on GERONIMO-4989:
---------------------------------------

Tomcat and Jetty will also need to support ServletContext.getResourcePaths().

Support for ServletContext.getResourcePaths() in Jetty was added in revision 905397 and for Tomcat in revision 905088.



> Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4989
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4989
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Jetty, osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.
> I already did this for jetty.

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


[jira] Updated: (GERONIMO-4989) Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location

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

Rick McGuire updated GERONIMO-4989:
-----------------------------------

    Issue Type: Sub-task  (was: Bug)
        Parent: GERONIMO-5087

> Jetty and tomcat need to support ServletContext.getResource from a bundle, not file system location
> ---------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4989
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4989
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: Jetty, osgi, Tomcat
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Both jetty and tomcat need to be fixed up so their implementations of ServletContext.getResource use bundle.getEntry.
> I already did this for jetty.

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