wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

H2 database locking

moshi cochem
Ranch Hand

Joined: Nov 10, 2009
Posts: 91
Hi,
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 ?
Thanks.
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


Regards
Salil Verma
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

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: http://aspose.com/file-tools
 
subject: H2 database locking
 
Similar Threads
H2 database consule lockings
H2 database - Connection is broken
Installing J2ME tools and SDK on Linux Platform
CMP db Access
some queries about standalone application