weblogic opatch安装更新补丁,weblogic opatch打补丁
================================
©Copyright 蕃薯耀 2021-01-05
https://www.cnblogs.com/fanshuyao/
一、weblogic opatch升级教程,weblogic opatch版本过低升级(opatch不需要更新请跳过)
见下面的地址:
https://www.cnblogs.com/fanshuyao/p/14237017.html
如果提示opatch版本过低,则需要升级。
二、上传weblogic补丁文件到指定文件夹
将补丁(p31960985_122140_Generic.zip)上传到PATCH_TOP(没有目录可创建,可自定义,如:E:OracleMiddleware12214OPatchPATCH_TOP,或者E:OracleMiddleware12214opath_file,建议还是放在opath_file这样的目录),
然后将p31960985_122140_Generic.zip解压到当前文件夹,解压后文件夹是:31960985
三、在补丁目录打开cmd命令窗口
进入31960985目录(E:OracleMiddleware12214OPatchPATCH_TOP31960985),在此目录的地址栏输入cmd回车运行命令窗口
四、执行命令,更新weblogic补丁
在命令窗口输入下面的执行命令(注意:更换成自己的路径,apply前有一个空格):
E:OracleMiddleware12214OPatchopatch apply
五、确认是否继续,输入字母:y
是否继续? [y|n]
y
User Responded with: Y
All checks passed.
六、确认安装更新补丁,输入字母:y
本地系统是否已准备打补丁? [y|n] y User Responded with: Y Backing up files... 正在将临时补丁程序 '31960985' 应用于 OH 'E:OracleMiddleware12214' ApplySession: Oracle 主目录中不存在可选组件 [ oracle.webservices.wls.jaxrpc, 12.2.1.4.0 ] , [ oracle.fmwconfig.common.wls.shared, 12.2.1.4.0 ] , 或找到更高版本。 正在为组件 oracle.wls.common.cam.wlst, 12.2.1.4.0 打补丁... 正在为组件 oracle.org.bouncycastle.bcprov.jdk15on, 1.60.0.0.0 打补丁... 正在为组件 oracle.org.bouncycastle.bcprov.jdk15on, 1.60.0.0.0 打补丁...
七、更新成功:OPatch succeeded.,可以查看日志文件:Log file location(如:E:OracleMiddleware12214cfgtoollogsopatch):
正在为组件 oracle.com.fasterxml.jackson.dataformat.jackson.dataformat.xml, 2.9.9.0.0 打补丁... Patch 31960985 successfully applied. Sub-set patch [30970477] has become inactive due to the application of a super-set patch [31960985]. Please refer to Doc ID 2161861.1 for any possible further required actions. Log file location: E:OracleMiddleware12214cfgtoollogsopatchopatch2021-01-05_15-42-58下午_1.log OPatch succeeded.
八、打开cmd命令窗口,查看已经安装的补丁信息
E:OracleMiddleware12214OPatchopatch lsinventory
或者
E:OracleMiddleware12214OPatchopatch lsinventory -jdk %JAVA_HOME%
窗口输出内容:
E:OracleMiddleware12214OPatch>E:OracleMiddleware12214OPatchopatch lsinventory -jdk %JAVA_HOME% Oracle 临时补丁程序安装程序版本 13.9.4.2.4 版权所有 (c) 2021, Oracle Corporation。保留所有权利。 Oracle 主目录 :E:OracleMiddleware12214 主产品清单:C:Program FilesOracleInventory 来自 : OPatch 版本 :13.9.4.2.4 OUI 版本 :13.9.4.0.0 日志文件位置:E:OracleMiddleware12214cfgtoollogsopatchopatch2021-01-05_16-17-16下午_1.log OPatch detects the Middleware Home as "E:OracleMiddleware12214" Lsinventory Output file location : E:OracleMiddleware12214cfgtoollogsopatchlsinvlsinventory2021-01-05_16-17-16下午.txt -------------------------------------------------------------------------------- Local Machine Information:: Hostname: xxxxx ARU platform id: 233 ARU platform description:: Microsoft Windows Server 2003 (64-bit AMD) 临时补丁程序 (1) : Patch 31960985 : applied on Tue Jan 05 15:44:51 CST 2021 Unique Patch ID: 23842278 Patch description: "WLS PATCH SET UPDATE 12.2.1.4.201001" Created on 2 Oct 2020, 09:46:49 hrs PST8PDT Bugs fixed: 30884852, 30885128, 30729141, 31232471, 30633620, 31510290, 30885217 31770512, 30068341, 25219796, 31247235, 31567049, 31353368, 31332264 30230430, 31765550, 30459026, 30838007, 30465861, 30153412, 31765567 30885114, 31657139, 30961904, 29769772, 31234573, 31297042, 31113242 26444945, 30510407, 30885237, 30155056, 30284059, 30341541, 31441174 30692988, 31913015, 29247835, 29971088, 30958807, 31316252, 30362086 30734182, 30295025, 31380363, 30814590, 30624882, 30771358, 29671344 30285053, 30740009, 30478451, 31047981, 30563848, 30067299, 31234666 29878681, 31011293, 30801769, 30342923, 31142740, 31332368, 30326976 30837932, 30469093, 30362026, 30568713, 30468443, 30589563, 30670689 30558254, 30964331, 31157988 -------------------------------------------------------------------------------- OPatch succeeded.
================================
©Copyright 蕃薯耀 2021-01-05
https://www.cnblogs.com/fanshuyao/