Martyn,
Take a search in the mail archive for CLASSPATH.
Martin
Martyn Wilson <martyn@enteron.net> on 24-07-2000 21:39:03
Please respond to instantDB@enhydra.org
To: instantdb@enhydra.org
cc:
Subject: InstantDB: Example Errors
Hi,
I installed InstantDB 3.14 and ran the ScriptTool to generate the
example db.
When I go to connect to the sample.prp file using DBBrowser I get:
Loading driver: org.enhydra.instantdb.jdbc.idbDriver...failed.
Error=java.lang.ClassNotFoundException:
org.enhydra.instantdb.jdbc.idbDriver
Loading driver: RmiJdbc.RJDriver...failed.
Error=java.lang.ClassNotFoundException: RmiJdbc.RJDriver
Loading driver: sun.jdbc.odbc.JdbcOdbcDriver...JdbcOdbcDriver class
loaded
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver:
driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@7a3d61]
success
Driver.finalize
Connecting to jdbc:idb:/usr/local/idb3_14/Examples/sample.prp
DriverManager.getConnection("jdbc:idb:/usr/local/idb3_14/Examples/sample.prp")
trying
driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@7a3d61]
*Driver.connect (jdbc:idb:/usr/local/idb3_14/Examples/sample.prp)
getConnection: no suitable driver
java.sql.SQLException: No suitable driver
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:64)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:159)
at org.enhydra.instantdb.JDBCAppl.action(JDBCAppl.java:227)
at java.awt.Component.handleEvent(Compiled Code)
at org.enhydra.instantdb.JDBCAppl.handleEvent(Compiled Code)
at java.awt.Component.postEvent(Compiled Code)
at java.awt.Component.postEvent(Compiled Code)
at java.awt.Component.postEvent(Compiled Code)
at java.awt.Component.postEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code)
at java.awt.EventDispatchThread.pumpEvents(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
SQLException: SQLState(08001)
This is on an Sparc Ultra2 running Solaris7, JDK1.2.
-----------------------------------------------------------------------------
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.
|