cancel
Showing results for 
Search instead for 
Did you mean: 

Trace

Former Member
0 Kudos

Hi

I have created an EJB. In one of my classes I would like to write comments in the trace file of the J2EE server (SAPMMC -> J2E -> Process Table -> J2EE Server -> Right Click and Choose Developer Trace).

Questions:

Which Jar file do I have to use and where can I find it?

Where can I find the Javadoc?

Examplecode?

Best Regards// -Fredrik

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi Fred,

You cannot write to the std_server0.out file from an application - this traces are produced by the startup framework. But you can write to the J2EE trace file defaultTrace.trc in /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/server<N>/log. Just do a System.out.println() in your EJB class and it will go there.

Hope this helps,

Vladimir

Former Member
0 Kudos

As easy as it can be! Thanks a lot

Answers (0)