on 12-16-2008 6:58 PM
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
>
> 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.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.