Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java. security. AccessControlException

 
Herbert Kornfeld
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to get an application launched in WebStart but I am getting this error:
Java Web Start 1.2 Console, started Wed Jun 11 16:09:14 PDT 2003
Java 2 Runtime Environment: Version 1.4.1_02 by Sun Microsystems Inc.
java. security. AccessControlException: access denied (java.io.FilePermission config read)
My application does need to access the file system and has java.io.* import statements.
I think I am going to need to sign my application jar? Is that correct?
If so is this a big deal - I've looked at the JWS user's document but it does not seem to be up to date with 1.4 stuff.
Am I correct in my assumption about signing? And if so is there a good resource to let me know how to do this with Java 1.4
Many Thanks
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
yes. u r correct that u will need to sign the application but u don't have to do a whole lot. signing procedure doesn't really differ from JVM to JVM ...
so u always use either keytool to generate keys and then jarsigner OR u go to Verisign to get the application signed by the certificate..
anybody else? please correct me if i sound wrong..
regards
maulin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic