Tuesday, October 4, 2011

How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x?

Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
Problem: How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x?

Solution:



While troubleshooting the Siebel Web Server Extension (SWSE) for Siebel version 7.5.3 or earlier, it is advisable to set the Log parameter in the SIEBEL_HOME\SWEApp\BIN\eapps.cfg file to details. This will write more detailed information into the SWSE log files located in the SIEBEL_HOME\SWEApp\LOG directory.

NOTE: Starting in Siebel version 7.7.x, the Log parameter in the eapps.cfg file is no longer used by the SWSE. You only need to set the environment variables documented below to trace the SWSE connections. Bug 12-JP45TC>> has been logged to address the documentation defect to request the Log parameter be removed from the eapps.cfg file. This parameter has been removed from the Siebel Bookshelf starting with Siebel version 7.7.


To troubleshoot further, the logging can be increased to include Siebel Internet Session API (SISNAPI) and Session Manager tracing. The following information details how to turn up logging for the SWSE on the Microsoft Windows and UNIX Operating Systems to include SISNAPI and Session Manager Information.

Be aware that by increasing the logging levels on the Web Server, this may cause performance degradation, the extent of which will depend on your specific implementation (mostly this is insignificant). Additionally, increasing the logging levels will require more available disk space in the SIEBEL_HOME\SWEApp\LOG directory as the log files will be bigger. It is always a good practice to test out these settings in your test environment first and then move these settings to production only if specifically requested by Siebel Technical Support. Once the behavior has been resolved, it is a good practice to unset the environment variables and reset the default logging for the SWSE in the production environment.


For Windows Environments

Perform the following steps to enable tracing for the SWSE:

1. Set the following System Environment Variables:

SIEBEL_LOG_EVENTS=4 (or higher)
SIEBEL_SESSMGR_TRACE=1
SIEBEL_SISNAPI_TRACE=1

To set up environment variables perform the following steps:

o Start > Settings > Control Panel > System.

o Click on the Advanced tab and then click on the Environment Variables button.

o Under the System variables view, click the New button and add the variable names and values mentioned above. Click the Ok button when finished.

2. In the eapps.cfg file located on the web server machine under the directory SIEBEL_HOME\SWEApp\BIN folder, make the following changes under the [swe] section:

Log = details (only for 7.5.3 or earlier)
SessionMonitor = TRUE

3. Restart the IIS Admin Service and its dependent services for the changes to take effect. NOTE: The inetinfo.exe process has to be restarted for the new environment variables to take effect.

NOTE: If SWSE is installed on a Windows 2003 Server, it is necessary to reboot the machine otherwise logging will not be enabled.

For a UNIX Environment except Linux

Perform the following steps to enable tracing for the SWSE:

1. Set the following environment variables:

SIEBEL_LOG_EVENTS=4 (or higher)
SIEBEL_SESSMGR_TRACE=1
SIEBEL_SISNAPI_TRACE=1

To set up environment variables for the user who starts the web server, perform the following steps (for Bourne and Korn Shell):

$ =value; export

For example:

$ SIEBEL_LOG_EVENTS=4; export SIEBEL_LOG_EVENTS

2. In the eapps.cfg file found on the web server machine under SIEBEL_ROOT/sweapps/bin folder make the following changes:

Under the [swe] section:

Log = details (only for 7.5.3 or earlier)
SessionMonitor = TRUE

3. Restart the web server process for the changes to take effect.

For Linux Environment
For increasing the logging for SWSE when using Oracle HTTP Server (OHS) add the environment variables to a file named envvars under ohs/bin directory.

envvars-std - default environment variables for apachectl
#

This file is generated from envvars-std.in
#
LD_LIBRARY_PATH=
export LD_LIBRARY_PATH

SIEBEL_SESSMGR_TRACE=1
SIEBEL_SISNAPI_TRACE=1
SIEBEL_LOG_EVENTS=5

export SIEBEL_SESSMGR_TRACE
export SIEBEL_SISNAPI_TRACE
export SIEBEL_LOG_EVENTS
To Reverse the Default Logging Levels on the Web Server

1. Remove all three environment variable settings.
2. In the eapps.cfg file set Log = errors (only for 7.5.3 or earlier).
3. Restart the web server processes.

NOTE: For information about unsetting the environment variables, see the appropriate operating system documentation.




References:
How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x? [ID 477185.1]


Please refer to the following related FAQs and Siebel Bookshelf references found on SupportWeb for additional information on how to handle log files:

• Document 477112.1 details information about how to manage the size of the Siebel log files.

• Document 476703.1 details information about how to troubleshoot the error message "The Server You Are Accessing is Either Busy or Experiencing Difficulties......" in a Siebel 7 Web Client User Browser.

• Siebel Bookshelf version 8.1 > Siebel System Monitoring and Diagnostics Guide > Configuring SWSE Logging and Monitoring.

• Siebel Bookshelf version 8.0 > Siebel System Monitoring and Diagnostics Guide > Configuring SWSE Logging and Monitoring.

• Siebel Bookshelf version 7.8 > System Monitoring and Diagnostics Guide for Siebel Business Applications > Configuring SWSE Logging and Monitoring.

• Siebel Bookshelf version 7.7 > System Monitoring and Diagnostics Guide for Siebel eBusiness Applications > Configuring SWSE Logging and Monitoring.

• Siebel Bookshelf version 8.1 > Siebel System Administration Guide > Structure of the eapps.cfg File.

• Siebel Bookshelf version 8.0 > Siebel System Administration Guide > Structure of the eapps.cfg File.

• Siebel Bookshelf version 7.8 > Siebel System Administration Guide > Structure of the eapps.cfg File.

• Siebel Bookshelf version 7.7 > Siebel System Administration Guide > Structure of the eapps.cfg File.

• Siebel Bookshelf version 7.5.3 > Siebel Server Installation Guide for Microsoft Windows > Structure of the eapps.cfg File > Editing the Web Server Extension Configuration File.

• Siebel Bookshelf version 7.5.3 > Siebel Server Installation Guide for UNIX > Structure of the eapps.cfg File > Editing the Web Server Extension Configuration File.
Get Oracle Certifications for all Exams
Free Online Exams.com

No comments: