wsadmin.sh environment

 

-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 wsadmin.sh. You can specify multiple profile options. They are executed in the order listed.

-p Specify scripting properties defined in a file.

  1. $WAS_ROOT/properties/wsadmin.properties
  2. $HOME/wsadmin.properties
  3. File pointed to by WSADMIN_PROPERTIES env variable

The properties files load in this order. The properties file loaded last takes precedence over the one loaded before it.

The properties files includes:

  • Connection type
  • Port and host used when attempting a connection
  • Location of trace and logging output
  • Temporary directory to use during application install
  • PATH information
-wsadmin_classpath Add class path information to the wsadmin class path.
-conntype Specify the type of connection between the scripting client and the server.
-javaoption Pass Java standard or non-standard options to start the scripting tool.