Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7814

xml-commons resolver does not handle Windows paths properly

XMLWordPrintable

    • Icon: Support Patch Support Patch
    • Resolution: Done
    • Icon: Major Major
    • One Off Releases
    • EAP_EWP 5.1.2
    • Other
    • None
    • Hide
      PATCH NAME:
              JBPAPP-7800
      PRODUCT NAME:
              JBoss Enterprise Application Platform
      VERSION:
              5.1.2
      SHORT DESCRIPTION:
              Apache XML-commons Resolver fixed to correctly convert Windows file paths to URLs.
      LONG DESCRIPTION:
              Prior to this fix, Apache XML-commons Resolver incorrectly converted file paths to URLs by pre-pending with "file://". That is incorrect, and does not work on Windows. The problem did not manifest on EAP 5.1.1 and earlier due to a bug elsewhere that was fixed in EAP 5.1.2. This patch fixes the resolver code to correctly convert to a URL via File.toURI().toURL()
      MANUAL INSTALL INSTRUCTIONS:
              Back up $JBOSS_HOME/lib/endorsed/resolver.jar
              Copy the new resolver.jar to $JBOSS_HOME/lib/endorsed
      COMPATIBILITY:
              EAP 5.1.2
      DEPENDENCIES:
              None
      SUPERSEDES:
              None
      SUPERSEDED BY:
              EAP 5.1.3
      CREATOR:
              James Livingston
      DATE:
              December 22, 2011
      Show
      PATCH NAME:          JBPAPP-7800 PRODUCT NAME:         JBoss Enterprise Application Platform VERSION:         5.1.2 SHORT DESCRIPTION:         Apache XML-commons Resolver fixed to correctly convert Windows file paths to URLs. LONG DESCRIPTION:         Prior to this fix, Apache XML-commons Resolver incorrectly converted file paths to URLs by pre-pending with "file://". That is incorrect, and does not work on Windows. The problem did not manifest on EAP 5.1.1 and earlier due to a bug elsewhere that was fixed in EAP 5.1.2. This patch fixes the resolver code to correctly convert to a URL via File.toURI().toURL() MANUAL INSTALL INSTRUCTIONS:         Back up $JBOSS_HOME/lib/endorsed/resolver.jar         Copy the new resolver.jar to $JBOSS_HOME/lib/endorsed COMPATIBILITY:         EAP 5.1.2 DEPENDENCIES:         None SUPERSEDES:         None SUPERSEDED BY:         EAP 5.1.3 CREATOR:         James Livingston DATE:         December 22, 2011
    • NEW

      1. JBPAPP-7814-signed.tgz
        57 kB
        Takayoshi Kimura

          jbn-patch-team JBN Patch Team list
          rhn-support-jlivings James Livingston (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: