aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes policy file in jar archive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "policy file in jar archive" Watch "policy file in jar archive" New topic
Author

policy file in jar archive

Hung Tang
Ranch Hand

Joined: Feb 14, 2002
Posts: 148
I want to run my program from a jar file. But to setup the server, I need to start rmiRegistry and this requires my policy file to be read. The policy file is in the jar file though. What do I type in my command prompt to be able to read the policy file in the jar file, so I can load up my server properly?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Hi
You can set the properties with:

/Ren´┐Ż


Regards, Rene Larsen
Dropbox Invite
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: policy file in jar archive
 
Similar Threads
How do I grant applications launched through JWS socket permission?
Problem loading policy file programmatically
Policy file question and readme question
JARing an RMI server app.
Using Data Objects(DTO) in EJB