Hi Support,
Just installed the Pocketquery addon. Using the JDBC postgresql driver. The JDBC postgresql driver is also configured for Confluence to connect to the Confluence database so i know its working correctly.
2015-08-14 15:46:13,455 DEBUG [http-nio-8091-exec-7] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: Failed to connect to database bier!
2015-08-14 15:46:13,456 DEBUG [http-nio-8091-exec-7] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: There was an error: I cannot connect to this database. For inspection, add a logging entry with level debug and class "de.scandio.confluence.plugins.pocketquery.util.LogUtil" at Confluence Admin => "Logging and Profiling". PocketQuery will then log information to atlassian-confluence.log.
2015-08-14 15:49:26,465 DEBUG [http-nio-8091-exec-2] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: New message: pocketquery.admin.success.database.add
2015-08-14 15:49:27,663 DEBUG [http-nio-8091-exec-12] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: Testing database bier
2015-08-14 15:49:27,665 DEBUG [http-nio-8091-exec-12] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: Testing database connection bier | bier.***.local | jdbc:postgresql://bier.***.local:5432/bier | bier
2015-08-14 15:49:27,666 DEBUG [http-nio-8091-exec-12] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: Trying to load database driver jdbc:postgresql://bier.***.local:5432/bier
2015-08-14 15:49:27,668 DEBUG [http-nio-8091-exec-12] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: I could not load the driver =(. Exception info: name, java.lang.IllegalArgumentException: name
2015-08-14 15:49:27,669 DEBUG [http-nio-8091-exec-12] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: There was an SQLException when testing the connection =(. Info: Cannot instantiate JDBC driver class jdbc:postgresql://bier.***.local:5432/bier: name, java.sql.SQLException: Cannot instantiate JDBC driver class jdbc:postgresql://bier.***.local:5432/bier: name
2015-08-14 15:49:27,670 DEBUG [http-nio-8091-exec-12] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: Failed to connect to database bier!
2015-08-14 15:49:27,671 DEBUG [http-nio-8091-exec-12] [plugins.pocketquery.util.LogUtil] debug ====> PocketQuery says: There was an error: I cannot connect to this database. For inspection, add a logging entry with level debug and class "de.scandio.confluence.plugins.pocketquery.util.LogUtil" at Confluence Admin => "Logging and Profiling". PocketQuery will then log information to atlassian-confluence.log.
confluence:/var/atlassian/application-data/confluence/logs# ls /opt/atlassian/confluence/confluence/WEB-INF/lib/ | grep sql
hsqldb-2.3.0.jar
postgresql-9.2-1002.jdbc4.jar
Psql client
confluence:~# psql -U bier -h bier.***.local
Password for user bier:
psql (9.1.16)
SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
Type "help" for help.
bier=> \q
Much thanks in advanced.
Regards,
Michael Akkermans
Hi Jeffrey,
Thank you for your interest in PocketQuery!
Cannot instantiate JDBC driver class jdbc:postgresql://bier.***.local:5432/bier
At first glance, it looks like you entered the JDBC URL in the driver field. The driver should be "org.postgresql.Driver". Or am I wrong here?
Regards, Felix (Scandio)
Spot-on! Thanks very much @Felix Grund (Scandio)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! If that solved your issue, it would be nice if you accepted my answer. And even better would be a little review on the marketplace if you like PocketQuery and haven't done so yet. Thank you for support :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.