Wsadmin properties file explained

ibm websphere

The wsadmin tool comes with a wsadmin properties file that can be used to configure certain runtime options. The file is called wsadmin.properties and is located in the <was_root>/properties folder. You will find the option com.ibm.ws.scripting. defaultLang=jacl, which means that wsadmin is set to use JACL by default and that is why we have been passing the command line option –jython to all of our scripts. By changing this property to com.ibm.ws.scripting.defaultLang=jython, wsadmin will use Jython as the default language instead.

 

All the wsadmin properties available in the wsadmin.properties file are listed in the following table:

com.ibm.ws.scripting.connectionType

• The connectionType determines what connector is used. It can be SOAP or RMI.The default is SOAP.

com.ibm.ws.scripting.port=8880

• The port property determines what port is used when attempting a connection. The default SOAP port for a singleserver installation is 8880.

com.ibm.ws.scripting.host=localhost

• The host property determines what host is used when attempting a connection.The default value is localhost.

com.ibm.ws.scripting.ipchost=localhost

• The ipchost property determines what host is used when attempting a connection with the IPC connector.Use the host name or IP address of the loopback adapter that the IPC connector is listening to, such as localhost, 127.0.0.1, or ::1.

• The default value is localhost.

 
com.ibm.ws.scripting.defaultLang=jacl

• The defaultLang property determines what scripting language to use. • Supported values are jacl and jython. The default value is jacl.

 

com.ibm.ws.scripting.echoparams=true

• The echoparams property determines whether parameters or arguments are output to STDOUT or to the wsadmin traceFile. The user has the ability to disable this property so as to not output parameters to STDOUT or to the wsadmin traceFile, for security purposes.

• The default value is true.

com.ibm.ws.scripting.traceFile=$(was.install.root)/logs/wsadmin.traceout

• The traceFile property determines where trace and logging output are directed. If more than one user will be using wsadmin simultaneously, different traceFile properties should be set in the user’s properties files.

• The default is that all tracing and logging goes to the console.

com.ibm.ws.scripting.validationOutput=

• The validationOutput property determines where validation reports are directed. If more than one user will be using wsadmin simultaneously, different validationOutput properties should be set in the users’properties files.

• The default is wsadmin.valout in the current directory.

com.ibm.ws.scripting.traceString=com.ibm.*=all=enabled

• The traceString property governs the trace in effect for the scripting client process.

• The default is no tracing.

com.ibm.ws.scripting.appendTrace=false

• The appendTrace property determines whether tracefile appends to the end of the existing log file. The user can disable the property to not append to the log file.

• The default value is false.

com.ibm.ws.scripting.profiles=$(was.install.root)/bin/securityProcs.jacl;$(was.install.root)/bin/LTPA_LDAPSecurityProcs.jacl

• The profiles property is a list of profiles to be run before running user commands, scripts, or an interactive shell.

• securityProcs is included here, by default, to make security configuration easier.

com.ibm.ws.scripting.emitWarningFor CustomSecurityPolicy=true

• The tempdir property determines what directory to use for temporary files when installing applications.

• The default is what the JVM decides—java.io.tmpdir.

com.ibm.ws.scripting.validationLevel=

• The validationLevel property determines what level of validation to use when configuration changes are made from the scripting interface.

• Possible values are: NONE, LOW, MEDIUM, HIGH, and HIGHEST.

• The default is HIGHEST.

com.ibm.ws.scripting.crossDocumentValidationEnabled=

• The crossDocumentValidation Enabled property determines whether the validation mechanism examines other documents when changes are made to one document.

• Possible values are: true, false.

• The default is true.

#com.ibm.ws.scripting.classpath=

• The classpath property is appended to the list of paths to search for classes and resources.

• There is no default value.

 

In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

1 Response

  1. Ram says:

    Thanks a lot man.. I was looking for the below value in WAS 7.0 wsadmin properties.
    “com.ibm.ws.scripting.appendTrace” your website helped me to find the info I am looking for.
    I added that property to WAS7 properties file.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.