aspose file tools*
The moose likes JDBC and the fly likes H2 database locking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic

H2 database locking

moshi cochem
Ranch Hand

Joined: Nov 10, 2009
Posts: 91
I'm working with h2 db.
My problem appears when I run my web app thru apache tomcat,
the app is working with the db, and when it goes, I can't reach the db thru
the manager - I get a message that the db is in use.
What can I do ?
Salil Vverma
Ranch Hand

Joined: Sep 06, 2009
Posts: 253

Hi moshi,

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

Salil Verma
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60046

Please do not post the same question more than once.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: H2 database locking
Similar Threads
CMP db Access
some queries about standalone application
H2 database consule lockings
Installing J2ME tools and SDK on Linux Platform
H2 database - Connection is broken