Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0, 1.0.1, 1.0.3, 1.0.4, 1.1.0, 1.1.1
    • 1.1.2
    • None
    • 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.

      Attachments

        1. Patch.txt
          2 kB
          Philippe Mouawad

        Activity

          People

            skitching Simon Kitching
            pmouawad Philippe Mouawad
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: