[
https://jira.jboss.org/browse/WELD-583?page=com.atlassian.jira.plugin.sys...
]
Aslak Knutsen commented on WELD-583:
------------------------------------
Unless you have forgotten to commit something..
The cause of the error is printed above the undeploy failure. It's missing
ejb-jar.xml:
Caused by: java.lang.IllegalArgumentException:
org/jboss/weld/tests/event/observer/transactional/ejb-jar.xml not found in classloader
sun.misc.Launcher$AppClassLoader@32f4a24a
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:44)
at
org.jboss.shrinkwrap.impl.base.asset.ClassLoaderAsset.<init>(ClassLoaderAsset.java:64)
at
org.jboss.shrinkwrap.impl.base.asset.ClassLoaderAsset.<init>(ClassLoaderAsset.java:48)
Removing addManifestResrouce ejb-jar.xml from the deployment makes it deploy, but
deployment fails with "unsatisfied dependencies" on injection point
PomeranianInterface. Adding Qualifier @Tame to the injection point results in two failing
tests:
- testTransactionalObserverNotifiedImmediatelyWhenNoTransactionInProgress
javax.ejb.EJBException: java.lang.IllegalStateException: No valid security context for
the caller identity
at
org.jboss.ejb3.tx2.impl.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:183)
at org.jboss.ejb3.tx2.impl.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:251)
- testBeforeTransactionCompletionObserver
javax.ejb.EJBException: Transaction failure
at
org.jboss.weld.tests.event.observer.transactional.DogAgent.sendInTransaction(DogAgent.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
see
http://github.com/aslakknutsen/core/tree/WELD-583
Transactional observer Arquillian tests will not deploy on JBoss AS
-------------------------------------------------------------------
Key: WELD-583
URL:
https://jira.jboss.org/browse/WELD-583
Project: Weld
Issue Type: Bug
Reporter: David Allen
Assignee: Aslak Knutsen
The test in org.jboss.weld.tests.event.observer.transactional.TransactionalObserversTest
does not deploy properly in JBoss AS and the actual cause of the problem is masked by
another error Arquillian makes during undeploy as a result of the exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira