Creating a datasource using CLI try-catch-finally control flow in EAP6.1.0

Solution Unverified - Updated -

Issue

  • How to use CLI try-catch-finally control flow block?

  • Is it possible to create a fresh datasource, if the creation of new datasource throws exception due to already existing duplicate dataSource using the CLI try-catch-finally flow control?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.1.0

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