Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5087 Use OSGi for the Geronimo classloading model.
  3. GERONIMO-4992

Tomcat StandardContext use of Class.forName(className) doesn't work well in osgi

    Details

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

      Description

      Tomcat 7's StandardContext.createWrapper() method uses a lot of Class.forName(fooName). This doesn't work for us since some of the listeners are in the geronimo-tomcat7 bundle, not tomcat itself.

      Using the InstanceManager works fine for us. I've overridden the method in GeronimoStandardContext. We should talk to tomcat about fixing this in tomcat itslef.

        Activity

        Hide
        djencks David Jencks added a comment -

        The tomcat devs don't seem very interested in fixing this. We can reopen if they change their minds.

        Show
        djencks David Jencks added a comment - The tomcat devs don't seem very interested in fixing this. We can reopen if they change their minds.
        Hide
        djencks David Jencks added a comment -
        Show
        djencks David Jencks added a comment - Tomcat issue here; https://issues.apache.org/bugzilla/show_bug.cgi?id=48414
        Hide
        djencks David Jencks added a comment -

        Geronimo "fix" in GeronimoStandardContext in rev 892401.

        Show
        djencks David Jencks added a comment - Geronimo "fix" in GeronimoStandardContext in rev 892401.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development