The wsadmin scripting environment
The wsadmin tool allows you to manage and customize the scripting environment. Use these wsadmin command options to make temporary changes to the scripting environment:
-profile
The -profile option runs one or more script files after you start wsadmin. Profile files are wsadmin scripts that initialize variables and define functions for the standard commands that the wsadmin tool runs. You can specify multiple profile options. The profile scripts run in the order that they are specified.-p
Use this option to specify a properties file that defines settings for the scripting environment. The wsadmin tool loads the following levels of properties files:
- The properties in the /QIBM/UserData/WebAS5/edition/instance/properties/wsadmin.properties file, where edition is Base or ND, depending on which version of the product you are running, and instance is the name of your server instance.
- The properties in the /home/QEJBSVR/wsadmin.properties file.
- The properties indicated by the WSADMIN_PROPERTIES environment variable.
- Any properties files specified on the command line.
The properties files load in this order. The properties file loaded last takes precedence over the one loaded before it.
The properties files include specifications for the connection type, the port and host used for a connection, the location where trace and logging output are directed, the temporary directory to access files while installing applications and modules, and classpath information to append to the list of paths to search for classes and resources.
-wsadmin_classpath
Use this option to add classpath information to the wsadmin classpath.-conntype
Use this option to specify the type of connection between the scripting client and the server.-javaoption
In versions 5.0.2 and later, you can use this option to pass Java standard or non-standard options to start the scripting tool.