Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.4.0, 1.4.1, 1.4.2
-
None
-
Google App Engine Java
Description
1.4.2 (and probably the 1.4.x branch) of Connector/J is not compatible with Google App Engine because it uses a restricted class. Here is the error produced by App Engine:
*_java.lang.management.ManagementFactory is a restricted class. Please see the Google App Engine developer's guide for more details
_*
The 1.3.x branch of Connector/J does not have this problem and works fine on App Engine. There are a lot of Google App Engine users, so it would be best to remove the 1.4.x branch's dependency on this class.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 1.4.1 [ 22004 ] | |
Affects Version/s | 1.4.0 [ 19606 ] |
Fix Version/s | 1.4.3 [ 22011 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Component/s | Other [ 12201 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 74848 ] | MariaDB v4 [ 134858 ] |
That's since 1.4.0, because driver send different client information to server, so from the server admin can identified current connections.
One of those informations is the running process ID using ManagementFactory.getRuntimeMXBean().getName().
Add a catch on ManagementFactory use (commit)