This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 60810

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
some queries about standalone application
H2 database consule lockings
H2 database - Connection is broken
Installing J2ME tools and SDK on Linux Platform
CMP db Access