Administer > Status and notifications > Client log file

Client log file

Each Service Manager client has a log file, which stores client session information for troubleshooting.

For each client, the log file is defined as follows:

  • Windows client

    Go to Window > Preferences > Service Manager > Logs. The Log file field specifies the log file path.

  • Web client

    By default, the log file is located in the Web application server's home directory: <Web application server home directory>/sm.log.

    For example: C:\Program Files\Apache Software Foundation\Tomcat 6.0\sm.log.

View SOAP fault information in the client log

When a SOAP fault or an exception occurs on the Service Manager server, the SOAP fault information is written to the client log file. This information can assist support engineers and System Administrators in troubleshooting.

Service Manager logs SOAP fault information in the Windows or Web client log file (sm.log) as follows:

  • When a SOAP FAULT occurs, Service Manager logs the SOAP request, SOAP response, and SOAP fault information.
  • When a server session ends unexpectedly and an exception is thrown, Service Manager logs the SOAP request, SOAP response (if any), and the exception information.

Example:

If a user is performing operations (such as generating charts) on the client side and then a System Administrator kills the user's process from System Status, SOAP fault information like the following is logged in the client log file (sm.log):

ERROR Timer-0 com.hp.ov.sm.client.webtier.SCLogging - Jan 10, 2011 17:58:32 GMT+08:00 [ERROR] SOAP Failure - Session no longer valid
ERROR Timer-0 com.hp.ov.sm.client.webtier.SCLogging - Jan 10, 2011 17:58:32 GMT+08:00 [ERROR] request:
<getMessages />
ERROR Timer-0 com.hp.ov.sm.client.webtier.SCLogging - Jan 10, 2011 17:58:32 GMT+08:00 [ERROR] response:
<Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Session no longer valid</faultstring>
<faultactor>Server</faultactor>
</Fault>
ERROR Timer-0 com.hp.ov.sm.client.webtier.SCLogging - Jan 10, 2011 17:58:32 GMT+08:00 [ERROR] The soap fault is : SOAP-ENV:Server
Session no longer valid

Related topics

Server log file