LinuxLower sunJREProblem log collection
In Linux, Sun uses the JRE provided by Sun. In the case of core dump, if it is confirmed that it is caused by JRE, sun usually requires you to provide logs for analysis.
It is usually collected by executing the pkgapp script. The script can be downloaded on the sunnet site, with the name sun-gdd_pkgapp_linux_redhat.tar.gz.
The pkgapp tool requires KSh support. Therefore, if you do not follow KSh on Linux, you must install it first.
# Rpm-I ksh-20080202-2.el5.x86_64.rpm
Run the following command to collect logs,
./Pkgapp-I-r-c/opt/nawg/core.21675-P/usr/Java/jre1.6.0 _ 19/bin/
Core.21675 is the core file generated during core dump. Note that the command format is only applicable to pkgapp 3.2 RedHat 3/4/5.
From the execution log, you can see that the generated file pkgapp-7b0a2470-app16.nbgint-100525-153458.tar.gz is generated and uploaded to the FTP server provided by Sun.