111 lines
6.9 KiB
HTML
111 lines
6.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
|
|
|
<title>Java properties of wsadmin</title>
|
|
</head>
|
|
|
|
<BODY>
|
|
<!-- Java sync-link -->
|
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
|
|
|
<h4><a name="wsajvprp"></a>Java properties of wsadmin</h4>
|
|
|
|
<p>The wsadmin scripting client uses the Java properties listed below. These properties are specified in the wsadmin.properties file, which is located in the /QIBM/UserData/WebASE/ASE5/<em>instance</em>/properties directory, where <em>instance</em> is the name of your instance.</p>
|
|
|
|
<p>You can also specify a properties file for wsadmin when you run the wsadmin script. There are three levels of default properies files that load before any properties file specified on the command line. These properties files load in the order that is shown below. Each properties file overrides settings from previously loaded files.</p>
|
|
<ol>
|
|
<li>The first level, located in the WebSphere Application Server - Express instance's properties directory is called wsadmin.properties. This file is located in the /QIBM/UserData/WebASE/ASE5/<em>instance</em> properties directory, where <em>instance</em> is the name of your application server instance.</li>
|
|
<li>The second level is in /home/QEJBSVR/wsadmin.properties. This file and the directories that contain it are not shipped with WebSphere Application Server - Express. You must create the directories and files, and assign appropriate authorities.</li>
|
|
<li>The third level is a file specified by the WSADMIN_PROPERTIES environment variable. This environment variable is defined in the environment where the wsadmin tool starts. Generally, this is the QShell session in which you run the wsadmin script. WebSphere Application Server - Express does not define this environment variable.</li>
|
|
<li>Lastly, properties specified on the command line are processed. This mean that command line properties override values specified in any of the properties files.</li>
|
|
</ol>
|
|
|
|
<p><strong>Note:</strong> Some of these properties have two default values.</p>
|
|
<ul>
|
|
<li><p><strong>iSeries default value</strong><br>
|
|
This value is set in the wsadmin.properties file when you create an instance. Values specified in this file override the wsadmin tool default.</p></li>
|
|
<li><p><strong>wsadmin tool default value</strong><br>
|
|
These values are hardcoded in the tool. If no other values are specified, the tool uses these default values.</p></li>
|
|
</ul>
|
|
|
|
<p>These are the Java properties contained in the wsadmin.properties file:</p>
|
|
|
|
<ul>
|
|
<li><p><strong>com.ibm.ws.scripting.connectionType</strong>
|
|
<br>This value determines the type of connection to use. Possible values are SOAP (Simple Object Access Protocal), RMI (Remote Method Invocation), or NONE. The iSeries default is SOAP.</p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.port</strong>
|
|
<br>This property specifies the port that the connector uses. The default value is the SOAP port for your instance.</p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scipting.host</strong>
|
|
<br>The host to which the scripting process attempts to connect. The default is localhost.</p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.defaultLang</strong>
|
|
<br>This property specifies the language to use when executing scripts. Jacl is the only supported language. If you specify the -f parameter, wsadmin checks to see if the file extension maps to a know value. For example, if the file name is test.jacl it will set the language to JACL. If the -f parameter is not specified or the file type is unknown, wsadmin generates an error.</p>
|
|
<ul>
|
|
<li>iSeries default value: jacl.</li>
|
|
<li>Tool default value: none</li>
|
|
</ul><p></p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.traceFile</strong>
|
|
<br>This property specifies the file to which the scripting process writes trace and logging information.</p>
|
|
<ul>
|
|
<li>iSeries default value: the wsadmin.traceout file in the /QIBM/UserData/WebASE/ASE5/<em>instance</em>/logs directory.</li>
|
|
<li>Tool default value: Print trace output to the display.</li>
|
|
</ul><p></p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.validationOutput</strong>
|
|
<br>This property specifies where validation reports are directed. If multiple users simultaneously administer an instance with wsadmin, it is recommended that you specify different validationOutput properties in user properties files.</p>
|
|
<ul>
|
|
<li>iSeries default value: The wsadmin.valout file in the /QIBM/UserData/WebASE/ASE5/<em>instance</em>/logs directory.</li>
|
|
<li>Tool default value: wsadmin.valout in the current directory.</li>
|
|
</ul><p></p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.traceString</strong>
|
|
<br>This property is used to turn on tracing for the scripting process. For example, use com.ibm.ws.scripting.*=all=enabled to turn on all tracing for the the scripting code. The default is to not use tracing.</p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.profiles</strong>
|
|
<br>The profiles property is a list of profiles that wsadmin runs before it runs user commands, scripts, or an interactive shell.</p>
|
|
<ul>
|
|
<li>The iSeries default value includes /QIBM/ProdData/WebASE/ASE5/bin/securityProcs.jacl and /QIBM/ProdData/WebASE/ASE5/bin/LTPA_LDAPSecurityProcs.jacl. These profile scripts make it easier to configure security.</li>
|
|
<li>Tool default value: none</li>
|
|
</ul><p></p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.emitWarningForCustomSecurityPolicy</strong>
|
|
<br>This property specifes whether message WASX7207W is emitted when custom permissions are found. The possible values are TRUE and FALSE.</p>
|
|
<ul>
|
|
<li>iSeries default value: none</li>
|
|
<li>Tool default value: TRUE</li>
|
|
</ul><p></p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.tempdir</strong>
|
|
<br>This property specifies the directory to use for temporary files when installing applications.</p>
|
|
<ul>
|
|
<li>iSeries default value: none</li>
|
|
<li>Tool default value: the value of Java system property java.io.tempdir</li>
|
|
</ul><p></p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.validationLevel</strong>
|
|
<br>This property specifies the level of validation to use when configuration changes are made from the scripting interface. Possible values are NONE, LOW, MEDIUM, HIGH, HIGHEST.</p>
|
|
<ul>
|
|
<li>iSeries default value: none</li>
|
|
<li>Tool default value: HIGHEST</li>
|
|
</ul><p></p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.crossDocumentValidationEnabled</strong>
|
|
<br>This property specifies whether the validation mechanism examines other documents when changes are made to one document. Possible values are TRUE and FALSE.</p>
|
|
<ul>
|
|
<li>iSeries default value: none</li>
|
|
<li>Tool default value: TRUE</li>
|
|
</ul><p></p></li>
|
|
|
|
<li><p><strong>com.ibm.ws.scripting.classpath</strong>
|
|
<br>The classpath property is appended to the list of paths to search for classes and resources. There is no default value for iSeries or the wsadmin tool.</p></li>
|
|
</ul>
|
|
|
|
</body>
|
|
</html>
|