Open rodabt opened 4 years ago
Hey, thanks for using Poli.
I can reproduce your issue. It throws a no class found error when I try to test the connection because it cannot find the httpclientcomponent dependency the jdbc driver needs. The root cause is the clickhouse jdbc in maven has no dependencies included.
Here is how I fix it.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
Here is my datasource setup
Hi shzlw! Thanks for looking at it. Poli it's a wonderful product!
I followed your suggestions and generated a new jar with all dependencies. Copied that to jdbc-drivers, but after I restarted poli it throws a new error:
Internal Server Error: com.fasterxml.jackson.annotation.JsonFormat$Value.hasLenient()Z
By the way, I'm using the docker version of Poli....and Windows 10
Tried again again with a fresh new install of Ubuntu 20.04 (on Docker), latest openjdk-11 and latest poli (0.12.2).
Cloned jdbc driver to that machine and generated .jar with dependencies using mvn, excluding javadoc dependency portion. Still the getting same error: Internal Server Error: 'boolean com.fasterxml.jackson.annotation.JsonFormat$Value.hasLenient()'
I only tested the data source connection by clicking the ping button. Did you get the exception when you try to ping the database or it happened when you tried to run a query in a report?
I only tested the data source connection by clicking the ping button. Did you get the exception when you try to ping the database or it happened when you tried to run a query in a report?
It happens after restarting during login. First I started the app, changed password, added the new driver, then restarted...and there appears the error when I try to login. Somehow the addition of that jar interferes with the login process...
Docker in my Ubuntu is messed up. I will need to try it on my Mac. Please just try install Poli through release zip to see if you still get the error or it is Poli in docker specific.
Hi all,
I'm trying to use Poli with Clickhouse using the official JDBC driver, but after setting parameters it shows an Internal Server error message in Poli:
Internal Server Error: org/apache/http/conn/ConnectionKeepAliveStrategy
I've tried increasing JDBC parameters like connect_timeout and similar to no avail.
Is there any workaround?
Thanks!