CLI script hangs on disconnect() call

Solution Verified - Updated -

Issue

  • We're using jboss-cli-client.jar for a custom CLI client script. Even in this simple case, it hangs on the disconnect call:
import org.jboss.as.cli.scriptsupport.*

cli = CLI.newInstance()
cli.connect()
cli.disconnect()

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.1.0 and earlier

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