[arquillian-issues] [JBoss JIRA] (ARQ-1900) ManagedDeployableContainer tears apart javaVmArguments with quoted spaces
Falko M. (JIRA)
issues at jboss.org
Wed Jan 14 09:54:49 EST 2015
Falko M. created ARQ-1900:
-----------------------------
Summary: ManagedDeployableContainer tears apart javaVmArguments with quoted spaces
Key: ARQ-1900
URL: https://issues.jboss.org/browse/ARQ-1900
Project: Arquillian
Issue Type: Bug
Components: JBoss AS Containers
Affects Versions: 1.1.5.Final, 1.1.3.Final
Environment: Apache Maven 3.0.5
Java version: 1.7.0_72
Reporter: Falko M.
As of now you cannot use {{-XX:OnOutOfMemoryError="kill -3 %p"}} (or any other arguments that contains quoted spaces) in {{javaVmArguments}} of {{arquillian.xml}} because {{ManagedDeployableContainer}} uses whitespace characters as delimiters to determine the elements for the {{cmd}} list.
The argument from above ends up as *three* elements in the list instead of one.
Expected (list as string):
{noformat}..., -XX:OnOutOfMemoryError="kill -3 %p", ...{noformat}
Actual:
{noformat}..., -XX:OnOutOfMemoryError="kill, -3, %p", ...{noformat}
This only seems to happen on a linux system.
On on a windows machine, java seems to re-join the command and therefore the server starts properly!
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the arquillian-issues
mailing list