Running SwitchYard JUnit test case with the CDIMixIn runner tests throw a TransactionRequiredExeption

Solution Unverified - Updated -

Issue

  • While running the modified bean-service quickstart with a JUnit test case, which contains the CDIMixIn runner, the test throws a TransactionRequiredExeption .
  • But when run from within FSW 6.0.0 container, it works as expected.
  • Note that the test case includes a SwitchYard service which uses a CDI bean with JPA.
  • 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.

Current Customers and Partners

Log in for full access

Log In