cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro Logs

Former Member
0 Kudos

Hi.

I need to know, where is the log file, of my DC's...

My app is generating a exception, but screen only shows a NullPointerException.

I need to view this files, to search where is the error.

Where is the server log, with this information?!

Thanx!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The following information will help you.

Check the folder Gen and naviagate to folder default as

Gen->default->logs->build

Build file contain the dtack trace if any exception occured

Regards

padma N

Former Member
0 Kudos

Hi....

This folder does not exists....

Maybe I need to use some specific code to send the erros to there...

I'm using a System.out, to show my errors.

is this right?!

I think that maybe the folders is not there, because I'm not sending the exceptions with the right code.

What can I do?!

Thanx!

Former Member
0 Kudos

Hi,

Path for server logs:

Login to your server, go to:

<drive>:\usr\sap\<SID>\<Instance>\j2ee\cluster\server0\log

You will find the latest defaultTrace file here.

Also you can use try catch block and display the exception using IWDMessageManager.

For e.g,

try

{

...... // code throwing exception

} catch (Exception e)

{

wdComponentAPI.getMessageManager().reportError ( e );

}

Regards,

Anagha

Former Member
0 Kudos

Hi,

Also you can see the logs in nwa.

Logon to Netweaver Administrator > Problem Management> Logs And Traces --> Show View > Server> User Interface Java.

Here based on the search criteria you can find all the error messages.

Regards

Gayathri

Stefan-EA
Contributor
0 Kudos

>

> Hi....

>

> This folder does not exists....

>

> Maybe I need to use some specific code to send the erros to there...

>

> I'm using a System.out, to show my errors.

>

> is this right?!

>

> I think that maybe the folders is not there, because I'm not sending the exceptions with the right code.

>

> What can I do?!

>

> Thanx!

Take a look at this logging and tracing API [guide|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0c6ada90-0201-0010-4397-b6dcb6e661a2]. it also shows you how to setup logging on your Web AS.

Answers (0)