Hi Team Tomee,
I have a very weird problem with arquillien tomee 7.0.x and "bigger" tests.
They fail with "unable to undeploy".
The test itself are completing successful (Added an output at the end of the
test). The tomee log is showing no abnormalities. No unexpected warnings or
errors.
But the Test fails with a Deployment Exception "unable to undeploy"
The hole configuration itself works on test of submodules.
Before digging in too deep, I have 2 qestions:
- Is it possible to ignore the error on undeployment.
- Is there a way to get a stacktrace of the undeployment error. Alle the
output i got can be found below and this doesn't help. i've looked in all
logs and don't see any information about undeployment problems.
Environment
- arquillian-bom 1.1.12.Final
- arquillian-tomee-remote 7.0.3
- a java ee project with multiple datasources.
Output:
INFORMATION:
RemoteInitialContextCreated{providerUri=http://localhost:8080/tomee/ejb}
Mai 26, 2017 1:01:32 PM org.apache.openejb.arquillian.common.TomEEContainer
undeploy
INFORMATION: cleaning
/tmp/arquillian-tomee-app-working-dir/0/receipt-persistence-test.war
Mai 26, 2017 1:01:32 PM org.apache.openejb.arquillian.common.TomEEContainer
undeploy
INFORMATION: cleaning
/tmp/arquillian-tomee-app-working-dir/0/receipt-persistence-test
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 66.647 s <<<
FAILURE! - in eu.ggnet.dwoss.receipt.itest.ScrapUnitOperationIT
eu.ggnet.dwoss.receipt.itest.ScrapUnitOperationIT Time elapsed: 5.851 s
<<< ERROR!
org.jboss.arquillian.container.spi.client.container.DeploymentException:
Unable to undeploy receipt-persistence-test.war
Caused by: org.apache.openejb.UndeployException: Failed undeploying
application:
id=/tmp/arquillian-tomee-app-working-dir/0/receipt-persistence-test
I could supply the hole project, to reproduce this.
Thanx,
Olli
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Arquillian-Tomee-7-0-3-Bigger-Test-fail-on-undeploy-tp4681765.html
Sent from the TomEE Users mailing list archive at Nabble.com.