Bug #71709 Root cause of exception lost when creating a new JDBC 4 connection proxy
Submitted: 13 Feb 2014 16:25 Modified: 28 Mar 2014 15:05
Reporter: Jess Balint Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Jess Balint CPU Architecture:Any
Tags: fabric

[13 Feb 2014 16:25] Jess Balint
Description:
When using C/J Fabric, the root cause exception thrown during the constructor of com.mysql.fabric.jdbc.JDBC4FabricMySQLConnectionProxy is lost.

The exception only gives the following information:

java.sql.SQLException: Unable to establish connection to the Fabric server
	at com.mysql.fabric.jdbc.FabricMySQLDriver.connect(FabricMySQLDriver.java:78)
	at java.sql.DriverManager.getConnection(DriverManager.java:571)
	at java.sql.DriverManager.getConnection(DriverManager.java:215)
	at ...

How to repeat:
Attempt to create a connection with parameters that will cause a failure.
[28 Mar 2014 15:05] Daniel So
Fixed in Connector/J 5.1.10. No changelog entry is created, as Fabric is only supported beginning with release 5.1.10.
[28 Mar 2014 15:14] Daniel So
CORRECTION to the last comment:

Fixed in Connector/J 5.1.30. No changelog entry is created, as Fabric is only supported beginning with release 5.1.30.