InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Problem with RmiJdbc


Edoardo

It could be that the RmiJdbc driver isn't releasing the connection. If
that's the case then table locks might remain from the previous application
(as far as IDN knows - if the Connection's still there then so is the
application).

Try setting up a timeout using Statement.setQueryTimeout(). That way, if the
app fails, the transaction should time itself out.

Regards

Pete

--

Peter Hearty                         peter.hearty@lutris.com
Lutris Technologies (UK)        http://www.lutris.com
----- Original Message -----
From: "Edoardo Portaluppi" <e.portaluppi@sol-tec.it>
To: <instantdb@enhydra.org>
Sent: Tuesday, October 17, 2000 12:45 PM
Subject: InstantDB: Problem with RmiJdbc


> Hi, my name is Edoardo.
> I have a problem with idb: when I use the same data base with two or
> more application, using RmiJdbc (remote db access!), if one of the
> application goes down (failure), I have to kill the RmiJdbc server in
> order to restart it (obviously I have to kill the other application that
> use it as well).
> If I don't use this procedure, when I start the failed application
> again, it stops at the first query it makes (the strange thing is that
> it doesn't give error message or exception, it just stops, like in an
> infinite loop).
> Probably something goes wrong with the rmiregister server, but what?
> What's wrong? Did anyone have the same experience? Any solution?
>
> Thanks in advance for your help!!
> Bye.
> --------------------------------------------------------------------------
---
> 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.