wsadmin scripting environment

wsadmin environment settings can be made using the following options:

-profile

Run one or more script files after you start the scripting tool.

Profile files are wsadmin scripts that initialize variables and define functions for the mainline scripts executed with the wsadmin tool. One can specify multiple profile options. They are executed in the order listed.

-p

Use this option to specify scripting properties defined in a file.

Edit one or more properties files to make more persistent alterations to the scripting environment. The wsadmin tool loads the following levels of properties files:

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 when attempting a connection, the location where trace and logging output are directed, the temporary directory to access files while installing applications and modules, class path information to append to the list of paths to search for classes and resources, and so on.

-wsadmin_classpath

Add class path information to the wsadmin class path.

-conntype

Specify the type of connection between wsadmin.sh and the server.

-javaoption

Pass Java standard or non-standard options to start the scripting tool.


wsadmin traces
Tracing operations with the wsadmin tool
Profiles and scripting
Properties used by scripted administration
JMX connectors
Security and scripting
Scripting management examples with wsadmin
wsadmin tool performance tips

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.