[
https://issues.redhat.com/browse/JBTM-3283?page=com.atlassian.jira.plugin...
]
Ondrej Chaloupka commented on JBTM-3283:
----------------------------------------
I found that main trouble of the parsing `javaVmArguments` inside of the
`arquillian-throntail.xml` is the version of the thorntail. With reducing space it makes
the arquillian to start but the arguments could not be correctly passed to the runtime.
E.g. debug parameters were not working at all.
With changing to 2.6.0.Final the issue seems to be fixed. The parsing of the spaces are
fine now.
LRA TckRecoveryTests used with -Dit.test fails with
IllegalArgumentException: Cannot parse java VM arguments
------------------------------------------------------------------------------------------------------------
Key: JBTM-3283
URL:
https://issues.redhat.com/browse/JBTM-3283
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.10.4.Final
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
Priority: Major
When the LRA TCK is run with {{-Dit.test}} e.g. {{mvn clean verify -Parq
-Dit.test=TckRecoveryTests#testCancelWhenParticipantIsUnavailable}} then it fails with
{code}
ava.lang.RuntimeException: Could not create statement
Caused by: java.lang.RuntimeException: Could not lookup value for field private
java.net.URL org.eclipse.microprofile.lra.tck.TckRecoveryTests.deploymentURL
Caused by: java.lang.IllegalArgumentException: Cannot parse java VM arguments
-Dthorntail.http.host=localhost -Dthorntail.http.port=8180
-Dlra.tck.coordinator.hostname=localhost -Dlra.tck.coordinator.port=8080
-Dlra.http.host=localhost -Dlra.http.port=8080 -Dlra.tck.consistency.shortDelay=1000
-Dlra.tck.consistency.longDelay=20000
{code}
The trouble is that Arquillian (in particular it could be the Thorntail Arquillian
adapter) is not capable to parse multiple spaces in the VM args.
https://github.com/jbosstm/narayana/blob/5.10.4.Final/rts/lra/lra-test/lr...
Ie. in the stup there could happen to be resolved to
{code}
<property
name="javaVmArguments">{space}{space}{space}{space}-Dthorntail.http.host=localhost
...
{code}
Those multiple spaces seems to do some troubles
--
This message was sent by Atlassian Jira
(v7.13.8#713008)