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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • glassfish_1.0.0.CR3
    • glassfish_1.0.0.CR1
    • GlassFish Containers
    • None
    • Ubuntu 11.04 x86, GlassFish Server Open Source Edition 3.1.1 (build 12)

      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.

              PedroKowalski Piotr Nowicki (Inactive)
              PedroKowalski Piotr Nowicki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: