本节介绍已知的安装问题和相应的解决方法。
已在多种 Linux 系统上发现此问题。此问题在 Java Desktop System 2 上最常见,但在 Linux Red Hat 分发上也发现了此问题。
在安装程序的最后一个屏幕上单击完成按钮后,安装程序无法启动包含产品“关于”页面或产品注册页面的浏览器窗口,并且安装程序将无限期地挂起而不返回命令提示符。
通过在启动安装程序的终端窗口中按 Ctrl+C 组合键来退出安装程序。执行此操作后,有时会启动包含产品“关于”页面或注册页面的浏览器窗口。如果不显示此窗口,请启动浏览器并输入以下 URL 以查看“关于”页面:
file://install_dir/docs-ee/about.html |
如果您还选择了用于注册产品的安装选项,请点击产品“关于”页面上提供的指向注册页面的链接。
刚刚在 Windows 上安装 Application Server Enterprise Edition 之后,Message Queue 代理启动失败,并显示一条消息,说明目录 drive:\as\domains\domain1\imq 不存在。
请注意,如果在启动 domain1 后启动该代理,则 Application Server 将创建该目录,因此不会出现上述问题。
在创建代理之前创建 var_home_dir_location:
$imqbrokerd -varhome var_home_dir_location |
例如:
$imqbrokerd -varhome D:\as\domains\domain1\imq |
如果 Red Hat Linux Advanced Server (RHLAS) 3.0 或 4.0 系统上尚未安装 compat-libstdc++ 库,则在该系统上安装 Application Server Enterprise Edition 8.2 将失败。Application Server 要求 RHLAS 系统上具有 compat-libstdc++ 库,但默认情况下尚未安装此库。请注意,只有在 RHLAS 系统上才会出现此问题。
在安装 Application Server 软件之前,从 http://rpm.pbone.net/index.php3/stat/4/idpl/843376/com/compat-libstdc++-7.3-2.96.118.i386.rpm.html 中下载并安装 compat-libstdc++ RPM。
在 64 位模式下运行 Application Server Enterprise Edition 8.2 和 Web Server 7.0 时,尝试运行 64 位版的负载平衡器插件失败,并显示以下错误:
failure: CORE2253: Error running Init function load-modules: dlopen of /export/home/mareks/opt/webserver7/plugins/lbplugin/bin/libpassthrough.so failed (ld.so.1: webservd: fatal: /export/home/mareks/opt/webserver7/plugins/ lbplugin/bin/libpassthrough.so: wrong ELF class: ELFCLASS32) failure: server initialization failed |
此问题在于 Application Server Enterprise Edition 8.2 没有 64 位负载平衡器插件,而 64 位 Web Server 需要 64 位插件。
您可以通过使用以下命令来确定 Web Server 是在 64 位模式还是 32 位模式下运行:
wadm get-config-prop --user=admin --config=xxx --password-file=xxx platform |
没有计划用于 Application Server Enterprise Edition 8.2 的 64 位负载平衡器。要解决此问题,请使用 Web Server 7.0 反向代理功能,或将 Web Server 7.0 配置为在 32 位模式下运行。有关说明,请参阅 Web Server 文档。
在 Windows 2000 中的默认位置安装 Application Server 8.2 时,如果运行 asant deploy,可能会遇到以下错误:
$ C:/Sun/JavaES5/appserver/bin/asant deploy The input line is too long. The syntax of the command is incorrect. |
此问题在于 Windows 2000 中的命令行不能超过 1000 个字符,并且根据系统配置,默认的 ANT_OPTS 环境可能导致 asant deploy 命令行过长。此问题仅针对 Windows 2000。
在 Windows 2000 上,将 Application Server 安装在较短的目录路径中,例如 C:\JES5_AS。
在 Windows 上使用 JES 5 b12 时,如果在所选组件安装面板的顶层选择 Application Server,则默认情况下也会选择节点代理子组件。随后,安装过程将创建一个节点代理,以及一个属于此节点代理的名为 AppServer1 的服务器实例。这是正确的行为。
但是,如果取消选定节点代理子组件,安装过程仍在 common.properties 文件中为该域创建一个 AppServer1 实例;例如:
domain.name=domain1 appserver.instance=AppServer1 |
随后尝试使用 asant 部署应用程序将失败。
编辑 common.propeties 文件,用 appserver.instance=server 替换 appserver.instance=AppServer1。
由于存在其他错误(可能为 6295215),《Sun Java System Application Server Enterprise Edition 8.2 Developer’s Guide》中的“Obtaining a Physical Connection from a Wrapped Connection”一节中提供的代码不正确。 具体来说,以下行:
Connection drivercon = ds.getConnection(con); |
现在应该为:
Connection drivercon = ((com.sun.gjc.spi.DataSource)ds).getConnection(con); |
在此版本软件中,Application Server 不支持网络文件系统 (Network File System, NFS)。
无。