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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.7.0
    • 4.5.2
    • deployment
    • None
    • 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

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

            Dates

              Created:
              Updated: