This content has been marked as final.
Show 4 replies
-
1. Re: isolate war - don't inherit anything
ctomc Sep 3, 2012 4:39 AM (in response to qtm)hi,
you are missing few
add javax.transaction.api and this problem will probably go away...
--
tomaz
-
2. Re: isolate war - don't inherit anything
qtm Sep 3, 2012 6:06 AM (in response to ctomc)Hi,
Adding javax.transaction.api doesn't solve the problem, I'm still getting the same exception. The war I'm deploying is not included in an ear, it's just a simple war.
Regards
-
3. Re: isolate war - don't inherit anything
jaikiran Sep 4, 2012 5:38 AM (in response to qtm)Please post the entire exception stacktrace and your latest jboss-deployment-structure.xml file.
-
4. Re: isolate war - don't inherit anything
qtm Sep 5, 2012 4:26 AM (in response to qtm)Hi,
I've found out why it wasn't working - I had a bundle that needed javax.persistence.api for Hibernate which brought the modules that I didn't want. The exception was
Caused by: java.lang.ClassCastException: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate cannot be cast to javax.transaction.TransactionManager .
Thanks for your help