Subject Re: [Firebird-Java] Multiple connections to embedded Firebird
Author Ann W. Harrison
At 04:03 AM 12/24/2004, Roman Rokytskyy wrote:

>On Linux you have to take care that only one processes (i.e. JVMs) accesses
>the same database, since the database file is accessed in shared mode, and
>if no lock manager is running (and I'm not sure if libfbembed.so uses it)
>you will corrupt the database. But as long as you stay in one JVM everything
>is ok.

I think that there's no problem on Linux. Although the lock manager is
often described as if it were a separate process, it's actually part of
the engine code. If your JVM's run from different process groups, you
may get blockages if a process variously called gds_lock or gds_relay
isn't running to relay signals. But the lock code is always there.

Regards,


Ann