crate / crate-jdbc

A JDBC driver for CrateDB.
https://crate.io/docs/jdbc/
Apache License 2.0
23 stars 29 forks source link

Is there any download for the build? #18

Closed megastef closed 10 years ago

megastef commented 10 years ago

Hi I would like to test the driver (e.g. with Jasper BI), but don't want to install complete Java Dev. Env. for it. Any download for a build available? Any example what to put into the connect string?

seut commented 10 years ago

yes, we host binary builds at bintray.com. see: https://crate.io/docs/projects/crate-jdbc/stable/ & https://bintray.com/crate/crate/crate-jdbc/view latest version is 1.0.3.

megastef commented 10 years ago

Ok got it, Thx!

megastef commented 10 years ago

I get this message in Japser, Looks it is JDK 7 - or jasper use an inbuilt java runtime? Any idea? bildschirmfoto 2014-06-05 um 12 51 09

mfelsche commented 10 years ago

HI @megastef, this issue appears when you try to load the jdbc driver from within a java < 7. So, apprently not the java from your PATH. please check the configured jvm for your jaspersoft studio.

Maybe this link can be of any help: http://community.jaspersoft.com/questions/821941/how-can-i-tell-jaspersoft-studio-use-my-current-java-version-instead-bundled-one

megastef commented 10 years ago

In JasperStudio on Mac you need to display "app content" and the file is called "Jaspersoft Studio.ini". It uses now Java 7. But I get connection using connect string:

crate://localhost:4300

Netcat connects to TCP 4300. I tried also via my IP on the en0 interface ... loopback and en0 works. Now I upgraded to 0.38.3 - same message:

Crate 0.38.0 is running and listening to 4200/4300. But this is the exception I get a ClassNotFoundException: ...NoNodeAvailableException' in

io.crate.client.jdbc.CrateDriver.connect(CrateDriver.java:57)

The exception says that there is a missing class in the driver, when it tries to connect. Pls .check your build.

mfelsche commented 10 years ago

@megastef let's discuss this in the new issue #19