Geronimo
  1. Geronimo
  2. GERONIMO-5087 Use OSGi for the Geronimo classloading model.
  3. GERONIMO-4989

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

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0-M1
    • Component/s: Jetty, osgi, Tomcat
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

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

      I already did this for jetty.

        Activity

        Hide
        David Jencks added a comment -

        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)

        Show
        David Jencks added a comment - 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)
        Hide
        David Jencks added a comment -

        rev 892413 combine code to AbstractModuleBuilder that sets the modulePath

        Show
        David Jencks added a comment - rev 892413 combine code to AbstractModuleBuilder that sets the modulePath
        Hide
        Jarek Gawor added a comment -

        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.

        Show
        Jarek Gawor added a comment - 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.
        Hide
        Jarek Gawor added a comment -

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

        Show
        Jarek Gawor added a comment - Welcome pages were not quite working on Jetty. Committed a fix for that in revision 909266.
        Hide
        Jarek Gawor added a comment -

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

        Show
        Jarek Gawor added a comment - I believe majority (if not all) of the work for this item has been done and it appears to be working.

          People

          • Assignee:
            David Jencks
            Reporter:
            David Jencks
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development