How to set timeout for CLI command execution in JBoss EAP?
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.