Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. -bash-4.1$ java chihuahua.software.demo.mysql.EmployeesJdbc
  2. baseURL:jdbc:mysql:fabric://localhost:32274/
  3. Exception in thread "main" java.sql.SQLException: Unable to establish connection to the Fabric server
  4. at com.mysql.fabric.jdbc.FabricMySQLDriver.connect(FabricMySQLDriver.java:80)
  5. at java.sql.DriverManager.getConnection(DriverManager.java:571)
  6. at java.sql.DriverManager.getConnection(DriverManager.java:215)
  7. at chihuahua.software.demo.mysql.EmployeesJdbc.main(EmployeesJdbc.java:43)
  8. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Unable to establish connection to the Fabric server
  9. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  10. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  11. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  12. at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
  13. at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
  14. at com.mysql.jdbc.Util.getInstance(Util.java:360)
  15. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
  16. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:935)
  17. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
  18. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:870)
  19. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:902)
  20. at com.mysql.fabric.jdbc.FabricMySQLConnectionProxy.<init>(FabricMySQLConnectionProxy.java:179)
  21. at com.mysql.fabric.jdbc.JDBC4FabricMySQLConnectionProxy.<init>(JDBC4FabricMySQLConnectionProxy.java:90)
  22. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  23. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  24. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  25. at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
  26. at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
  27. at com.mysql.fabric.jdbc.FabricMySQLDriver.connect(FabricMySQLDriver.java:78)
  28. ... 3 more
  29. Caused by: com.mysql.fabric.FabricCommunicationException: Error during call to `dump.servers' (args=[Ljava.lang.Object;@5c9b027d)
  30. at com.mysql.fabric.proto.xmlrpc.InternalXmlRpcMethodCaller.call(InternalXmlRpcMethodCaller.java:115)
  31. at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.errorSafeCallMethod(XmlRpcClient.java:149)
  32. at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.getServerGroups(XmlRpcClient.java:198)
  33. at com.mysql.fabric.proto.xmlrpc.XmlRpcClient.getServerGroups(XmlRpcClient.java:218)
  34. at com.mysql.fabric.FabricConnection.refreshState(FabricConnection.java:68)
  35. at com.mysql.fabric.FabricConnection.<init>(FabricConnection.java:43)
  36. at com.mysql.fabric.jdbc.FabricMySQLConnectionProxy.<init>(FabricMySQLConnectionProxy.java:177)
  37. ... 10 more
  38. Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:32274
  39. at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1626)
  40. at com.mysql.fabric.xmlrpc.Client.execute(Client.java:90)
  41. at com.mysql.fabric.proto.xmlrpc.InternalXmlRpcMethodCaller.call(InternalXmlRpcMethodCaller.java:112)
  42. ... 16 more
  43. -bash-4.1$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement