Hi,

Jay SenSharma

Jay SenSharma

Installing Patches in Offline Mode …Means when you dont have internet connectivity in the Boxes where you want to Install the Patches…

Step1). First of all better download Download latest “patch-client-installer310_generic32.jar” from Oracle Support Site. (This Step is Optional…Do this Just in case if you want to use the Lastese Patch Installer.)

java jar patch-client-installer310_generic32.jar
(installs the smart update . Choose “/opt/app/bea1032” as the home and do complete install)

Step2). Get the Jars from Oracle Support and Put them in some Location like:    “/opt/app/yourLocation/patchesGotFromSupport”

Suppose you got the following Jars from Oracle Support:
4D53.jar, NIXN.jar, WDJ7.jar, XLXA.jar

NOTE: Never Extract these Jars by your Own using  “jar -xvf  XLXA.jar”

Step3). Go to “bsu” directory of your WLS Installation:
cd  /opt/app/bea1032/utils/bsu

Step4). To apply patches run the folowing command from here:

$ bsu.sh -install -patchlist=4D53,NIXN,WDJ7,XLXA -patch_download_dir=/opt/app/yourLocation/patchesGotFromSupport -verbose -prod_dir=/opt/app/bea1032/wlserver_10.3

UNIX Based Operating System Please try the below:

./bsu.sh -prod_dir=/opt/app/Middleware/wlserver_10.3 -patch_download_dir=/opt/app/Middleware/utils/bsu -patchlist=WDJ7,4D53,NIXN,XLXA -verbose -install

Step5). To check which patches are applied

$ bsu.sh -view -patch_download_dir=/opt/app/yourLocation/patchesGotFromSupport -status=applied -verbose -prod_dir=/opt/app/bea1032/wlserver_10.3

======================================

Smart Update Issues:

Issue-1).  If you are using Sun JDK 1.6.0_20 to install/Download patches then you may face this issue:

Error:
root@lucid:/opt/Oracle/Middleware/utils/bsu# ./bsu.sh
javax.xml.rpc.ServiceException: Error processing WSDL document:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: algorithm check failed: MD2withRSA is disabled
at org.apache.axis.client.Service.initService(Service.java:250)
at org.apache.axis.client.Service.<init>(Service.java:165)
at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:198)
at com.bea.plateng.patch.AbstractPatchServicesImpl.init(AbstractPatchServicesImpl.java:90)
at com.bea.plateng.patch.DefaultPatchProducerServicesImpl.<init>(DefaultPatchProducerServicesImpl.java:8)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.bea.plateng.patch.PatchServicesFactory.create(PatchServicesFactory.java:180)
at com.bea.plateng.patch.PatchLoginManager.login(PatchLoginManager.java:90)
at com.bea.plateng.patch.gui.PatchGUIHelper$1.call(PatchGUIHelper.java:192)
at com.bea.plateng.patch.gui.PatchGUIHelper$1.call(PatchGUIHelper.java:189)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

To get rid of the above issue…Please change your JDK to JRockit:

Workaround 1:
Step-1. Open a terminal
set session wide environment variables:

export JAVA_HOME=/opt/jrmc-4.0.0-1.6.0/jre
export CLASSPATH=.
export PATH=$JAVA_HOME/bin:$PATH

Step-2. run ./bsu.sh from this Termial
java -jar patch-client.jar

– – – – – – – – – – – – – – – – – – – – – – – – – –  – – –  – – – –

Workaround 2:
edit bsu.sh
update JAVA_HOME

JAVA_HOME=”/opt/jrmc-4.0.0-1.6.0/jre”

====================================

.

.

Thanks

Jay SenSharma

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.