WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

WebSphere Application Server - Patching Java

By Dave Hay posted Thu July 06, 2017 09:10 AM

  

Whilst most WebSphere Application Server (WAS) administrators are proficient in patching WAS, and dependent products, including IBM Installation Manager, IBM BPM etc. it's also worth remembering that one should also take care of IBM Java, where used.

This occurred to me today whilst documenting the build of an IBM BPM Advanced environment, leveraging the very latest Cumulative Fix ( 8.5.7 CF2017.06 ) which was released last week.

I'd previously searched IBM Fix Central for the latest version of Java 7.1, as included with WAS 8.5.5, which led me to this: -

7.1.3.60-WS-IBMWASJAVA-Linux

For the record, I'm already using the latest version of WAS 8.5, namely 8.5.5.11 or 8.5.5 Fixpack 11, and I'd installed this using a response file: -


Having downloaded the Java 7.1 fixpack, this is what I had: -

-rw-r--r-- 1 davidhay staff 812637957 27 Jun 15:57 7.1.3.60-WS-IBMWASJAVA-Linux.zip

I then expanded this into a subdirectory in my software repository: -

unzip 7.1.3.60-WS-IBMWASJAVA-Linux.zip  -d  /mnt/Java71/Fixpack

and then validated it using IBM Installation Manager: -

/opt/ibm/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /mnt/Java71/Fixpack/repository.xml

which returns: -

com.ibm.websphere.IBMJAVA.v71_7.1.3060.20161124_1256
com.ibm.websphere.liberty.IBMJAVA.v71_7.1.3060.20161124_1256

and then installed it: -

/opt/ibm/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.IBMJAVA.v71_7.1.3060.20161124_1256 -repositories /mnt/Java71/Fixpack/repository.xml -installationDirectory /opt/ibm/WebSphere/AppServer/

which returns: -

Updated to com.ibm.websphere.IBMJAVA.v71_7.1.3060.20161124_1256 in the /opt/ibm/WebSphere/AppServer directory.

I can now validate what's installed: -

/opt/ibm/InstallationManager/eclipse/tools/imcl listInstalledPackages

com.ibm.cic.agent_1.8.6001.20170428_1156
com.ibm.bpm.ADV.v85_8.5.700201706.20170621_0536
com.ibm.websphere.IBMJAVA.v71_7.1.3060.20161124_1256
com.ibm.websphere.ND.v85_8.5.5011.20161206_1434

/opt/ibm/WebSphere/AppServer/bin/versionInfo.sh

WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.48, dated 2/8/12

--------------------------------------------------------------------------------
IBM WebSphere Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time 27 June 2017 17:43:49 BST

Installation
--------------------------------------------------------------------------------
Product Directory        /opt/ibm/WebSphere/AppServer
Version Directory        /opt/ibm/WebSphere/AppServer/properties/version
DTD Directory            /opt/ibm/WebSphere/AppServer/properties/version/dtd
Log Directory            /home/wasadmin/var/ibm/InstallationManager/logs

Product List
--------------------------------------------------------------------------------
ND                       installed
BPMPC                    installed
IBMJAVA71                installed

Installed Product
--------------------------------------------------------------------------------
Name                  IBM WebSphere Application Server Network Deployment
Version               8.5.5.11
ID                    ND
Build Level           cf111649.01
Build Date            12/6/16
Package               com.ibm.websphere.ND.v85_8.5.5011.20161206_1434
Architecture          x86-64 (64 bit)
Installed Features    IBM 64-bit WebSphere SDK for Java
                      WebSphere Application Server Full Profile
                      EJBDeploy tool for pre-EJB 3.0 modules
                      Embeddable EJB container
                      Stand-alone thin clients and resource adapters

Installed Product
--------------------------------------------------------------------------------
Name                  IBM Business Process Manager Advanced
Version               8.5.7.201706
ID                    BPMPC
Build Level           20170621-024053
Build Date            6/21/17
Package               com.ibm.bpm.ADV.v85_8.5.700201706.20170621_0536
Architecture          x86-64 (64 bit)
Installed Features    Business Process Manager Advanced Process Center License

Installed Product
--------------------------------------------------------------------------------
Name                  IBM WebSphere SDK Java Technology Edition (Optional)
Version               7.1.3.60
ID                    IBMJAVA71
Build Level           cf111647.02
Build Date            11/24/16
Package               com.ibm.websphere.IBMJAVA.v71_7.1.3060.20161124_1256
Architecture          x86-64 (64 bit)
Installed Features    IBM WebSphere SDK for Java Technology Edition Version 7.1

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------

/opt/ibm/WebSphere/AppServer/java_1.7.1_64/bin/java -version

java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470_27sr3fp60ifix-20161110_01(SR3 FP60+IV90630+IV90578))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 20161005_321280 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR3_20161005_1253_B321280
JIT  - tr.r13.java_20161003_125478
GC   - R27_Java727_SR3_20161005_1253_B321280_CMPRSS
J9CL - 20161005_321280)
JCL - 20161021_01 based on Oracle jdk7u121-b15

Hope this helps.

Final point; when you update Java, remember that the Java policy files, found here: -

/opt/ibm/WebSphere/AppServer/java_1.7.1_64/jre/lib/security/

will likely be updated, as per this: -

IBM SDK Policy files

 

0 comments
16 views

Permalink