auto-commit keeps LabKey 15.3 from starting | bill c white | 2015-11-25 19:26 | |||||||||||||||||||||||||||||||||||||||||||||
Status: Closed | |||||||||||||||||||||||||||||||||||||||||||||||
I have setup LabKey several times (13.3, 14.1, 14.2, 14.3), and the 15.3 webapp is running, but this time I can't get past this JDBC error on first access. The labkey user has superuser access. I added the defaultAutoCommit line to try and resolve it, but no go. Any ideas? Thanks. Linux insilico 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Java 8 (installed apt-get PPA) Tomcat 7 (installed apt-get) PostgreSQL 9.3 (installed apt-get) LabKey 15.3 (download and fresh install to /usr/local/labkey) labkey.xml data source section: <Resource name="jdbc/labkeyDataSource" auth="Container" type="javax.sql.DataSource" defaultAutoCommit="true" username="labkey" password="l@bk3y" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://localhost/labkey" maxActive="20" maxIdle="10" accessToUnderlyingConnectionAllowed="true" validationQuery="SELECT 1" /> Configuration Error Detected at LabKey Server Startup A database connection is in an unexpected state: auto-commit is false. This indicates a configuration problem with the datasource definition or the database connection pool. This is a problem with your configuration. Please contact your local server administrator for assistance, or LabKey Software at support@labkey.com for operational assistance with correcting the configuration error. org.labkey.api.util.ConfigurationException: A database connection is in an unexpected state: auto-commit is false. This indicates a configuration problem with the datasource definition or the database connection pool. at org.labkey.api.data.DbScope._getConnection(DbScope.java:737) . |
|||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||