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