Hi @bmumph,
Its the issue with the database connection. The connection get expire during the long idle time. The latest release i.e. OpenSpecimen-v2.4 installable includes the fix for this.
For this you have 2 alternatives:
- Install OpenSpecimen-v2.4.
- Update the datasource configuration in existing installation.
For #1. You can download the installable from OS releases. For instructions please refer deployment steps.
For #2. Please follow the below steps:
- Open context.xml file located at ${TOMCAT_HOME}/conf/context.xml
- Search for <Resource name=“jdbc/openspecimen”
- Add the below lines at the end of tag
validationInterval=“3600”
testOnBorrow=“true”
validationQuery=“Select 1 from dual”
So after updating the Resource tag will looks like below:
<Resource name="jdbc/openspecimen" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
username="root" password="root" driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3307/db
validationInterval="3600"
testOnBorrow="true"
validationQuery="Select 1 from dual"
/>
~Nitesh