cancel
Showing results for 
Search instead for 
Did you mean: 

Heap Dump files not generated

Former Member
0 Kudos

Hi,

We have followed SAP Note 1053495 to generate Heap dump on IBM AIX server. However after doing all the steps mentioned in Note, *.phd files are not generated as per the note.

Please help .... as we need these logs for analysis purpose.

Thanks & Regards

Amol

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Marking it as solved.

former_member227283
Active Contributor
0 Kudos

Hi Amol,

Provide the output of the following command on forum

java -version

Thanks

Anil

Former Member
0 Kudos

Hi,

Java version installed on the server :

[root@evoxibqap:/]# java -version

java version "1.4.2"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)

Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20080515 (SR11) (JIT enabled: jitc))

Thanks & Regards,

Amol B.

former_member227283
Active Contributor
0 Kudos

Hi Amol,

Did you followed the point no:- 2 of SAP note :- 1053495

This is because you are using classical version of Java.

Thanks

Anil

Former Member
0 Kudos

Hi Anil,

Yes, we have followed the instructions of set 2 only.

Below is the java env file :

  1. @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ind/ind/J2EEENV.CSH#8 $ SAP

  2. SAP J2EE Environment - please do not edit

  3. check for running user

set USER = `id | awk -F\( '{print $2}' | awk -F\) '{print $1}'`

set TRUL = 'tr "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz"'

set SIDADM = "`echo $SAPSYSTEMNAME | $TRUL`adm"

if ( "$USER" == "$SIDADM" ) then

setenv JAVA_HOME /usr/java14_64

foreach d ( $JAVA_HOME/bin )

set i=0

foreach p ( $path )

if ( "$p" == "$d" ) then

set i=1

break

endif

end

if ( $i == 0 ) then

set path = ( $d $path )

endif

end

endif

switch (`uname`)

case AIX*:

if ( "$USER" == "$SIDADM" ) then

setenv IBM_JAVA_OPTIONS "-Xmx256M -Xj9"

else

setenv IBM_JAVA_OPTIONS "-Xmx256M"

endif

breaksw

case OS\/390:

setenv IBM_JAVA_OPTIONS "-Xmx256M"

breaksw

case Linux*:

set i=0

foreach p ( `uname -a` )

if ( "$p" == "s390x" ) then

set i=1

break

endif

end

if ( $i == 1 ) then

setenv IBM_JAVA_OPTIONS "-Xmx256M"

endif

breaksw

endsw

setenv IBM_HEAPDUMP "true"

  1. end SAP J2EE Environment

former_member227283
Active Contributor
0 Kudos

Hi Amol.

Can you provide us the output of following command.

login with user sidadm for which you have made the changes in .CSH fille.

command is as follows :-

echo $IBM_HEAPDUMP

Let us know the output.

Thanks

Anil

Former Member
0 Kudos

Hi Anil,

The output of the command is :

evoxibqap:qxaadm 1> echo $IBM_HEAPDUMP

true

evoxibqap:qxaadm 2>

Thanks & Regards,

Amol B.

former_member227283
Active Contributor
0 Kudos

Hi,

Everything look fine, did you logoff and login again and restarted the java application to take effect of change in environment variable.

Thanks

Anil