4.4. Scripts
Several scripts come with the Enterprise Application Platform, and are visible in the Admin Console.
classpath.sh
- used to set the class path for server and client.jboss_init_hpux.sh
- sample initialization script for HP-UX systems.jboss_init_solaris.sh
- sample initialization script for Solaris systems.password_tool.sh
probe.sh
- used to discover EAP clusters.run.sh
- starts an instance of the Enterprise Application Platform. For usage, see the Getting Started Guide.shutdown.sh
- shuts down the Enterprise Application Platform instance.twiddle.sh
wsconsume.sh
- generates portable JAX-WS artifacts from a WSDL file.wsprovide.sh
- generates portable JAX-WS artifacts for an endpoint implementation.wsrunclient.sh
- builds correct classpath and libraries for JAX-WS web service client.wstools.sh
Only some of these scripts are useful to run from Admin Console, as they are command line tools. To run a script using the Admin Console, use the following procedure.
Procedure 4.16. Running a Script
Navigating to the script
- Navigate to the Scripts section in the Admin Console, Resources → Scripts.
- Click the script to be run.
- Click the 'Control' tab.
Running the script
- Click Execute Script.
- Enter in the appropriate parameters, if any, and click OK.
- When the script has finished running, the results are displayed.