How to set timeout for CLI command execution in JBoss EAP?

Solution Verified - Updated -

Issue

When JVM stay in problem, like out of memory error, CLI command never return the result. How can we configure timeout exception per command on CLI?
- deploy command takes logger than expected, in this situation command fails with exception

[standalone@localhost:9990 /] deploy /web/sample/applications/DemoApplication.war
Timeout exception for deploy /web/sample/applications/DemoApplication.war: java.util.concurrent.TimeoutException

Is there a way we can increase command timeout ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

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