Download Sun GlassFish Enterprise Server v2.1.1 Release Notes

Transcript
Bundled Sun JDBC Drivers
ASQuickStartup breaks SocketChannel.keyFor(), returning null instead of the SelectionKey
(Issue Tracker 3027)
Description
When a SocketChannel is registered on several Selectors, doing
socketChannel.keyFor(lastRegisteredSelector) returns null instead of the SelectionKey.
Solution
This is related to a JDK bug, 6562829, and is expected to be fixed in 6.0 U3. A workaround has
been included in Enterprise Server 2.1, such that the selector is unwrapped before the keyFor
API is called. This enables the keyFor to succeed until JDK bug is fixed.
Bundled Sun JDBC Drivers
This section describes known bundled Sun JDBC driver issues and associated solutions.
PreparedStatement errors (6170432)
Description 1
If an application generates more than 3000 PreparedStatement objects in one transaction, the
following error may occur with DB2:
[sunm][DB2 JDBC Driver] No more available statements.Please recreate your
package with a larger dynamicSections value.
Solution 1
Add following properties to the connection pool definition to get the driver to rebind DB2
packages with a larger dynamic sections value:
createDefaultPackage=true replacePackage=true dynamicSections=1000
See the Sun GlassFish Enterprise Server v2.1.1 Administration Guidefor details about
configuring connection pools.
Description 2
Related to the PrepardStatement error above, another error message that may be thrown is:
[sunm][DB2 JDBC Driver][DB2]Virtual storage or database resource is not
available.
Solution 2
Increase the DB2 server configuration parameter APPLHEAPSZ. A good value is 4096.
48
Sun GlassFish Enterprise Server v2.1.1 Release Notes • October 2013