You should never have multiple threads accessing the same connection
unless you're using some pooling mechanism that insures that two threads
can't using a connection at the same time. This is true for any JDBC
connection, not just InstantDB.
I don't know if this can cause your problem or not, but it seems likely.
Scott Plante
Marci Lehman wrote:
> Hello,
>
> Could there be any reason for the InstantDB database to shut itself
> down automatically, without error?
>
> We have had the InstantDB database (both versions 3.25 and 3.26) shut
> itself down immediately after successfully completing several
> different SQL queries. And, even if the database shuts itself down on
> a given query and our software reconnects to the database and performs
> the same exact query later, the database does not shut itself down again.
>
> So, it doesn't seem like the SQL queries are the problem.
>
> And, we do not see any error messages regarding this problem even with
> error logging turned on.
>
> We are using JBuilder. And, we maintain only one connection to the
> database. However, our application has multiple threads that are
> sharing this connection.
>
> Thank you.
>
> Marci Lehman
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
> -----------------------------------------------------------------------------
>
> To unsubscribe from this mailing list, send email to
> majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
>
>
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|