Installing the Sun Java System Web Server BTM extension
To install the Java Web Server BTM extension
This procedure requires you to open the files magnus.conf and obj.conf. Locate these files (possible locations are indicated):
- Windows: C:\sun\WebServer6.1\https-servername\config
- UNIX: /opt/SUNWwbsvr/https-servername/config
Open magnus.conf in the Sun Java System Web Server installation in a text editor and add the following anywhere in the file:
- Windows: Init fn="load-modules" shlib="c:/path/to/btmsunwbsvr.dll" btmGroup="servername" MQS_HOME="/path/to/QPLog.ini"
- UNIX: Init fn="load-modules" shlib="/path/to/btmsunwbsvr.so" btmGroup="servername" MQS_HOME="/path/to/QPLog.ini"
where:
btmGroup is the name of the server instance you are monitoring. If you have more than one web server running on a given server, each must have a unique value. If you want to have more than one activity implementation for the same web server, each activity implementation would have the same value. In such a case, we suggest using the web server's port.
The btmGroup matches the Group values specified on the activity implementation dialog box. The deprecated name QnamiName can be specified but make sure you use the deprecated filter names when doing so. Support for the deprecated names might be removed in a future release; change existing installations to the non-deprecated values as soon as possible.
The MQS_HOME portion is optional in both cases. The MQS_HOME system environment variable must be defined as the directory containing QPLog.ini. Do not include the QPLog.ini file name in that path. Save the file.- Open obj.conf in the Sun Java System Web Server installation in a text editor and add the following to the default object section:
Windows and UNIX:
Input fn=insert-filter filter="btm-input"
Output fn=insert-filter filter="btm-output"
The name of the input filter is btm-request. The deprecated name qnami-request must be used when QnamiName is specified in magnus.conf. The name of the output filter is btm-response. The deprecated name qnami-response must be used when QnamiName is specified in magnus.conf. - Repeat Steps 1 and 2 for magnus.conf and obj.conf for all existing server instances.
- Restart the Sun Java System Web Server for the changes to take effect. Output is generated and appears in the web server's error logs. Use the administrative server to view the output.
Where to go from here
- To control and configure the extension, see Running-the-Sun-Java-System-Web-Server-BTM-extension.