Hello, i have a problem, here is the error when i want to launch the server with :
Code:
java HelloServer
i javac all the .java
then : rmic the class java that implements a remote interface
and then run :
Code:
java -Djava.rmi.server.codebase=http://matta/genlog9/ -Djava.security.policy=policy.all HelloServer
All my files,
applet, stub, ... are on the directory :
http://matta/genlog9/ here is my policy , policy.all
Code:
grant {
permission java.security.AllPermission "", "";
};
The file HelloServer implements the remote interface, and it is the server.
the server run on 1.4 java blackdown ...
here is four files, i'm using :
HelloServer.java
Code:
here is my HelloInterface.java
here is my Applet, called Einstein.java
I compile all the files, all goes right, then
rmic HelloServer
==>> OK
then , rmiregistry &
==>> OK
then launch :
Code:
java -Djava.rmi.server.codebase=http://matta/genlog9/ -Djava.security.policy=policy.all HelloServer
Server is bound ...
and then, want to view my applet, it is launch, but i never receive the result, of the remote object
can anyone help me please ???
[ UD: added code tags ]
[ December 16, 2005: Message edited by: Ulf Dittmer ]