Quantcast
Channel: SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 185

How to check logs for particular J2EE application issue

$
0
0


Purpose

 

The purpose of this document is help in searching for specific content in the SAP Netweaver Application Server JAVA for more information on a particular J2EE application. This can be a very tedious affair if many server nodes are configured and this document explains how to do this from the SAP server end using /nwa (SAP Netweaver Administrator), rather than logging to the operating system to search the actual trace file.

 

Example Scenario

 

Lets say that the J2EE Webdynpro application (tc~wd~dispwda) is constantly going down or end users are getting Webdynpro related issues and you as the Basis Administrator would like to investigate further. The issue is not occurring now and a root cause analysis is needed.  You would ideally check all the default trace files for this issue (any error related to the application tc~wd~dispwda) so that any discrepancies can be monitored.

Now searching all trace files can be a cumbersome affair particularly if many J2EE server nodes configured and depending on the trace severity set, these files can be very large at times.



Solution


The SAP Netweaver Administrator utility (NWA) gives you an easy way of doing this check.
Navigate to: http://<server hostname>:port/nwa  ------>Operations  ------>Start&Stop ------>Java Applications------>and enter the application name (tc~wd~dispwda in this case):


1.png

 

Now click on "More Actions" ------> "View Logs" to get a list of all logs that were populated for this application: tc~wd~dispwda.

2.png


You will be directed to the Log Viewer application and here you can find more detailed logs on the operations that were done on / by the application: tc~wd~dispwda.


3.png


It is also possible to differentiate between HTTP requests that were made for this application and the Session logs:



4.png


You can also access this information straight from the log viewer application. Navigate to http://<server hostname>:port/nwa  ------>Troubleshooting ------>Log ViewerStart&Stop ------>Show advanced filter.


5.png

 

Now add a filter and enter the application name (tc~wd~dispwda in this case).

 

6.png

 

Click on Apply and all logged entries for the application tc~wd~dispwda will be available now:


7.png


Viewing all articles
Browse latest Browse all 185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>