Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1964

The EarUnpackTest fails on win platforms due to file locking on the 'orange.jar'.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.5.2
    • Component/s: deployment
    • Labels:
      None
    • Environment:
      Win platforms, but possible silent failure on others.

      Description

      The EarUnpackTest fails on win platforms due to file locking on the 'orange.jar'.

      I understand the test to be.

      1. Deploy colors.ear which extracts to [apps]/colors/orange.jar

      2. Deploy colors.ear which extracts to [apps]/colors/yellow.jar - Here we detect an existing 'colors' directory and attempt to delete it before extracting (DeploymentLoader.java line 1614, JarExtractor.java line 85).

      I have checked in code which exposes the previously silent failure. The yellow.jar was simply deployed to the existing directory and the application is deployed with both jar files. The test assert fails because it only expects one jar in the app.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andyg Andy Gumbrecht
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: