Skip to main content

Need Help, Security Error

4 replies [Last post]
blurish
Offline
Joined: 2006-02-17

Hi, i'm new to JWS and JNLP. I downloaded the API & Specification and demo program from Sun and have tried it out and read the APi & Specification. I edited the JNLP file that comes with the demo program(below) replacing all the neccessary item to my own program.

<?xml version="1.0" encoding="UTF-8"?>

I AM here
me

But when i try to run it using a tomcat server, there is this security error which i dun understand,

Category: Security Error

access denied (java.util.PropertyPermission user.dir read)

I tried signing my jar file but the same thing still happen. I tried the same approach with other demo program from my JSDK but it still come out with the same error.

Could anyone help enlighten me on this. Thank you very much.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hchen09
Offline
Joined: 2006-05-05

I am new JWS and have same problem as blurish. How can I sign jar file. Thanks

zander
Offline
Joined: 2003-06-13

> I am new JWS and have same problem as blurish. How
> can I sign jar file. Thanks

http://www.google.com/search?q=how%20to%20sign%20a%20jar

vdkuil
Offline
Joined: 2006-02-17

make sure you add something like:
[code]



[/code]

before

Of course you need to have a signed jar when adding this...

blurish
Offline
Joined: 2006-02-17

Thanxs very much for the info.