D:\oracle\Middleware\utils\bsu>bsu.cmd -install -patch_download_dir=D:\oracle\Mi
ddleware\utils\bsu\cache_dir -patchlist=DEM4 -prod_dir=D:\oracle\Middleware\wlse
rver_10.3
检查冲突...
未检测到冲突
正在安装补丁程序 ID: DEM4..
结果: 成功
5.验证一下:
D:\oracle\Middleware\utils\bsu>java weblogic.version
WebLogic Server 10.3.6.0.160419 PSU Patch for BUG22505423 TUE FEB 09 15:54:42 IS
T 2016
WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050
Use 'weblogic.version -verbose' to get subsystem information
Use 'weblogic.utils.Versions' to get version information for all modules
可见psu安装成功.
详细的,也可以看这个:
D:\oracle\Middleware\utils\bsu>bsu.cmd -prod_dir=d:\Oracle\Middleware\wlserver_1
0.3 -status=applied -verbose -view
ProductName: WebLogic Server
ProductVersion: 10.3 MP6
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 SCA,WebLogic Server/WebLogic JDBC
Drivers,WebLogic Server/Third Party JDBC Drivers,WebLogic S
erver/WebLogic Server Clients,WebLogic Server/WebLogic Web S
erver Plugins,WebLogic Server/UDDI and Xquery Support,WebLog
ic Server/Evaluation Database,WebLogic Server/Workshop Code
Completion Support
BEAHome: D:\oracle\Middleware
ProductHome: D:\oracle\Middleware\wlserver_10.3
PatchSystemDir: D:\oracle\Middleware\utils\bsu
PatchDir: D:\oracle\Middleware\patch_wls1036
Profile: Default
DownloadDir: D:\oracle\Middleware\utils\bsu\cache_dir
JavaVersion: 1.6.0_29
JavaVendor: Sun
Patch ID: DEM4
PatchContainer: DEM4.jar
Checksum: -1613181183
Severity: optional
Category: General
CR/BUG: 22505423
Restart: true
Description: WLS PATCH SET UPDATE 10.3.6.0.160419
WLS PATCH SET UPDATE 10
.3.6.0.160419
C:\Users\zhengquan>java weblogic.version
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/version
Caused by: java.lang.ClassNotFoundException: weblogic.version
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: weblogic.version. Program will exit.