Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -bash-4.1$ java chihuahua.software.demo.mysql.EmployeesJdbc
- baseURL:jdbc:mysql:fabric://localhost:32274/
- Exception in thread "main" java.sql.SQLException: Unable to establish connection to the Fabric server
- at com.mysql.fabric.jdbc.FabricMySQLDriver.connect(FabricMySQLDriver.java:80)
- at java.sql.DriverManager.getConnection(DriverManager.java:571)
- at java.sql.DriverManager.getConnection(DriverManager.java:215)
- at chihuahua.software.demo.mysql.EmployeesJdbc.main(EmployeesJdbc.java:43)
- Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Unable to establish connection to the Fabric server
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
- at com.mysql.jdbc.Util.getInstance(Util.java:360)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:935)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:870)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:902)
- at com.mysql.fabric.jdbc.FabricMySQLConnectionProxy.<init>(FabricMySQLConnectionProxy.java:179)
- at com.mysql.fabric.jdbc.JDBC4FabricMySQLConnectionProxy.<init>(JDBC4FabricMySQLConnectionProxy.java:90)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
- at com.mysql.fabric.jdbc.FabricMySQLDriver.connect(FabricMySQLDriver.java:78)
- ... 3 more
- Caused by: com.mysql.fabric.FabricCommunicationException: Error during call to `dump.servers' (args=[Ljava.lang.Object;@5c9b027d)
- at com.mysql.fabric.proto.xmlrpc.InternalXmlRpcMethodCaller.call(InternalXmlRpcMethodCaller.java:115)
- at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.errorSafeCallMethod(XmlRpcClient.java:149)
- at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.getServerGroups(XmlRpcClient.java:198)
- at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.getServerGroups(XmlRpcClient.java:218)
- at com.mysql.fabric.FabricConnection.refreshState(FabricConnection.java:68)
- at com.mysql.fabric.FabricConnection.<init>(FabricConnection.java:43)
- at com.mysql.fabric.jdbc.FabricMySQLConnectionProxy.<init>(FabricMySQLConnectionProxy.java:177)
- ... 10 more
- Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:32274
- at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1626)
- at com.mysql.fabric.xmlrpc.Client.execute(Client.java:90)
- at com.mysql.fabric.proto.xmlrpc.InternalXmlRpcMethodCaller.call(InternalXmlRpcMethodCaller.java:112)
- ... 16 more
- -bash-4.1$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement