Cuba-reports.xml file inside ./conf/Catalina/localhost/cuba-reports.xml is not changing even after updating context.xml in my code

After migrating to postgres from hsql, When trying to deploy the app in the runtime environment, I am getting the below error

Copy

Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbc.JDBCDriver
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_131]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_131]
	at com.haulmont.cuba.core.sys.CubaSingleAppClassLoader.loadClass(CubaSingleAppClassLoader.java:52) ~[cuba-shared-lib-6.5.7.jar:6.5.7]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_131]
	at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2136) ~[tomcat-dbcp.jar:8.5.20]
	... 27 common frames omitted

When I grep in my tomcat folder for hsql entries, I found there is a file called cuba-reports.xml (./conf/Catalina/localhost/cuba-reports.xml) which has the below entries

How does this cuba-reports.xml file gets generated? and how does it populate the values? Is there a way to fix it?

Hi,
By looking at these articles:

it seems to me that this xml file isn’t created by Tomcat. It is created by manually on the file system by the developer.
Have you tried just to remove it?