cancel
Showing results for 
Search instead for 
Did you mean: 

Log for J2EE Web Services?

former_member182374
Active Contributor
0 Kudos

Hi All,

My SAP Web Application Server has some Web Services.

The Web Services are being run from the same server (Web Dynpro/Java Projects).

Is there a <b>built in</b> log which holds data of the calls?

Info like request/response, HTTP codes etc...

My J2EE version is 6.14, soon will be upgraded to 6.19.

Regards,

Omri

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182374
Active Contributor
0 Kudos

The log is written to defaultTrace.

In order to write to my log file I need to change the "ForceSingleTraceFile" in config tool but since it is a production environment I will stick with DefaultTrace

Omri

Former Member
0 Kudos

Hi,

The developer trace files are the log files you need to consider. There will also be some appliactions.log files. So choose the once which have correct date stamps.

c:\usr\sap\<SID>\JC..\j2ee\cluster\dispatcher\log

c:\usr\sap\<SID>\JC..\j2ee\cluster\server\log

Next you can configure your system using visual admin under c:\usr\sap\<SID>\JC..\j2ee\admin and then move to the log configurator Service which helps you to manage the logging and tracing mechanism of SAP WEB AS JAVA.

rewarding points is a way to appreciate people who help you.

former_member182374
Active Contributor
0 Kudos

Thanks for the answers.

I've found <a href="http://help.sap.com/saphelp_nw04/helpdata/en/60/aec0b110a940d09e7a296c09af27bf/frameset.htm">this</a> in help.sap.com.

I did the config in 'Log Configurator' and log file should be

./log/services/webservices/runtime/sap.com_WS/Hello.trc

I changed the severity to 'ALL' and run the service a few times (through Web Service Navigator & a Web Dynpro application)

I looked for 'Hello*.trc' files but I couldn't find any.

So what is the correct way to configure it?

I've checked the 'regular' config files (DefaultTrace, applications etc) but they don't contain the data I need.

Regards,

Omri

Former Member
0 Kudos

Hi

You can see the logs in default.trc located usr\sap\SID\JCXX\j2ee\cluster\server0\log.

You can also configure speacific log settings for your speacific web service using the utility log configurator service of visual administration tool provided by sap.

Reward suitable points