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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content