Running SwitchYard JUnit test case with the CDIMixIn runner tests throw a TransactionRequiredExeption
Issue
- While running the modified
bean-servicequickstart with a JUnit test case, which contains theCDIMixInrunner, the test throws aTransactionRequiredExeption. - But when run from within
FSW 6.0.0container, it works as expected. - Note that the test case includes a
SwitchYard servicewhich uses aCDI beanwithJPA. - How to solve this issue?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.x
- JBoss Developer Studio (JBDS)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
