aspose file tools
The moose likes Distributed Java and the fly likes Hard time making the SUN RMI tutorial example work Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Hard time making the SUN RMI tutorial example work" Watch "Hard time making the SUN RMI tutorial example work" New topic
Author

Hard time making the SUN RMI tutorial example work

Esenih Camai
Greenhorn

Joined: Jan 07, 2001
Posts: 8
I am stucked at Starting up the server, I can't get the following to work.
java -Djava.rmi.server.codebase=file:/c:\home\ann\public_html\classes/
-Djava.rmi.server.hostname=zaphod.east.sun.com
-Djava.security.policy=java.policy
engine.ComputeEngine

I really do not understand how to set the codebase, hostname and policy properties.
Can someone help?
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi,
in your bin directory of jdk you can find the policytool.exe
you can add permissions (if you dont know which and it's just for testing, then you can add allPermissions) to the JRE/LIB/SECURITY/java.policy file.
as codebase you can pick the location of the classes you run.
karl
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hard time making the SUN RMI tutorial example work
 
Similar Threads
Struts validator framework-validwhen
Replace Double Quote and Single Quotes
NoInitialContextException: Prob
Using XPath to do an XML lookup
List Of Radio buttons with other option