How does EJB bean transaction timeout behave with sleep

Solution Unverified - Updated -

Issue

  • We are trying to understand what happens with EJB timeouts.

  • if we set a default timeout for the transaction subsystem does this control EJB timeouts?

  • If we have a Thread.sleep in an EJB that is longer than the default transaction timeout what would be the behaviour?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.