Jar not applied /opt/upload/Opatch/24955267/files/oracle.bi.server/12.2.1.2.0/bi.symbol/bifoundation/javahost/lib/obisintegration/obi-datasrc-server-filebased.war/WEB-INF/lib/obi-datasrc-mgr.
jar/oracle/bi/datasource/service/adf/protocol/ADFProtocolReq.class to /home/obiee/Oracle/Middleware/Oracle_Home/bi/bifoundation/javahost/lib/obisintegration/obi-datasrc-server-filebased.war... 'duplicate entry: WEB-INF/lib/stax-api.jar'
Do you want to proceed? [y|n]
n
User Responded with: N
ApplySession failed in system modification phase... 'ApplySession::apply failed: Jar not applied /opt/upload/Opatch/24955267/files/oracle.bi.server/12.2.1.2.0/bi.symbol/bifoundation/javahost/
lib/obisintegration/obi-datasrc-server-filebased.war/WEB-INF/lib/obi-datasrc-mgr.jar/oracle/bi/datasource/service/adf/protocol/ADFProtocolReq.class to /home/obiee/Oracle/Middleware/Oracle_Home/bi/bifoundation/javahost/lib/obisintegration/obi-datasrc-server-filebased.war... 'duplicate entry: WEB-INF/lib/stax-api.jar'
/home/obiee/Oracle/Middleware/Oracle_Home/bi/bifoundation/javahost/lib/obisintegration/obi-datasrc-server-filebased.war路径下面有2个重复文件stax-api.jar
有一个安全一个是非安全。把非安全的stax-api.jar删除。保留一个。
重新上传更改之后的obi-datasrc-server-filebased.war包
在包的路径下重新运行opatch apply 。
[obiee@OBIServer 24955267]$ opatch apply
Oracle Interim Patch Installer version 13.9.1.0.0
Copyright (c) 2017, Oracle Corporation. All rights reserved.
Oracle Home : /home/obiee/Oracle/Middleware/Oracle_Home
Central Inventory : /home/oracle/app/oraInventory
from : /home/obiee/Oracle/Middleware/Oracle_Home/oraInst.loc
OPatch version : 13.9.1.0.0
OUI version : 13.9.1.0.0
Log file location : /home/obiee/Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2017-07-18_10-04-43AM_1.log
OPatch detects the Middleware Home as "/home/obiee/Oracle/Middleware/Oracle_Home"
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 24955267
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/home/obiee/Oracle/Middleware/Oracle_Home')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '24955267' to OH '/home/obiee/Oracle/Middleware/Oracle_Home'
Patching component oracle.bi.server, 12.2.1.2.0...
Patch 24955267 successfully applied.
Log file location: /home/obiee/Oracle/Middleware/Oracle_Home/cfgtoollogs/opatch/opatch2017-07-18_10-04-43AM_1.log
OPatch succeeded.
可以看到不会再出现之前的警告。打补丁成功。