Free software is a matter of liberty, not price.
Is the stub actually in your server.jar file,.
and also check the path to make sure it says suncertify/server
It just appears that it can't find the class in the jar file.
Also remember that these stub classes will also need to be in the client.jar file too
Free software is a matter of liberty, not price.
Free software is a matter of liberty, not price.
Free software is a matter of liberty, not price.
have class called FBNServer (that has thr main method) that does new on DataInterfaceFactoryImpl.
...
Naming.rebind(SERVER_NAME, this);
String daServer = InetAddress.getLocalHost().getHostAddress();
When you are staring using java -jar server.jar, you'll need to specify the classpath in the META-INF/MANIFEST.MF's class-path.
What should be bound to registry is the remote object. In your case, it would be DataInterfaceFactoryImpl. Instead, you are trying to bind FBNServer.
Just curious, what does "daServer" name stand for?
Is that meant as a joke, kind of "red neck English"?
Free software is a matter of liberty, not price.
Both of the classes listed as the Main-Class is the class that has the
public static void main(String[] args) method in them.
Free software is a matter of liberty, not price.
Sun Certified Java Programmer, Sun Certified Java Developer. <br />Strving to be a real architect.
Yest its a joke. I put da infront of all temporary names.
Are you serious? Do you think the folks at Sun Microsystem would understand your sense of humor?
Eugene.
Free software is a matter of liberty, not price.