加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

查看weblogic版本号

发布时间:2020-12-16 09:07:26 所属栏目:百科 来源:网络整理
导读:在weblogic上部署的项目,在迁移的时候,通常必须迁移到相同版本的weblogic容器上面去,那怎么看当前weblogic的版本号呢?两个方法: 第一,查看weblogic的安装日志,里面包含版本号 ; 第二,查看weblogic主目录下面的registry.xml文件,里面包含版本号 。


在weblogic上部署的项目,在迁移的时候,通常必须迁移到相同版本的weblogic容器上面去,那怎么看当前weblogic的版本号呢?两个方法:第一,查看weblogic的安装日志,里面包含版本号第二,查看weblogic主目录下面的registry.xml文件,里面包含版本号


安装日志


weblogic的安装日志log.txt 一般在weblogic安装目录的根目录下面的logs文件夹下面

里面内容比较少,主要包含weblogic安装时安装的组件和中间件等,每个组件都有对应的版本号

2015-5-30 8:39:37 -- install "WebLogic Platform" 10.3.5.0 在 D:OracleMiddlewareOracle11g_Home
    发行版  10.3.5.0 [已添加]
    |_____Common Infrastructure Engineering 7.2.0.0 [已添加]
    |    |_____Uninstall [已添加]
    |    |_____Patch Client [已添加]
    |    |_____Patch Attachment Facility [已添加]
    |    |_____Clone Facility [已添加]
    |_____WebLogic Server 10.3.5.0 [已添加]
    |    |_____Core Application Server [已添加]
    |    |_____Administration Console [已添加]
    |    |_____Configuration Wizard and Upgrade Framework [已添加]
    |    |_____Web 2.0 HTTP Pub-Sub Server [已添加]
    |    |_____WebLogic SCA [已添加]
    |    |_____WebLogic JDBC Drivers [已添加]
    |    |_____Third Party JDBC Drivers [已添加]
    |    |_____WebLogic Server Clients [已添加]
    |    |_____WebLogic Web Server Plugins [已添加]
    |    |_____UDDI and Xquery Support [已添加]
    |    |_____Server Examples [未安装]
    |    |_____Evaluation Database [已添加]
    |    |_____Workshop Code Completion Support [已添加]
    |_____Oracle Configuration Manager 10.3.3.1 [已添加]
    |    |_____Data Collector [已添加]
    |_____Oracle Coherence 3.6.0.4 [已添加]
         |_____Coherence Product Files [已添加]
         |_____Coherence Examples [未安装]

如上面的安装日志主要包含下面的内容

该weblogic安装于 2015-5-30 8:39:37,安装的weblogic 平台为 10.3.5.0,安装在了 D:OracleMiddlewareOracle11g_Home 目录下


包含了四个大的组件:

版本号为 7.2.0.0 Common Infrastructure Engineering

版本号为 10.3.5.0WebLogic Server

版本号为 10.3.3.1Oracle Configuration Manager

版本号为 3.6.0.4Oracle Coherence

各组件后面的子组件,也标注了是否已安装。


registry.xml


registry.xml里面和安装日志里面是类似的内容

<?xml version="1.0" encoding="UTF-8"?><bea-product-information xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:gpr="http://www.bea.com/ns/cie/gpr">
  <host home="D:OracleMiddlewareOracle11g_Home" name="ZhangQi-PC">
    <product format="1.0" name="WebLogic Platform">
      <release level="10.3" ServicePackLevel="5" PatchLevel="0" Status="installed" BeaProgramGroup="Oracle WebLogic (BEAHOME 2)" StartMenu="C:ProgramDataMicrosoftWindowsStart MenuPrograms" InstallTime="2015-5-30 8:39:37" InstallDir="D:OracleMiddlewareOracle11g_Home">
        <component name="Common Infrastructure Engineering" version="7.2.0.0" InstallDir="">
          <component name="Uninstall"/>
          <component name="Patch Client"/>
          <component name="Patch Attachment Facility"/>
          <component name="Clone Facility"/>
        </component>
        <component name="WebLogic Server" version="10.3.5.0" InstallDir="D:OracleMiddlewareOracle11g_Homewlserver_10.3">
          <component name="Core Application Server"/>
          <component name="Administration Console"/>
          <component name="Configuration Wizard and Upgrade Framework"/>
          <component name="Web 2.0 HTTP Pub-Sub Server"/>
          <component name="WebLogic SCA"/>
          <component name="WebLogic JDBC Drivers"/>
          <component name="Third Party JDBC Drivers"/>
          <component name="WebLogic Server Clients"/>
          <component name="WebLogic Web Server Plugins"/>
          <component name="UDDI and Xquery Support"/>
          <component name="Evaluation Database"/>
          <component name="Workshop Code Completion Support"/>
        </component>
        <component name="Oracle Configuration Manager" version="10.3.3.1" InstallDir="">
          <component name="Data Collector"/>
        </component>
        <component name="Oracle Coherence" version="3.6.0.4" InstallDir="D:OracleMiddlewareOracle11g_Homecoherence_3.6">
          <component name="Coherence Product Files"/>
        </component>
      </release>
    </product>
  </host>
</bea-product-information>

跟安装日志里面的信息完全的对应吧。


上面讲的就是查看weblogic版本号的两种方法,第二种方法,通过查看registry.xml 更通用些,它就在weblogic的根目录下面。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读