Commons Logging
  1. Commons Logging
  2. LOGGING-126

Within Tomcat 5.x implementation, under Windows ONLY Commons-logging forbids hot deployment due to JAR locking

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.0.1, 1.0.3, 1.0.4, 1.1.0, 1.1.1
    • Fix Version/s: 1.1.2
    • Labels:
      None
    • Environment:

      Windows only

      Description

      To reproduce the problem:
      Create a WAR that contains a JAR that contains commons-logging.properties.
      Deploy this WAR to TOMCAT 5.x
      Try to redeploy it, it will fail

      This is due to the fact that LogFactory uses url.openStream to open this file , thus URLConnection will use an internal cache and this will provoke a lock on the file from Window.

      1. Patch.txt
        2 kB
        Philippe Mouawad

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Simon Kitching
            Reporter:
            Philippe Mouawad
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development