× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Did you initialize a security manager in your application?  If not, you
should use:

-Djava.security.manager -Djava.security.policy=test.policy

This assumes test.policy is in the current working directory of the
application.

Check out the following link:
http://java.sun.com/j2se/1.4.2/docs/guide/security/PolicyFiles.html


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Ramprasad
Sent: Thursday, May 25, 2006 3:38 AM
To: java400-l@xxxxxxxxxxxx; java101@xxxxxxxxxxxx
Subject: Customized policy file usage


Hi,
 
I want to use a policy file I have created. It resides in the same folder as
my programs are in the IFS.
 
For eg. If my policy file is test.policy and it is in testdir. So also my
programs are resident in testdir and it is added to my class path.
 
What is the exact command I should provide to use the policy file -
test.policy?
I gave java -Djava.security,policy=test Testpgm, but it seems that the
policy file is not used.
 
Any help would be appreciated...
 
Thanks & Regards,
Ramprasad V
 



The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.
 
www.wipro.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.