aspose file tools*
The moose likes Distributed Java and the fly likes JDBC problem in Java RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "JDBC problem in Java RMI" Watch "JDBC problem in Java RMI" New topic
Author

JDBC problem in Java RMI

Siddhartha
Greenhorn

Joined: May 12, 2002
Posts: 1
I am developing a project in Java RMI. I am using (JDBC) Oracle thin drivers and they are in a.zip file called classes.zip. Now when i add a CLASSPATH (setenv CLASSPATH /u/home/sijain/1aman/classes12.zip) in .cshrc to access this file I get wierd problems.
These are the errors its giving to me:-
posImpl.java:7: cannot resolve symbol
symbol : class posIntf
location: class posImpl
public class posImpl extends java.rmi.server.UnicastRemoteObject implements posIntf
^
1 error
ShopMartzc01s16PriceServer1.java:12: cannot resolve symbol
symbol : class posImpl
location: class ShopMartzc01s16PriceServer1
posImpl p= new posImpl(); //posIntf ki posImpl not sure
^
ShopMartzc01s16PriceServer1.java:12: cannot resolve symbol
symbol : class posImpl
location: class ShopMartzc01s16PriceServer1
posImpl p= new posImpl(); //posIntf ki posImpl not sure
^
2 errors
ShopMartzc01s16PriceServer2.java:12: cannot resolve symbol
symbol : class posImpl
location: class ShopMartzc01s16PriceServer2
posImpl p= new posImpl(); //posIntf ki posImpl not sure
^
ShopMartzc01s16PriceServer2.java:12: cannot resolve symbol
symbol : class posImpl
location: class ShopMartzc01s16PriceServer2
posImpl p= new posImpl(); //posIntf ki posImpl not sure
^
2 errors
posClient.java:19: cannot resolve symbol
symbol : class posIntf
location: class posClient
posIntf p;
^
posClient.java:44: cannot resolve symbol
symbol : class posIntf
location: class posClient
if(count%2==1) p = (posIntf) Naming.lookup("//evans.cs.du.edu/posService1");
^
posClient.java:45: cannot resolve symbol
symbol : class posIntf
location: class posClient
else p = (posIntf) Naming.lookup("//evans.cs.du.edu/posService2");
^
3 errors
error: Class posImpl not found.
1 error
Can anybody help me with this?? Its pretty urgent!!! Thanks a lot.
mustang india
Ranch Hand

Joined: Feb 05, 2002
Posts: 60
What I feel is ur class is not getting the interface. Did u import the package ? If u can provide the source code of both the interface and the impl class, that could be a help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC problem in Java RMI