on ‎2007 May 18 1:57 AM
Hi there,
I wanna to know where can i find the log file which executes the codes that we have uploaded into the EP as PAR file.
I am now doing portal application and currently i am doing some debugging myself to my database connection codes to test out whether it works so i need a log file in the server to see where the codes have gone wrong.
Thanks Loads
Quatre
Request clarification before answering.
Hi
Refer to this thread
Also the Logging framework
http://help.sap.com/saphelp_nw04/helpdata/en/3a/63e540aa827e7fe10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/fa/44d94016828431e10000000a1550b0/frameset.htm
See Check for the trace file they have all your application logs .I dont think so for so much of thing we will have to go into so much complexties.Check the latest trace file.
Thanx
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can check you log files in by following this steps
login to the portal with super admin
say
http://<host name>:port/irj/portal
now after logging in remove
irj/portal from the url and type
nwa
now it will open one new screen here you double click on
monitoring
and it will open new screen here you press on
logs and traces
and it will navigate you into another window ther in drop down list select
default traces.
***********please reward point if the information is helpful to you**************
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
Thanks for all ur help, i have found the log files
Thanks Loads,
Quatre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Rewarding points is the way of saying Thanks in SDN. Kindly reward points to people who have spent time in answering you.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement&
Check step4
Regards,
Vijai
Hello sir ,
try checking over here
:\usr\sap\<SID>\JC01\j2ee\cluster\server0\log
or if still does nt work try to write the log inside a file which can be set inside the code wriiten by you and call the standard logging api of SAP.
Thanx
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Quatre
Check in the apps log file you will get that , i though you wanted to know the standard SAP provided log traces.
Thanx
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
i have found the log files but i do not know where is my log file or not. Cos i added
System.out.println("1");in my codes. And i want to test whether the codes stop at which line but the error message of the codes is
Error in resource clean up for a disconnected client java.lang.NullPointerExceptionThanks Loads
Quatre
Hi Quatre ,
SAP has its own component for loggig ,messaging,notification and all.You can find the Log files as
J2ee :- The physical location of the log file are:
<Your_server_drive>:usrsap<SID>(3 Characters)<SYS>(4 character)j2eeclusterserver0log
Portal :-<Drive>usrsap<SAP_System ID>JC<J2EE Engine Instance>j2eeclusterserver<n>appssap.comirjservlet_jspirj ootWEB-INFportallogs
Or
In the Portal, go to Java Development > Portal LogViewer
you need to have the Java Developer role to be able to view this
Assign these roles for that
SAP_JAVA_NWADMIN_CENTRAL
SAP_JAVA_NWADMIN_CENTRAL_READONLY
SAP_JAVA_NWADMIN_LOCAL
SAP_JAVA_NWADMIN_LOCAL_READONLY
SAP_JAVA_NWMOBILE_ADMIN_READONLY
SAP_JAVA_NWMOBILE_ADMIN_SUPER
SAP_JAVA_SUPPORT
Refer to this for more details
IF EP 7
you can even loggin to http://<hostname>:port/nwa
A new utility provide by SAP where you can monitor the server stats and loads of things .Infact the Logs can also be seen.
System Managemnt>Configuration>Log configuration,
or
System Managemnt>Administration>Log and trace.
thanx
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
By default, the path will be <Drive:>\usr\sap\J2E\JC00\j2ee\cluster\server0\log
Check for the defaultTrace updated recently.
U can also view this file from visual admin.
Regards,
Vijai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Log files will be stored in
<SAP WebAS install dir > /
JC<Instance no> / j2ee/cluster/server0/log/defaultTrace.trc
(usr/sap/PRT/JC10/j2ee/cluster/server0/log/defaultTrace.trc)
if you use System.err.println(" sdfsdf"); It will be recorded in the log file file
otherwise you can user logger also . SAP has logging.jar to store logs
Regards
Ganesan S
PS : Award points if it is useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.