Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Access to MSAccess database RmiJdbc

Status
Not open for further replies.

mars21

Programmer
Feb 29, 2004
7
IE
Hi I am trying to set up RmiJdbc from ObjectWeb. I can run the sample RMIJDBC server no problem but when I try to run the client program I keep getting a class not found exception. I don't know what to do to fix this and I really need it by Friday. I would appreciate any help.
Thank you.
 
Which class can it not find ?

Have you included all required jar files from this ObjectWeb project into your CLASSPATH environment variable.
 
Sorry I forgot to add this to my original post. The stack trace and class are as follows:
java.lang.ClassNotFoundException: org.objectweb.rmijdbc.Driver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at RJDemo.main(RJDemo.java:17)

I have set the CLASSPATH in the Environment Variables to point to the RmiJdbc.jar file. Both the client and the server files were downloaded from
 
Double check that your CLASSPATH points to the correct jar file that contains the class org.objectweb.rmijdbc.Driver. Your problem is defintely CLASSPATH related.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top