如何确定 Oracle 融合中间件版本
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6675869/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to determine Oracle Fusion Middleware version
提问by LeChat
I want to know which version of OFMW is installed. I know that there is information stored in $OFMW_HOME/wlserver_10.3/.product.properties: WLS_PRODUCT_VERSION=10.3.3.0
我想知道安装的是哪个版本的OFMW。我知道 $OFMW_HOME/wlserver_10.3/.product.properties 中存储了信息:WLS_PRODUCT_VERSION=10.3.3.0
But what if Oracle update Weblogic to 10.4?
但是如果 Oracle 将 Weblogic 更新到 10.4 呢?
And what about other products in Fusion Middleware?
那么融合中间件中的其他产品呢?
If it is not stored in a property file, is there a class, that I can run to get that information?
如果它没有存储在属性文件中,是否有一个类,我可以运行以获取该信息?
回答by Mariano Paniga
I've tried to play with "opatch" command: http://docs.oracle.com/cd/E28280_01/doc.1111/e16793/opatch.htm.
我尝试使用“opatch”命令:http: //docs.oracle.com/cd/E28280_01/doc.1111/e16793/opatch.htm。
It is installed with Oracle Fusion Middleware products inside <ORACLE_HOME>/Opatch
or <MIDDLEWARE_HOME>/oracle_common/OPatch
directories and I found the following simple options to find installed products and versions.
它与 Oracle 融合中间件产品<ORACLE_HOME>/Opatch
或<MIDDLEWARE_HOME>/oracle_common/OPatch
目录一起安装,我找到了以下简单选项来查找已安装的产品和版本。
List all the Oracle Homes and the Oracle Toplevel Component
opatch lshomes
Display the version of the Oracle Toplevel Component
opatch lsinventory -all
List the components versions of the specified Oracle Home:
opatch lsinventory -all -oh <ORACLE_HOME>
列出所有 Oracle Homes 和 Oracle Toplevel 组件
opatch lshomes
显示 Oracle Toplevel 组件的版本
opatch lsinventory -all
列出指定 Oracle Home 的组件版本:
opatch lsinventory -all -oh <ORACLE_HOME>
回答by Elham_Jahani
you should read and use this document :
您应该阅读并使用本文档:
https://docs.oracle.com/cd/E28280_01/core.1111/e10105/release.htm#ASADM10165