1、查看weblogic当前补丁列表
指令:
class="java" name="code">
sh bsu.sh -prod_dir=/opt/bea/weblogic10/wlserver_10.3 -status=applied -verbose -view
执行结果示例:
ProductName: WebLogic Server
ProductVersion: 10.3
Components: WebLogic Server/Core Application Server,WebLogic Server/Admi
nistration Console,WebLogic Server/Configuration Wizard and
Upgrade Framework,WebLogic Server/Web 2.0 HTTP Pub-Sub Serve
r,WebLogic Server/WebLogic JDBC Drivers,WebLogic Server/Thir
d Party JDBC Drivers,WebLogic Server/WebLogic Server Clients
,WebLogic Server/WebLogic Web Server Plugins,WebLogic Server
/UDDI and Xquery Support,WebLogic Server/Server Examples,Web
Logic Server/Evaluation Database,WebLogic Server/Workshop Co
de Completion Support
BEAHome: /opt/bea/weblogic10
ProductHome: /opt/bea/weblogic10/wlserver_10.3
PatchSystemDir: /opt/bea/weblogic10/utils/bsu
PatchDir: /opt/bea/weblogic10/patch_wls1030
Profile: Default
JavaVersion: 1.6.0_05
JavaVendor: Sun
Patch ID: WSNI
PatchContainer: WSNI.jar
Checksum: -36972098
Severity: optional
Category: Web App
CR:
Restart: true
Description: Advisory: Source code disclosure in WebLogic Server web page
s
Patch ID: XW21
PatchContainer: XW21.jar
Checksum: -537063176
Severity: optional
Category: Web App
CR:
Restart: true
Description: CPUJanuary2010 Advisory Fix
Patch ID: ZE59
PatchContainer: ZE59.jar
Checksum: -2102468132
Severity: optional
Category: Web App
CR: 9016893
Restart: true
Description: CPUJanuary2010 Advisory Fix
2、安装补丁
指令:
sh bsu.sh -install -patchlist=64F3 -patch_download_dir=/opt/bea/weblogic10/utils/bsu/cache_dir -prod_dir=/opt/bea/weblogic10/wlserver_10.3 -verbose
3、删除补丁
指令:
sh bsu.sh -remove -patchlist=LWVB -prod_dir=/opt/bea/weblogic10/wlserver_10.3