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 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.