查看weblogic版本号


    在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:\Oracle\Middleware\Oracle11g_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:\Oracle\Middleware\Oracle11g_Home 目录下


包含了四个大的组件:

版本号为 7.2.0.0   的 Common Infrastructure Engineering 

版本号为 10.3.5.0WebLogic Server

版本号为 10.3.3.1Oracle Configuration Manager

版本号为  3.6.0.4  的  Oracle 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:\Oracle\Middleware\Oracle11g_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:\ProgramData\Microsoft\Windows\Start Menu\Programs" InstallTime="2015-5-30 8:39:37" InstallDir="D:\Oracle\Middleware\Oracle11g_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:\Oracle\Middleware\Oracle11g_Home\wlserver_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:\Oracle\Middleware\Oracle11g_Home\coherence_3.6">
          <component name="Coherence Product Files"/>
        </component>
      </release>
    </product>
  </host>
</bea-product-information>

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


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



  • 3
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: 可以通过以下命令在Linux上查看WebLogic版本号: 1. 进入WebLogic的安装目录,例如:/opt/weblogic/wlserver_10.3/server/bin 2. 执行以下命令:./version.sh 3. 在输出结果中,可以看到WebLogic版本号,例如:WebLogic Server 10.3.6.. ### 回答2: Linux 查看 WebLogic 版本号可以采用以下几种方法: 1.使用 WebLogic 控制台查看版本号WebLogic 控制台登录后,可以在主页上的“服务器”下找到 WebLogic 服务器的版本信息。具体操作步骤如下: 1)打开 WebLogic 控制台首页 2)在主页左侧导航栏点击“服务器” 3)在“服务器”页面上,查找当前正在运行的 WebLogic 服务器的名称 4)点击当前服务器名称,进入“概要”页面 5)在“概要”页面下方的“版本”中查看 WebLogic 版本号。 2. 在 WebLogic 实例安装目录下查看版本号WebLogic 的实例安装目录下,可以通过查看系统属性文件获取 WebLogic 版本号。具体操作步骤如下: 1)进入 WebLogic 实例安装目录,例如:/middleware/Oracle_Home/user_projects/domains/base_domain 2)进入 bin 目录 3)启动“setDomainEnv.sh”脚本 4)在控制台中输入以下命令: java weblogic.version 5)按回车键,即可查看 WebLogic 版本号。 3. 在 WebLogic 管理器中查看版本号 WebLogic 管理器是一种管理 WebLogic 服务器的工具,也可以通过它来查看 WebLogic 版本号。具体操作步骤如下: 1)打开 WebLogic 管理器 2)在导航菜单上点击“应用程序”选项 3)在“应用程序”页面中,找到您的 WebLogic 服务器实例 4)点击“基本信息”并在下方“服务器”下看到版本号 通过上述方法,可以方便地在 Linux 系统上查看 WebLogic 版本号,有助于维护和运维 WebLogic 服务器。 ### 回答3: 要查看WebLogic版本号,需要打开一个终端,然后按照以下步骤: 1、首先需要在终端中切换到WebLogic的安装目录。可使用以下命令将终端切换到WebLogic的根目录下: cd /home/user_name/Oracle/Middleware/wlserver_10.3 2、接着在WebLogic根目录下找到version.txt文件,可以使用以下命令进行查找: find . -name version.txt 3、找到version.txt文件后,使用cat命令查看文件内容: cat ./version.txt 4、在version.txt文件中查找WebLogic版本号,通常版本号会出现在第一行,如下所示: WebLogic Server 10.3.6.0.0MP1 Fri Nov 14 08:39:56 PST 2014 1480550 上述版本号中的"10.3.6.0.0MP1"就是WebLogic版本号。 除了使用终端命令来查找WebLogic版本号外,还可以通过WebLogic的控制台来查找版本号。需要先登录到WebLogic控制台,然后依次点击“服务器” -> “环境模拟器” -> “操作管理” -> “WebLogic版本”即可查看WebLogic版本号

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值