1912674 - How to check kernel version of an AS Java
Symptom
- You are running SAP NetWeaver Java system.
- You want to know current kernel version of your java system.
- After kernel update(update using kernel file like SAPEXEDB*.SAR SAPEXE*.SAR) of java system, you find System Information page still show old kernel version.
Environment
- SAP NetWeaver Java - all versions
Resolution
There are two types of kernel in SAP NetWeaver Java system:
1. Native Kernel:
- It is native executables of java startup framework which are written in C-code, such as jcontrol, jstart, jlaunch, sapstartsrv...etc
- It can be updated using file like SAPEXEDB*.SAR and SAPEXE*.SAR.
- GetVersionInfo function of sapcontrol command can display the kernel version.
2. Java Kernel:
- It is java binaries of J2EE Engine itself, such as boot.jar, jstartup,jar...etc
- It can be updated during system release or Support Package Stack(SP/SPS) upgrade.
- System Information page and other tools(such as Visual Administrator) can display the kernel version.
Note:
1. When kernel version is requested by SAP Consultant, it means Native Kernel unless clearly mention to get Java Kernel.
2. If you only did update of Native Kernel, you only need to follow [For Native Kernel version] section to confirm whether kernel indeed get updated to expected one.
There is no need to follow [For Java Kernel] section.
3. Update of Native Kernel does not affect the version of Java Kernel.
For Native Kernel version, please use either way listed below to get it.
(1) Use "usr/sap/<SID>/SYS/exe/.../sapcontrol -user <user> <password> -nr <xx> -function GetVersionInfo" command.
(2) Using SAP MMC:
(3) Go to folder usr/sap/<SID>/SYS/exe/.../ and execute file like jlaunch jstart...etc with option -version or -v
Please note the "source id" is the real patch number other than "patch number".
(4) Go to folder usr/sap/<SID>/<instnr>/work and open dev_icm file with e.g. a text editor:
(5) For 7.1x onwards version: http://<hostname>:<port>/nwa -> Troubleshooting -> Java -> Message Server
For Java Kernel, check System Information page to know its kernel version.
(1) For 7.1X onwards version: http://<hostname>:<port>/nwa/sysinfo
*** The page shows java kernel version of jstart than disp+work.
(2) If AS Java is not running, go to folder usr/sap/<SID>/<instnr>/work and open std_server0.out file with e.g. a text editor:
Keywords
kernel, kernel of java, java kernel, native kernel, as java kernel, j2ee engine kernel, kernel version, system version, sapmmc, -version, sapcontrol, GetVersionInfo, jlaunch, jstart
wechat: ywkonline
专注于SAP运维、升级、迁移
出处:http://www.cnblogs.com/weikui/