Hi, I developed a java application, I can test it using the eclipse.
That application is working well with H2 DB , using it and releasing it.
I made a jar out of it, and I use it in a web application, running on tomcat.
The apache tomcat is locking my db.
When I run my application in java simple application, the db is released,
but when I run it on tomcat , the db is locked.
Before returning the final answer from the jar, I do:
Joined: Sep 06, 2009
I am curious to know why are you using H2 database rather than using mysql,which is most widely used open source database. In mysql you would not face the issue of database locking.
You can download mysql freely from the following url
Joined: Nov 10, 2009
Does anyone have an idea ?
Joined: Mar 22, 2005
How does the web app use H2 - as a standalone server or in embedded mode? If it's embedded, then no other process can access it.