You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phylolink fails to connect to postgres after a package upgrade and shows the following error in its log files:
2018-06-05 08:25:03,489 ERROR [JDBCExceptionReporter] This connection has been closed.
2018-06-05 08:25:03,490 ERROR [JDBCExceptionReporter] This connection has been closed.
2018-06-05 08:25:03,498 ERROR [GrailsExceptionResolver] PSQLException occurred when processing request: [GET] /
This connection has been closed.. Stacktrace follows:
org.postgresql.util.PSQLException: This connection has been closed.
at org.postgresql.jdbc2.AbstractJdbc2Connection.checkClosed(AbstractJdbc2Connection.java:714)
at org.postgresql.jdbc2.AbstractJdbc2Connection.getAutoCommit(AbstractJdbc2Connection.java:680)
at org.grails.datastore.gorm.GormStaticApi$_methodMissing_closure2.doCall(GormStaticApi.groovy:102)
at au.org.ala.phyloviz.PhyloService.getDemoId(PhyloService.groovy:30)
at au.org.ala.phyloviz.PhyloController.startPage(PhyloController.groovy:329)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:200)
at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:200)
at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:200)
at au.org.ala.cas.client.UriFilter.doFilter(UriFilter.java:200)
at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:65)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
at java.lang.Thread.run(Thread.java:748)
A suggestion from Simon is that the code from the following section may be useful to make phylolink more resilient to database interruptions:
Phylolink fails to connect to postgres after a package upgrade and shows the following error in its log files:
A suggestion from Simon is that the code from the following section may be useful to make phylolink more resilient to database interruptions:
https://github.com/AtlasOfLivingAustralia/volunteer-portal/blob/develop/grails-app/conf/application.yml#L303
A possible location for the local changes required may be in:
https://github.com/AtlasOfLivingAustralia/phylolink/blob/master/grails-app/conf/DataSource.groovy#L13
The text was updated successfully, but these errors were encountered: