Details

    • Type: Task Task
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      145

      Description

      We use Rome within a webapp on Tomcat6 and the properties failed to be found due
      to the use of Thread.currentThread().getContextClassLoader().

      In my case the rome.jar is dynamically loaded so
      Thread.currentThread().getContextClassLoader() will not contain the
      classloader for rome.jar.

      The patch included fixes this so it always uses the classloader which the Rome
      jar was loaded by regardless of the classloader the current thread is using.

      Tested the patch outside of Tomcat in a regular simple app and that is fine.

      Also before patching, we tried enabling the fix made for OSGi support, but that
      was no good either in this situation.

        Activity

        Hide
        hovis added a comment -

        Created an attachment (id=45)
        Classloader fix for Tomcat webapp use

        Show
        hovis added a comment - Created an attachment (id=45) Classloader fix for Tomcat webapp use

          People

          • Assignee:
            rome-issues
            Reporter:
            hovis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: