Thursday, February 7, 2008

grails jdbc:hsqldb database notes

If you have two grails app deployed to tomcat and each use the jdbc:hsqldb, only one will start. The other one will fail because the database is locked. The lock file will appear in the root directory of the user that the web app container (tomcat or jetty) and will be called something like proDb.lck.

When the first app is started, the file will appear in the user under which the tomcat (or jetty) instance is started.

No comments: