How do I pass arguments into an EDS AdminShell script?

Solution Verified - Updated -

Issue

  • How do you pass a parameter in the command line ?
  • parameters not recognized by AdminShell (e.g. adminshell.sh load myscript.groovy param1)
  • args[0] reference not interpreted by AdminShell

Environment

  • JBoss Enterprise Data Services (EDS) 5.3.0
  • AdminShell

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.