LabKey's JDBC driver allows Spotfire to query the server and use the results to build visualizations. To configure Spotfire to use the LabKey JDBC driver, do the following:
<tibco-server-install>/tomcat/lib/
<jdbc-type-settings>
<type-name>LabKey</type-name>
<driver>org.labkey.jdbc.LabKeyDriver</driver>
<connection-url-pattern>jdbc:labkey:http<s>://<host>:<port>/<context></connection-url-pattern>
<ping-command></ping-command>
<use-ansii-join>true</use-ansii-join>
<connection-properties>
<connection-property>
<key>rootIsCatalog</key>
<value>true</value>
</connection-property>
</connection-properties>
</jdbc-type-settings>
For more details, see the Spotfire documentation:
In Spotfire Server, add the following to Spotfire’s tomcat/conf/logging.properties:
org.labkey.jdbc.level = FINE
In Spotfire’s tomcat’s default logging config, this will result in logging into the stderr log file appender.
Note that unimplemented JDBC methods get logged as SEVERE (java.util.logging) / ERROR (log4j/slf4j).
Logging options:
previousnext |
expand allcollapse all |