3rd party Voltdb management tool
Apr 9, 2013
Hi!
Is there some multiplatform management tool which could be used to connect voltdb from Windows?
I tried to use squirrel 3.4 (http://squirrel-sql.sourceforge.net/) to connect voltdb via odbc but get exception:
Before connecting to database I copied voltdb driver voltdbclient-3.1.jar to squirrel lib directory.
Used Jdbc url: jdbc:voltdb://<voltdb ip>:21212
Also I tried to use jdbc:voltdb://<voltdb ip> (without port).
VoltDb is running with Voter example. I able to connect to it from localhost using VoltDB Studio. Also I able to connect to voltdb (and call stored procedures) using C# driver from windows 7 computer where squirrel is installed.
Is there some multiplatform management tool which could be used to connect voltdb from Windows?
I tried to use squirrel 3.4 (http://squirrel-sql.sourceforge.net/) to connect voltdb via odbc but get exception:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class org.voltcore.utils.DBBPool
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.awaitConnection(OpenConnectionCommand.java:132)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$100(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$2.run(OpenConnectionCommand.java:115)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class org.voltcore.utils.DBBPool
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:175)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.access$000(OpenConnectionCommand.java:45)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand$1.run(OpenConnectionCommand.java:104)
... 6 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.voltcore.utils.DBBPool
at org.voltdb.messaging.FastSerializer.<init>(FastSerializer.java:98)
at org.voltdb.messaging.FastSerializer.<init>(FastSerializer.java:72)
at org.voltdb.messaging.FastSerializer.<init>(FastSerializer.java:56)
at org.voltdb.client.ConnectionUtil.getAuthenticatedConnection(ConnectionUtil.java:169)
at org.voltdb.client.ConnectionUtil.getAuthenticatedConnection(ConnectionUtil.java:143)
at org.voltdb.client.ConnectionUtil.getAuthenticatedConnection(ConnectionUtil.java:118)
at org.voltdb.client.Distributer.createConnectionWithHashedCredentials(Distributer.java:606)
at org.voltdb.client.ClientImpl.createConnectionWithHashedCredentials(ClientImpl.java:165)
at org.voltdb.client.ClientImpl.createConnection(ClientImpl.java:536)
at org.voltdb.jdbc.JDBC4ClientConnection.<init>(JDBC4ClientConnection.java:141)
at org.voltdb.jdbc.JDBC4ClientConnectionPool.get(JDBC4ClientConnectionPool.java:83)
at org.voltdb.jdbc.Driver.connect(Driver.java:91)
at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.executeConnect(OpenConnectionCommand.java:167)
... 8 more
Before connecting to database I copied voltdb driver voltdbclient-3.1.jar to squirrel lib directory.
Used Jdbc url: jdbc:voltdb://<voltdb ip>:21212
Also I tried to use jdbc:voltdb://<voltdb ip> (without port).
VoltDb is running with Voter example. I able to connect to it from localhost using VoltDB Studio. Also I able to connect to voltdb (and call stored procedures) using C# driver from windows 7 computer where squirrel is installed.