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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.