cancel
Showing results for 
Search instead for 
Did you mean: 

How to analyze J2EE logs?

Former Member
0 Kudos

Hi,

The portal went down for an hour and unable to investigate the cause.

However, there is an option of going through .log file.

1. Is there any way to upload this log file and get the analysis?

2. If not, any other solution to identify the cause of the outage?

Regards

KK

Accepted Solutions (0)

Answers (3)

Answers (3)

piyush_kumar6
Active Contributor
0 Kudos

Hi KK,

Please check the defaultTrace.trc file for exception details ,

You will find the helpful information.

Path : usr\sap\<SID>\JC<SN>\j2ee\cluster\serverX\log\

Or you can check the log from NWA from portal itself. Here it will display the log in

tabular format so it will be easy for checking the details. Here Check the SAP Log also.

Regards,

Piyush

Former Member
0 Kudos

Hi,

Thanks to all, however, i have a log file notepad and unable to interpret the content.

Therefore, i am trying to find out if there is any way to upload this log file and get the output in the form of readable text (or) a transaction to identify the cause of the outage.

Regards

KK

gill367
Active Contributor
0 Kudos

Default trace file is all that you got.

As far as i think you dont have any tool where you can upload it and get soem charts or auto analysis done.

i will suggest search in this file with the time when the outage happened and definately you will find something.

thanks

sarbjeet singh

Former Member
0 Kudos

Hi KK,

Please access the NWA using http://portal:port/nwa

Go to the following path

System Management -> Monitoring -> Logs and Traces

From the dropdown, choose "Default Trace"

You can open a filter and then define the parameters eg. Date and Time relative

This again would be the defaultTrace file but in a much more readable format. You can also download the content in CSV format.

Thanks,

Nikhil

Former Member
0 Kudos

Hi, GKRISHNAKUMAR.

The J2EE logs are stored in the directory:


usr\sap\<SID>\JC<SN>\j2ee\cluster\server0\log\

Where SID - System ID , SN - system number of the portal. here you can find and download defaultTrace.*.trc files that store all the events of application server. Also, there are a lot other logs in this directory.

Regards, Mikhail.

Former Member
0 Kudos

Hi KK,

Please go through defaultTrace.trc and look for traces so as to identify the root cause of the issue.

Nikhil