How to set connection-timeout for CLI connection in JBoss EAP?

Solution Verified - Updated -

Issue

  • How to set connection-timeout for CLI connection?
  • Is there a way to set the connection-timeout in xml file of jboss-CLI?
  • CLI interface non-responsive after inactive for a day.
  • When trying to connect from jboss-cli.sh to the server it says the next error:
The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0023: Could not connect to remote+http://localhost:9990. The connection timed out: WFLYPRT0023: Could not connect to remote+http://localhost:9990. The connection timed out

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