Neighborhoods rmiregistry specific usage?

Category: Java SE
 
JLLTTOOPP
2010-08-08 11:36:30

Sponsored Links
rmi server name is: myserver, binding 8097 port. Policy about java.policy file placed in the d: \ Next,
use the following command to register: rmiregistry-J-Djava.security.policy = d: \ java.policy
Tip: Warning: ; JIT compiler "symcjit" not found. Will use interpreter.
security properties not found. using ; defaults.
system does not find the specified policy about files, and use the default. This command should I write?


Sponsored Links

ymw642368
2010-08-08 11:39:51
start rmiregistry two ways:
at the command line:
start rmiregistry 8097
or
in the program in:
LocateRegistry.createRegistry (8097);

find the corresponding policy file:
program is executed, the-Djava.security.policy = file: d: \ java.policy
or
-Djava.security.policy = d: \ java.policy added to the JVM parameters.
Example:
java-classpath yourclasspath-Djava.security.policy = file: d: \ java.policy YourMainClass
qq365657537
2010-08-08 11:57:57
This is the run java program with strategy, I would like to start-up strategy when coupled with
start rmiregistry 8097
system will be prompted to find a policy file, using the default policy.
DDbear812
2010-08-08 12:07:26
Use rmiregistry-J-Djava.security.policy = file: d: \ java.policy Start Registry,
whether the command can be specified CLASSPATH, which does not require advance in the environment variable Setting CLASSPATH?
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.