Make your own free website on Tripod.com

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]

InstantDB: Can not access database


Hi,

I've been playing around with InstantDB for a while with out any problems.  I've connected directly to a database and through RMI.  The last time I used my database, I was going through RMI and issued the shutdown command.  There were actually 2 databases being used, both shutdown.  I closed RMI and reopened it to get access to one of the tabels.  I failed.  I closed RMI.  I tried accessing without using RMI and failed as well.  I loaded DBBrowser and tried connecting to the database 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)

The other database that had been loaded at the time connects without problems.  It's just this one database.

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.