Sun Microsystems 820682310 Server User Manual


 
Issues Related to MySQL
Exception When Creating MySQL Connection Pool
Description
On Windows, you get an exception when creating a MySQL connection pool using the
Administration Console.
Solution
See “Attempt to Use Administration Console to Create a Connection Pool Fails Even if the
Driver Is Present (Issue 6671)” in Sun GlassFish Enterprise Server v3 Prelude Release Notes.
Issues Related to Security
java.security.AccessControlException: Access
Denied Error
Description
The following error occurs from an application client, or appears in the server.log le:
java.security.AccessControlException: access denied
(java.util.PropertyPermission name write...)
There is a permissions issue in the policy les. Either the client.policy le for the application
client or the server.policy le for server side components does not have permission to set the
property.
Solution
Add the permission in client.policy (for the application client), or in server.policy (for
web modules) for the application that needs to set the property. By default, applications only
have “read” permission for properties.
For example, to grant read/write permission for all les in the codebase directory, add or
append the following to client.policy or server.policy:
IssuesRelatedtoMySQL
SunGlassFishEnterpriseServerv3PreludeTroubleshootingGuide November200836