Getting TransactionRequiredException when updating a record in the database

Solution Verified - Updated -

Issue

  • Getting this exception when updating a record in the database:

    DEBUG [org.jboss.soa.esb.listeners.message.ActionProcessingPipeline] Unexpected exception caught while processing the action pipeline: header: [  ]
    javax.persistence.TransactionRequiredException: no transaction is in progress
         at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:301)
         at XXXX.updateOrderRequestStatus(XXXX.java:192)
         at XXXX.process(XXXX.java:104)...
    
  • Customer is using a schedule-listener

Environment

  • JBoss SOA-P ESP
  • ESB Scheduler
  • JMS

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