前些天成功安装过,不知道那次为何如此顺利,这次在第一步卡壳n久,非常不爽,撰文以记之。
软件下载:
http://edelivery.oracle.com
License:
http://licensecodes.oracle.com/ent_keys_by_prod.html
文档:
http://www.oracle.com/technology/documentation/psftent.html
http://www.oracle.com/technology/documentation/psftarch.html
OS: windows 2003 sp2
准备安装 PeopleTools 8.49
第一步,阅读文档《Enterprise PeopleTools8.49 Installation for Microsoft SQLServer》
第二步,安装 BEA WebLogic Server 9.2 for MS Windows
运行 install.cmd,指定安装目录到d:/bea
报错
The WebLogic installer will start in a separate window. That window will close itself once the extraction and installation has completed. Step 2 - complete.
ERROR - WebLogic Server 9.2 did not install correctly.
Common causes of installation failures are; * Lack of disk space (350MB is needed) * Corrupt d:/bea/registry.xml * d:/bea/registry.xml may indicate that WebLogic 9.2 is already installed
Would you like to view d:/bea/logs/wls92_install.log [yes/no] ? |
这个错误真奇怪!关于第一点,d盘是空的,肯定有空间。第三点,新装的操作系统,没装过任何东西。只能是文件损坏了?另d:/bea/logs/wls92_install.log的内容:
2007-09-14 09:37:17,718 FATAL [readSilentXML] com.bea.plateng.wizard.installer.common.parsers.TemplateParser - Got an error in parsing template.xml! 2007-09-14 09:37:17,750 FATAL [readSilentXML] com.bea.plateng.wizard.installer.silent.tasks.ReadSilentXMLTask - java.lang.NullPointerException |
看起来是某个xml文件格式有错。可是找不到这个template.xml
翻遍google,baidu发现整个互联网对这个问题只有可怜的一个帖子,而且没有解决。
查看install.cmd,原来有参数是-mode=silent -silent_xml=%BEA_HOME%/installer.xml -log=%BEA_HOME%/logs/wls92_install.log
查看d:/bea/installer.xml发现第一行有一串字符“Invalid keyboard code specified”,那么就是这个xml有错误了?
不晓得这个错误从哪里来的,安装原文件目录中的installer.xml看起来是正常的,得想办法去掉这一行。
再次执行install.cmd,指定bea_home,趁着解压的功夫,编辑d:/bea/installer.xml,去掉第一行,保存。
嗯,一切顺利,weblogic装好了:)
再次审视inistall.cmd,应该是这一句%INSTALL_SRC%/utils/SBS2.com 0 "bea_home" "%BEA_HOME%" < %INSTALL_SRC%/installer.xml > %BEA_HOME%/installer.xml把installer.xml复制过去的。
SBS2的用法,http://www.geocities.com/leopignataro86/batchfiles/other/sbs2.txt
似乎只是替换了一下bea_home,怎么产生这个错误的呢?搞不懂。
接下来安装 BEA Tuxedo 9.1 for Windows and HP-UX