Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
-
None
-
None
-
None
-
2017-Jan-B
Description
This is the jta/user-transaction module of the Java EE 7 Samples. The test checks that the UserTransaction object can be @Inject-ed via CDI and looked up from JNDI from java:comp/UserTransaction. Both tests pass on WildFly, but the JNDI one fails with Swarm.
I don't know where the problem is, but I doubt that Swarm would break JNDI in this way. I would suspect the Swarm Arquillian container, but that's probably just a red herring.
Steps to reproduce:
# install Swarm with Arquillian fraction autodetection support git clone -b javaee7-samples-testing https://github.com/Ladicek/wildfly-swarm.git cd wildfly-swarm mvn clean install -DskipTests # set up the Java EE 7 Samples project cd .. git clone -b wildfly-swarm https://github.com/Ladicek/javaee7-samples.git cd javaee7-samples mvn clean install -DskipTests # run the test cd jta/user-transaction mvn clean test -fae -Pwildfly-managed-arquillian # with WildFly mvn clean test -fae -Pwildfly-swarm-arquillian # with Swarm
Attachments
Issue Links
- relates to
-
THORN-1403 submit fixes for SWARM-979/SWARM-980 to Java EE 7 Samples for consideration
-
- Closed
-