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

Fix for multiple JVM arguments not released

    XMLWordPrintable

Details

    • 1

    Description

      Hello,

      expected output

      Process started with (from Debug):
      FINER: Starting server with command: [java, -Dsetting1=x, -Dsetting2=y, -javaagent:lib/bootstrap-agent.jar, -jar, lib/ws-launch.jar, defaultServer]

      actual output

      note the missing comma betweed setting1 and setting2:
      FINER: Starting server with command: [java, -Dsetting1=x -Dsetting2=y, -javaagent:lib/bootstrap-agent.jar, -jar, lib/ws-launch.jar, defaultServer]

      Solution

      Already exists. This commit is currently not in a release:
      https://github.com/arquillian/arquillian-container-was/commit/a1a77fe92418f49943a97a57a4dd1ff7ebc2bd25#diff-957685487719c29ce4c464fc2ec9cf39

      What can't be seen from here: this commit is needed to have multiple JVM args. Otherwise all jvm args are concatenated into a single String.

      So, the bug is fixed in trunk, but not released.

      Proposed test case

      It is also missing a test case.
      Please add a test case with two or more -D-Parameters and check in your servlet if they are set.

      Thank you very much!

      Attachments

        Activity

          People

            gpoul_jira Gerhard Poul (Inactive)
            bmarwell_jira Benjamin Marwell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: