The issue for me is the intermittent nature. Refresh the same URL a couple hours later and it works fine. The same REST call should execute exactly the same code. if (!connected) { String connection = dataClass.getConnection(); if ( connection != null) { Class.forName("net.ucanaccess.jdbc.UcanaccessDriver"); Properties connectionProps = new Properties(); String user = dataClass.getUsername(); String pwd = dataClass.getPassword(); conn = DriverManager.getConnection(dataClass.getConnection(), user,...
The issue for me is the intermittent nature. Refresh the same URL a couple hours later and it works fine. The same REST call should execute exactly the same code. if (!connected) { String connection = dataClass.getConnection(); if ( connection != null) { Class.forName("net.ucanaccess.jdbc.UcanaccessDriver"); Properties connectionProps = new Properties(); String user = dataClass.getUsername(); String pwd = dataClass.getPassword(); conn = DriverManager.getConnection(dataClass.getConnection(), user,...
The issue for me is the intermittent nature. Refresh the same URL a couple hours later and it works fine. The same REST call should execute exactly the same code. if (!connected) { String connection = dataClass.getConnection(); if ( connection != null) { Class.forName("net.ucanaccess.jdbc.UcanaccessDriver"); Properties connectionProps = new Properties(); String user = dataClass.getUsername(); String pwd = dataClass.getPassword(); conn = DriverManager.getConnection(dataClass.getConnection(), user,...
Very odd problem. I am getting logs with "No suitable driver found for jdbc:ucanaccess://var/www/mnt/myhome/mydatabase.mdb' Try again an hour later and it is working again. Seems to stop working for a session maybe and then comes back again???