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 Sub-task
    • Status: Closed
    • Priority: Major 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

        David Jencks created issue -
        Hide
        David Jencks added a comment -

        Geronimo "fix" in GeronimoStandardContext in rev 892401.

        Show
        David Jencks added a comment - Geronimo "fix" in GeronimoStandardContext in rev 892401.
        Hide
        David Jencks added a comment -
        Show
        David Jencks added a comment - Tomcat issue here; https://issues.apache.org/bugzilla/show_bug.cgi?id=48414
        Hide
        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
        David Jencks added a comment - The tomcat devs don't seem very interested in fixing this. We can reopen if they change their minds.
        David Jencks made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Rick McGuire made changes -
        Component/s osgi [ 12313090 ]
        Component/s Tomcat [ 11397 ]
        Rick McGuire made changes -
        Parent GERONIMO-5087 [ 12454965 ]
        Issue Type Bug [ 1 ] Sub-task [ 7 ]
        Rick McGuire made changes -
        Fix Version/s 3.0-M1 [ 12315090 ]
        Fix Version/s 3.0 [ 12314206 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development