ITPub博客

首页 > Linux操作系统 > Linux操作系统 > weblogic静默安装

weblogic静默安装

原创 Linux操作系统 作者:xccfeng 时间:2013-03-13 09:36:04 0 删除 编辑
1:适用范围
操作系统:SUSE LINUX 10及以上、AIX6.1、WINDOWS
weblogic版本:weblgoic8、9、10版本
2:获取安装包
3:修改silent.xml
silent内容:
***********************************************************

<!-- Specify values for each data-value name as follows:
     BEAHOME   :Weblogic安装后的总目录,wls将安装在此子目录下,domain默认也在此目录下,还有JDK等     
     WLS_INSTALL_DIR    :Weblogic 的安装目录。weblogic10专用,一般在BEAHOME下以wlserver_命名。例如:/opt/weblogic/ Oracle/Middleware_Home/wlserver_10.3
     COMPONENT_PATHS
     INSTALL_NODE_MANAGER_SERVICE  :Windows才需要使用,其它平台上选择no
     NODEMGR_PORT       :Windows专用,其它平台不理会
     INSTALL_SHORTCUT_IN_ALL_USERS_FOLDER :Windows专用,其它平台上选择no.
     BEA_BUNDLED_JVMS      
     LOCAL_JVMS
 -->

 
   
   
          value="WebLogic Server/Core Application Server
      |WebLogic Server/Administration Console
      |WebLogic Server/Configuration Wizard and Upgrade Framework
      |WebLogic Server/Web 2.0 HTTP Pub-Sub Server
      |WebLogic Server/WebLogic JDBC Drivers
      |WebLogic Server/Third Party JDBC Drivers
      |WebLogic Server/WebLogic Server Clients
      |WebLogic Server/WebLogic Web Server Plugins
      |WebLogic Server/UDDI and Xquery Support
      |WebLogic Server/Server Examples" /> 
   
   
   
    <!--
   
    -->
  

***********************************************************
4:执行静默安装指令

  执行命令开始静默安装weblogic,在可执行文件后添加三个参数:

-mode=silent -silent_xml=**/silent.xml -log=****

例子:1、./server920_linux32.bin -mode=silent -silent_xml=/opt/wls/wls9/silent.xml  -log=/opt/wls/wls9/wls_install.log

2、./wls1033_oepe111150_linux32.bin -mode=silent -silent_xml=/opt/wls/wls10/silent.xml  -log=/opt/wls/wls10/wls_install.log

5:查看安装日志

查看日志wls_install.log,有类似

com.bea.plateng.wizard.silent.tasks.LogTask - The installation was successfull!表明安装成功。

6:错误定位解决

Weblogic静默安装时对silent.xml有非常严格的格式要求。

比较常见的就是COMPONENT_PATHS存在空格导致安装错误。

具体错误现象为:

The local BEA product registry is corrupted. Please select another Middleware Home or contact Oracle Support

** Error during execution, error code = 65280.

解决措施:

WebLogic Server/Core Application Server

      |WebLogic Server/Administration Console

      |WebLogic Server/Configuration Wizard and Upgrade Framework

      |WebLogic Server/Web 2.0 HTTP Pub-Sub Server

      |WebLogic Server/WebLogic JDBC Drivers

      |WebLogic Server/Third Party JDBC Drivers

      |WebLogic Server/WebLogic Server Clients

      |WebLogic Server/WebLogic Web Server Plugins

      |WebLogic Server/UDDI and Xquery Support

      |WebLogic Server/Server Examples

改成一行就能将空格挤掉:

WebLogic Server/Core Application Server|WebLogic Server/Administration Console|WebLogic Server/Configuration Wizard and Upgrade Framework|WebLogic Server/Web 2.0 HTTP Pub-Sub Server|WebLogic Server/WebLogic JDBC Drivers|WebLogic Server/Third Party JDBC Drivers|WebLogic Server/WebLogic Server Clients|WebLogic Server/WebLogic Web Server Plugins|WebLogic Server/UDDI and Xquery Support|WebLogic Server/Server Examples

 

 
 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28588485/viewspace-755976/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 游标问题
请登录后发表评论 登录
全部评论

注册时间:2013-02-25

  • 博文量
    56
  • 访问量
    254456