Search This Blog

Monday, September 8, 2008

Trace configuration for Web Sphere

Here are some instruction i get from IBM , to make a full trace to my application .
1) Trace the application flow from application server startup (for this you will require to setup the application and also WebSphere to use datasources).

Please use the following trace String:
*=info:com.ibm.ws.webservices.*=all:WAS.j2c=all:RRA=all:WAS.database=all:Messaging=all:JMSApi=all:Transaction=all

See instructions below for tracing setup:
1. In the Application Server Administrative Console, expand Troubleshooting and select Logs and Trace.

2. In the Logging and Tracing page, select your server and then Diagnostic Trace.

3. Ensure that Enable Log is selected.

4. Under Trace Output, select File, and accept the defaults.

5. Click OK and save your configuration.

6. Again, expand Troubleshooting and select Logs and Trace.

7. In the Logging and Tracing page, select your server and then Change Log Detail Levels.

8. Enter the following trace string:
*=info:com.ibm.ws.webservices.*=all:WAS.j2c=all:RRA=all:WAS.database=all:Messaging=all:JMSApi=all:Transaction=all

NOTE: Please ensure you have setup at least 10 historical files of at least 50 MB each to ensure the whole test is captured from startup.
..
you can see the trace.log file under your your log directory .

No comments: