I would like to open up a database in NIO mode but have it available
to tcp connections. I tried a connection string like this:

jdbc:h2:tcp://Localhost/nio:/usr/local/OTDBASE2/h2/
OTDBASE2;MULTI_THREADED=1

This worked in the sense that it successfully opened the database (it
was an existing database).

However, it is opened in embedded mode. I get this error when I try to
connect with another client:

    Database may be already in use: "Locked by another process".

For further clarification, I have an H2 server instance running that I
connect to.

What would be the best way, if any, to get this H2 server to open up a
database, even all the databases, in nio mode?

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to