[
https://issues.jboss.org/browse/JBTM-1957?page=com.atlassian.jira.plugin....
]
Ondřej Chaloupka commented on JBTM-1957:
----------------------------------------
After changing the protocol to Servlet 3.0 I've started to struggle with JBTM-1128 and
JBTM1217.
It seems that all of this was a problem with Arquillian. I've changed the artifact
arquilian container to 1.1.1.Final and it started to understand the jmx-as7 protocol (btw.
the dependency to deployment.arquillian-service is not needed anymore).
There was still a problem with IBM JDK and recovery tests. It seems that there could be
some timing issue or the IBM JDK works differently in java.net.Socket class as
controller.start receives exception from the ManagedDeployableContainer:
http://grepcode.com/file/repo1.maven.org/maven2/org.jboss.as/jboss-as-arq...
In fact the server is not started and
I did a (bit nasty) workaround which check reason of the exception and in case that the
server seems to be started it does not re-throw the arquillian LifeCycleException up.
https://github.com/ochaloup/narayana/commit/8026b5243e3cb207d48474998eb0d...
XTS crash recovery tests fail on IBM JDK
----------------------------------------
Key: JBTM-1957
URL:
https://issues.jboss.org/browse/JBTM-1957
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Testing
Affects Versions: 4.17.10
Reporter: Ondřej Chaloupka
Assignee: Ondřej Chaloupka
Priority: Minor
The XTS crash recovery tests fail on IBM JDK. This seem to be a problem of Arquillian
settings.
What I do:
- switch to IBM JDK (JAVA_HOME + PATH)
- export JBOSS_HOME=/home/ochaloup/jboss/jboss-eap-*
- cd XTS/localjunit/crash-recovery-tests
- mvn test -Pxts.integration.tests.profile -Parq
-Dtest=com.arjuna.qa.junit.TestATCrashDuringOnePhaseCommit
What I get - tests fail with error:
The server is already running! Managed containers do not support connecting to running
server instances due to the possible harmful effect of connecting to the wrong server.
Please stop server before running or change to another type of container.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira