Proactive insights, news and tips from Oracle WebLogic Server Support. Learn Oracle from Oracle.

  • November 9, 2015

Update your Java Version Easily with ZDT Patching

 Another great feature of ZDT Patching is that it provides a simple way to
update the Java version used to run WebLogic. 
Keeping up-to-date with Java security patches is an ongoing task of
critical importance. Prior to ZDT
Patching, there was no easy way to migrate all of your managed servers to a new
Java version, but ZDT Patching makes this a simple two step procedure.

The first step is to install the updated Java version to all of the nodes
that you will be updating. This can be
done manually or by using any of the normal software distribution tools typically
used to manage enterprise software installations. This operation can be done outside a planned
maintenance window as it will not affect any running servers. Note that when installing the new Java
version, it must not overwrite the existing Java directory, and the location of
the new directory must be the same on every node.

The second step is to simply run the Java rollout using a WLST command like
this one:

rolloutJavaHome(“Cluster1”, “/pathTo/jdk1.8.0_66”)

In this example, the Admin Server will start the rollout to coordinate the
rolling restart of each node in the cluster named “Cluster1”. While the managed servers and NodeManager on a
given node are down, the path to the Java executable that they are started with
will be updated. The rollout will then
start the managed servers and NodeManager from the new Java path.

Easy as that!

For more information about upgrading Java with Zero Downtime Patching, view
the documentation.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.