本节介绍已知的文档问题和相应的解决方法。
缺少多个 AMX 接口和方法的 Javadoc 或该 Javadoc 不正确:
ConnectorConnectionPoolStats 和 AltJDBCConnectionPoolStats 中缺少用于获取 NumConnAcquired 和 NumConnReleased 统计信息的 getter 方法。这些 getter 方法将以 getNumConnAcquired() 和 getNumConnReleased() 的形式添加到将来的版本中。
在 EJBCacheStats 中调用以下方法时将抛出异常:getPassivationSuccesses()、getExpiredSessionsRemoved()、getPassivationErrors() 和 getPassivations()。在以后的版本中将修复此问题。
服务器启动后,可能需要几秒钟才能注册和使用所有的 AMX MBean。在以后的版本中,将可以确定完全装入 AMX MBean 的时间。
常数 XTypes.CONNNECTOR_CONNECTION_POOL_MONITOR 拼写错误 ("NNN")。在以后的版本中将纠正此问题。
线程 main 中会抛出以下异常:java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher。
建议不要对 Application Server 外的对象使用捆绑的 ANT。
《Sun Java System Application Server Enterprise Edition 8.2 Performance Tuning Guide》错误地介绍了有关日志选项的以下内容:
管理 GUI 提供了以下两个日志记录选项:
选项 1 – 将 stdout (System.out.print) 内容记录到事件日志中
选项 2 – 将 stderr (System.err.print) 内容记录到事件日志中
Application Server Enterprise Edition 8.2 中不再存在这些日志选项。
Application Server Enterprise Edition 8.2 的文档《Sun Java System Application Server Enterprise Edition 8.2 Performance Tuning Guide》中的“HTTP File Cache”一节介绍了 HTTP 文件高速缓存功能。但是,Application Server Enterprise Edition 8.2 中不包括此功能。请注意,已在 Application Server 9.0 中重新引入了此功能。
由于存在其他错误(可能为 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); |