We’re on the final steps of setting up GoodData.CN, using BigQuery as our data source.
Everything has been going according to the documentation, up until the JDBC driver part. It does seem to load, but now we’re getting the following errors:
- when testing the connection via API:
{
"error": "Could not initialize connection to data source; caused by java.sql.SQLException: [JDBC Driver]null; caused by java.awt.HeadlessException",
"successful": false
} - in the front end:
scan error={\"detail\":\"Could not initialize connection to data source with id = sandbox-analytics-01; caused by java.sql.SQLException: [JDBC Driver]null; caused by java.awt.HeadlessException\",\"status\":400,\"title\":\"Bad Request\",\"traceId\":\"c61e3d6f6bdc4b5c\"}"
- and in the k8s pod:
{"ts":"2021-08-23 14:03:55.725","level":"ERROR","logger":"com.zaxxer.hikari.pool.HikariPool","thread":"DefaultDispatcher-worker-2","traceId":"1d81ad1e182ebdab","spanId":"e2268e780ca7b1da","userId":"admin","orgId":"syn","msg":"HikariPool-4 - Exception during pool initialization.","exc":"java.sql.SQLException: [JDBC Driver]null\n\tat java.desktop/java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)\n\tat java.desktop/java.awt.Window.<init>(Unknown Source)\n\tat java.desktop/java.awt.Frame.<init>(Unknown Source)\n\tat java.desktop/javax.swing.JFrame.<init>(Unknown Source)\n\tat com.simba.googlebigquery.googlebigquery.client.BQClient.userAccountOAuth(Unknown Source)\n\tat com.simba.googlebigquery.googlebigquery.core.BQConnection.connect(Unknown Source)\n\tat com.simba.googlebigquery.jdbc.common.BaseConnectionFactory.doConnect(Unknown Source)\n\tat com.simba.googlebigquery.jdbc.common.[...]
Any ideas what might be causing this?
Best answer by jku
View original