Hello,
i want to use InstaDB for personal using but i con not
run your examples. I wrote a batch browser.bat:
java -classpath %CLASSPATH%;F:\InstantDB\Classes\idbexmpl.jar
org.enhydra.instantdb.DBBrowser 2>>out.err
But if i run your demo after selection of
F:\InstantDB\Examples\sample.prp
i got exceptions like in the following stackTrace:
F:\InstantDB\Examples>java -classpath
F:\JDK\JRE\LIB\rt.jar;F:\JDK\JRE\LIB\i18n.
jar;F:\JDK\JRE\LIB\jaws.jar;F:\JDK\JRE\LIB\plugprov.jar;F:\InstantDB\Classes\IDB
.jar;F:\InstantDB\Classes\IDBF.jar;.;F:\JDK\Projects;F:\InstantDB\Classes\idbexm
pl.jar org.enhydra.instantdb.DBBrowser 2>>out.err
java.sql.SQLException: No suitable driver //-->What's happened????
Think my CLASSPATH is okay, see above
at java.sql.DriverManager.getConnection(DriverManager.java:477)
at java.sql.DriverManager.getConnection(DriverManager.java:159)
at
org.enhydra.instantdb.JDBCAppl.connectToDatabase(JDBCAppl.java:60)
at org.enhydra.instantdb.JDBCAppl.setUrl(JDBCAppl.java:334)
at org.enhydra.instantdb.DBBrowser.main(DBBrowser.java:43)
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: javax/transaction/xa/XAException
//-->javax.transaction does not exist!
at org.enhydra.instantdb.db.Database.dbOpen(Database.java:293)
at
org.enhydra.instantdb.jdbc.idbConnection.<init>(idbConnection.java:79
)
at
org.enhydra.instantdb.jdbc.idbDriver.connect(idbDriver.java:40)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:159)
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:3282)
at org.enhydra.instantdb.JDBCAppl.handleEvent(JDBCAppl.java:212)
at java.awt.Component.postEvent(Component.java:2545)
at java.awt.Component.postEvent(Component.java:2555)
at java.awt.Component.postEvent(Component.java:2555)
at java.awt.Component.postEvent(Component.java:2555)
at java.awt.Component.dispatchEventImpl(Component.java:2406)
at java.awt.Component.dispatchEvent(Component.java:2307)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
1)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
I'm working with JDK 1.2.2. What i'm doing wrong?
Hope you can help me!
Sincerely yours, Andree Große
-----------------------------------------------------------------------------
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.
|