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: Remote connection to instantDB 3.20 beta 2


I have installed instantDB 3.20 beta 2 on computer HBF which runs Windows 2000. I ran the browser and was able to connect and work the sample.prp. To use remote access I also installed RmiJdbc. After installation I started the rmi server. This resulted in:

C:\instantDB>set CLASSPATH=c:\IBMjava12\lib\classes.zip;C:\instantDB\Classes\Rmi
Jdbc.jar

C:\instantDB>java RmiJdbc.RJJdbcServer org.enhydra.instantdb.jdbc.idbDriver
*** Can't register jdbc Driver for org.enhydra.instantdb.jdbc.idbDriver
Error message is: org.enhydra.instantdb.jdbc.idbDriver
Binding RmiJdbcServer...
RmiJdbcServer bound in rmi registry
^C
C:\instantDB>set CLASSPATH=c:\IBMjava12\lib\classes.zip;C:\instantDB\Classes\Rmi
Jdbc.jar;C:\instantDB\Classes\idb.ja

C:\instantDB>java RmiJdbc.RJJdbcServer org.enhydra.instantdb.jdbc.idbDriver
*** Can't register jdbc Driver for org.enhydra.instantdb.jdbc.idbDriver
Error message is: org.enhydra.instantdb.jdbc.idbDriver
Binding RmiJdbcServer...
RmiJdbcServer bound in rmi registry

I assume that it is not running properly, but I tried the client sample and recieved this:

C:\instantDB\Examples>java TestClient
java.sql.SQLException: No suitable driver
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:248)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:358)
at RmiJdbc.RJDriverServer_Stub.connect(RJDriverServer_Stub.java:77)
at RmiJdbc.RJConnection.<init>(RJConnection.java:85)
at RmiJdbc.RJDriver.connect(RJDriver.java:131)
at java.sql.DriverManager.getConnection(DriverManager.java:459)
at java.sql.DriverManager.getConnection(DriverManager.java:161)
at TestClient.main(TestClient.java:31)
java.sql.SQLException: No suitable driver
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at java.sql.SQLException.<init>(SQLException.java:84)
at RmiJdbc.RJDriver.connect(RJDriver.java:137)
at java.sql.DriverManager.getConnection(DriverManager.java:459)
at java.sql.DriverManager.getConnection(DriverManager.java:161)
at TestClient.main(TestClient.java:31)

The CLASSPATH includes the jars; here is the listing from the instantDB browser:

java.class.path=C:\IBMDebug\lib\dertrjrt.jar;.;C:\SQLLIB\java\db2java.zip;C:\SQLLIB\java\runtime.zip;C:\instantDB\Classes\idb.jar;C:\instantDB\Classes\idbexmpl.jar;C:\instantDB\Classes\RmiJdbc.jar


Any suggestions?