Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-569

Archive for remote GF-3.1 should not be saved to disk prior to deployment

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: glassfish_1.0.0.CR1
    • Fix Version/s: glassfish_1.0.0.CR3
    • Component/s: GlassFish Containers
    • Labels:
      None
    • Environment:

      Ubuntu 11.04 x86, GlassFish Server Open Source Edition 3.1.1 (build 12)

      Description

      When I build the deployment archive, it is saved it /tmp/ARCHIVE_FILENAME (I'm running on GNU/Linux box) with chmod 444 (rrr-). If I run the glassfish server as a root or as the same user as the maven than there is no problem. But actually I run a Jenkins build task (user: jenkins) and run the server as another user (user: pedro).

      In such case, the Arquillian remote tests fail because the Glassfish cannot use the /tmp/ARCHIVE_FILENAME (permission denied). If you change the chmod and give others the write permission - it will work fine.

      Aslak suggested avoiding the FileDataBodyPart during deployment.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                PedroKowalski Piotr Nowicki
                Reporter:
                PedroKowalski Piotr Nowicki
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: