cancel
Showing results for 
Search instead for 
Did you mean: 

Housekeeping and configuration of SAP J2EE

andreas_zigann
Active Participant
0 Kudos

Hello,

I would like to configure SAP J2EE in some points of administration, but I can't find any useful documentation.

First of all I want to change directory of core and heap dumps, because the fill my /usr/sap directory very fast. Nice would be to supress the dumps or regulate their size.

Second I would like to have some housekeeping jobs, like deleting old traces, logs and dumps to decrease size of SAP J2EE directory.

Do you know parameters for managing dumps and logs? If I have to do housekeeping by crontab, cronacle. UC4 or manual, which files and directories do I have to have an eye on?

Best Regards

Andreas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Andreas,

The location of the core and heap dump generation is set with JVM parameter.

Here is explanation about IBM

http://publib.boulder.ibm.com/infocenter/javasdk/v5r0/index.jsp?topic=/com.ibm.java.doc.diagnostics....

For sun jdk, the following JVM options could be used

-XX:HeapDumpPath=<directory where to save the heap dumps>

Use the Log Configuration service in NWA or Visual Administrator to configure the logging.

You could find more information about that at:

http://help.sap.com/saphelp_nw04s/helpdata/EN/e2/f410409f088f5ce10000000a155106/frameset.htm

Regards,

Ventsi Tsachev

andreas_zigann
Active Participant
0 Kudos

Hello Ventsi,

thanks for the help. In summury I found following konfiguration to avoid dumps and cores:

1. Core* -Xdump:system:none

2. javacore*: -Xdump:java:none

3. heapdump*: -Xdump:heap:none

4. All : -Xdump:none

I will test these configurations and post the result here, to complete this threat.

I will test the log configuration by NWA, too, but I think it will last to long for this threat.

Best Regards

Andreas