Is there a method to execute the next command ignoring a previous error in JBoss CLI?

Solution Unverified - Updated -

Issue

  • I am useing JBoss CLI command file to ececute some commands. However, if one of command fails, next command cannot execute continually.
  • I have a batch file of JBoss CLI, but I don't want it to exit when one of the commands failed.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6.2

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