File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes security error - access denied ( java.io.FilePermission client.log write) 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 » JNLP and Web Start
Reply Bookmark "security error - access denied ( java.io.FilePermission client.log write)" Watch "security error - access denied ( java.io.FilePermission client.log write)" New topic
Author

security error - access denied ( java.io.FilePermission client.log write)

srinivas bolloju
Ranch Hand

Joined: Jan 23, 2001
Posts: 112
Hi ,
While trying to launch an application using webstart i am getting the above error. The application is trying to write a log file named "client.log" in the client machine.
What is the solution for this problem?
Waiting anxiously for your replies,
Srinivas


please use the [code][/code] tags when showing code. visit <a href="http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=ubb_code_page" target="_blank" rel="nofollow">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=ubb_code_page</a> ,for more details
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1865
hi srinivas,
is it ur application? i mean did u write it? OR is it some third party tool?
if it is ur application then u have to sign the jar file for the application used via webstart as WebSTart code follows similar "SandBox" model as applets...
if it is third party application u can contact the tech support if they have or contact the person who wrote it ...
regards
maulin


1. Have fun @ http://faq.javaranch.com/java/JavaRaq
2. Looking for simple infix2postfix conversion and postfix evaluation package? Click here
srinivas bolloju
Ranch Hand

Joined: Jan 23, 2001
Posts: 112
Thanks a lot for ur reply... The application is written by me only....
I have changed the security settings of the computer where i am trying to download by the help of "policytool" ., gave the permission for java.io.FilePermission ... It worked !!!
But i dont think this is the solution... Since it is very difficult to change the permissions in every client machine... I think the signing of jar is required... I dont know what is signing and how to sign the jar giving the permissions required.... If you have time can you please brief me in this area??
Regards
Srinivas
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1865
hi srinivas
see if this
helps you achieve what u want..
regards
maulin
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: security error - access denied ( java.io.FilePermission client.log write)
 
Similar Threads
using MimeMessage using IBM jdk
WSAD 5.1 Test Environment
create a new text file
Verification failed
JNDI error