首页 > Linux操作系统 > Linux操作系统 > weblogic静默安装
执行命令开始静默安装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/ ,如需转载,请注明出处,否则将追究法律责任。