-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.1.3.Final, 1.1.5.Final
-
None
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):
..., -XX:OnOutOfMemoryError="kill -3 %p", ...
Actual:
..., -XX:OnOutOfMemoryError="kill, -3, %p", ...
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!