• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
srinivas bolloju
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi srinivas
see if this
helps you achieve what u want..
regards
maulin
reply
    Bookmark Topic Watch Topic
  • New Topic