Communication error when using the CLI :reload operation in EAP

Solution Verified - Updated -

Issue

  • Performing the below steps lead to a Communication error :
$JBOSS_HOME/bin/standalone.sh
$JBOSS_HOME/bin/jboss-cli.sh -c 
[standalone@localhost:9999 /] :reload

Below error is thrown:

The output is "Communication error: java.util.concurrent.ExecutionException: Operation failed: Operation failed: Channel closed"
  • When doing multiple :reload actions in jboss-cli.sh the management interface crashes. The number of :reload actions to reproduce the problem may vary.

  • Some of the CLI´s - I think some of those that need a reload - is failing with the following exception:

The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): Failed to perform operation: java.util.concurrent.CancellationException: Operation was cancelled

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