Sun Java System Application Server Platform Edition 8.2 发行说明

AS 8.2 启动时无法正确处理特定的 Java System 属性。(ID 6372759)

将以下内容添加到 JVM 代理设置会导致服务器无法启动:


<jvm—options>-Dhttp.proxyHost=webcache.east.sun.com</jvm—options>
<jvm—options> -Dhttp.proxyPort=8080</jvm—options>
<jvm—options>-Dhttp.nonProxyHosts="mssp.ctu.gov|*.ctu.gov|localhost"
</jvm—options>

插入 * 字符会导致发生“找不到类 Def”错误(线程 main java.lang.NoClassDefFoundError: com/sun/enterprise/security/store/IdentityManager 中的异常)。插入 | 字符会导致启动脚本等待服务器启动超时。

此功能对于支持驻留在防火墙后且需要访问外部和内部服务器的 Application Server 部署(和门户部署)十分重要。Portal Server URL Scraper 便是一个例子。要允许 URL Scraper 从外部源获取内容,这些设置是必需的。

解决方法

编辑 install-dir/config/asenv.conf 文件,将行 AS_NATIVE_LAUNCHER="true" 更改为 AS_NATIVE_LAUNCHER="false"