Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Release Notes

Documentation

This section describes known documentation issues and associated solutions.

Bug ID 

Summary 

Various IDs 

Javadoc Inconsistencies. 

The Javadoc for several AMX interfaces and methods is either missing or incorrect: 

  • Getter methods for NumConnAcquired and NumConnReleased statistics are missing from ConnectorConnectionPoolStats and AltJDBCConnectionPoolStats. These getter methods will be added in a future release as getNumConnAcquired() and getNumConnReleased().

  • Calling the following methods in EJBCacheStats will throw an exception: getPassivationSuccesses(), getExpiredSessionsRemoved(), getPassivationErrors(), getPassivations(). This will be fixed in a future release.

  • The AMX MBeans may require several seconds after server startup before they are all registered and available for use. A future release will make it possible to determine when the AMX MBeans are fully loaded.

  • The constant XTypes.CONNNECTOR_CONNECTION_POOL_MONITOR is misspelled ("NNN"). This will be corrected in a future release.

6265624 

Bundled ANT throws java.lang.NoClassDefFoundError.

The following exception is thrown in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher.

Solution

Use the bundled ANT for things outside the Application Server is not recommended. 

6486123 

Documentation on getting a physical Connection from a wrapped Connection is no longer correct. 

As a result of other defects (possibly 6295215) the code provided in the Obtaining a Physical Connection from a Wrapped Connection in Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer’s Guidesection of Chapter 11, Using the JDBC API for Database Access, in Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer’s Guide is not correct. Specifically, the line:


Connection drivercon = ds.getConnection(con);

should now read: 


Connection drivercon = ((com.sun.gjc.spi.DataSource)ds).getConnection(con);