TXSeries can be administered with an web based user interface called the TXSeries Administration console.
The administration console is actually a web application hosted on a web server called the IBM Light Weight Infrastructure or the LWI.
The LWI is bundled along with TXSeries, pre-configured. You will find it in the <TXSeries_install_location>/wui directory.
The configuration settings for the LWI are located in the <TXSeries_install_location>/wui/conf directory. Particularly, 2 files are of interest - config.properties and logging.properties. Open these files in your editor to review the default settings. These files in the wui/conf directory are 'read only'. You may want to change the default parameters that is pre-configured for TXSeries administration. Override the settings by updating the files under the sub-directory - <TXseries_install_location>/wui/conf/overrides
For example, if you want to change the port on which LWI listens, look for the entry "com.ibm.pvc.webcontainer.port" in the <TXseries_install_location>/wui/conf/overrides/config.properties file.
It should be set to 80 by default. Change it to a suitable value and then restart the LWI using the <TXseries_install_location>/wui/bin/lwistop.sh and then <TXseries_install_location>/wui/bin/lwistart.sh.
Another setting is the "-console=false" option. In case you face failures in the startup of LWI.... change it to the value true, and as before, stop and start the LWI - You will see the messages in the console prompt itself.
The configurations related to logging are in the other property file, i.e the logging.properties.
Change the ".level=WARNING" to a different value to modify the logging level. The allowed values, as you would already have guessed are INFO, WARNING, ERROR, FINE, FINER, FINEST.
The logs related to LWI are created in the <TXSeries_install_location>/wui/logs directory.
To change the location where these log files are created, modify these properties in the logging.properties file
com.ibm.rcp.core.internal.logger.boot.RCPLogHandler.pattern - For the error-log*
com.ibm.rcp.core.internal.logger.boot.RCPTraceHandler.pattern - For the trace-log*
Note that you have to give a path relative to the logs directory, as the LWI runtime prefixes the entry with the absolute path. For example, com.ibm.rcp.core.internal.logger.boot.RCPLogHandler.pattern=../../../../../mnt/logs/error-log-%g
In my next topic i'll talk on the implementation of Web Services which uses the same LWI infrastructure.