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]

SV: InstantDB: Can not connect to database


Hey Peter & Steven,

I have seen the same problem. Most of the time it comes when ex. 2 instances
of a program
is connected to idb and one is writing, ie. insert/update, and the other
instance closes
the connection to idb.





Regards
Martin


-----Oprindelig meddelelse-----
Fra: owner-instantDB@enhydra.org [mailto:owner-instantDB@enhydra.org]På
vegne af Peter Hearty
Sendt: 15. februar 2001 10:08
Til: instantDB@enhydra.org
Emne: Re: InstantDB: Can not connect to database


Steven

Zip up the database and email it to me on the address below. I'll see if I
can figure out
the problem.

Regards

Pete

--

Peter Hearty                         peter.hearty@lutris.com
Lutris Technologies (UK)        http://www.lutris.com
----- Original Message -----
From: <SteveFeinstein@netscape.net>
To: <instantDB@enhydra.org>
Sent: Wednesday, February 14, 2001 8:44 PM
Subject: InstantDB: Can not connect to database


> Hi,
>
> I have a database that I've been connecitng to without problems.  Recently
I tried
connecting and failed.  I tried using DBBrowser to connect and got the
following:
>
> C:\Java\idb\Classes>\java\java13 org.enhydra.instantdb.DBBrowser
> Loading driver:
org.enhydra.instantdb.jdbc.idbDriver...DriverManager.initialize:
>  jdbc.drivers = null
> JDBC DriverManager initialized
> registerDriver:
driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydr
> a.instantdb.jdbc.idbDriver@12f614]
> success
> Loading driver: RmiJdbc.RJDriver...registerDriver:
driver[className=RmiJdbc.RJDr
> iver,RmiJdbc.RJDriver@283b8a]
> success
> Loading driver: sun.jdbc.odbc.JdbcOdbcDriver...JdbcOdbcDriver class loaded
> registerDriver:
driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.Jdbc
> OdbcDriver@22c95b]
> success
> Connecting to jdbc:idb:/data\dev\javadb\investdb.prp
> DriverManager.getConnection("jdbc:idb:/data\dev\javadb\investdb.prp")
>     trying
driver[className=org.enhydra.instantdb.jdbc.idbDriver,org.enhydra.ins
> tantdb.jdbc.idbDriver@12f614]
> Driver.finalize
> Enhydra InstantDB - Version 3.25
> The Initial Developer of the Original Code is Lutris Technologies Inc.
> Portions created by Lutris are Copyright (C) 1997-2000 Lutris
Technologies, Inc.
>
> All Rights Reserved.
> java.sql.SQLException
>         at
org.enhydra.instantdb.jdbc.idbConnection.<init>(idbConnection.java:88
> )
>         at org.enhydra.instantdb.jdbc.idbDriver.connect(idbDriver.java:40)
>         at java.sql.DriverManager.getConnection(DriverManager.java:517)
>         at java.sql.DriverManager.getConnection(DriverManager.java:199)
>         at
org.enhydra.instantdb.JDBCAppl.connectToDatabase(JDBCAppl.java:60)
>         at org.enhydra.instantdb.JDBCAppl.action(JDBCAppl.java:97)
>         at java.awt.Component.handleEvent(Component.java:3906)
>         at org.enhydra.instantdb.JDBCAppl.handleEvent(JDBCAppl.java:212)
>         at java.awt.Component.postEvent(Component.java:2790)
>         at java.awt.Component.postEvent(Component.java:2800)
>         at java.awt.Component.postEvent(Component.java:2800)
>         at java.awt.Component.postEvent(Component.java:2800)
>         at java.awt.Component.dispatchEventImpl(Component.java:2607)
>         at java.awt.Component.dispatchEvent(Component.java:2499)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
>         at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
> 3)
>         at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
>     trying driver[className=RmiJdbc.RJDriver,RmiJdbc.RJDriver@283b8a]
>     trying
driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcD
> river@22c95b]
> *Driver.connect (jdbc:idb:/data\dev\javadb\investdb.prp)
> getConnection failed: java.sql.SQLException
> java.sql.SQLException
>         at
org.enhydra.instantdb.jdbc.idbConnection.<init>(idbConnection.java:88
> )
>         at org.enhydra.instantdb.jdbc.idbDriver.connect(idbDriver.java:40)
>         at java.sql.DriverManager.getConnection(DriverManager.java:517)
>         at java.sql.DriverManager.getConnection(DriverManager.java:199)
>         at
org.enhydra.instantdb.JDBCAppl.connectToDatabase(JDBCAppl.java:60)
>         at org.enhydra.instantdb.JDBCAppl.action(JDBCAppl.java:97)
>         at java.awt.Component.handleEvent(Component.java:3906)
>         at org.enhydra.instantdb.JDBCAppl.handleEvent(JDBCAppl.java:212)
>         at java.awt.Component.postEvent(Component.java:2790)
>         at java.awt.Component.postEvent(Component.java:2800)
>         at java.awt.Component.postEvent(Component.java:2800)
>         at java.awt.Component.postEvent(Component.java:2800)
>         at java.awt.Component.dispatchEventImpl(Component.java:2607)
>         at java.awt.Component.dispatchEvent(Component.java:2499)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
>         at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
> 3)
>         at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
>
>
> Any ideas?
>
> Thanks,
>
> Steve
> __________________________________________________________________
> Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.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.

-----------------------------------------------------------------------------
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.