Problem in signed applet

Hi Experts,

I have signed an applet, the certificate is imported and the certificate is in the trusted sertificate lists.

but even after that I am getting accesscontrolexception()

The java console gives as follows

Java Plug-in 1.5.0_10

Using JRE version 1.5.0_10 Java HotSpot(TM) Client VM

User home directory = C:\Documents and Settings\aparajith_vangal

network: Loading user-defined proxy configuration ...

network:Proxy list:

network:Proxy override: null

network: Done.

network: Loading manual proxy configuration ...

network: Done.

network: Proxy Configuration: Manual Configuration

Proxy:

Proxy Overrides:

basic: Cache is enabled

basic: Location: C:\Documents and Settings\aparajith_vangal\Application Data\Sun\Java\Deployment\cache\javapi\v1.0

basic: Maximum size: unlimited

basic: Compression level: 0

-

c:clear console window

f:finalize objects on finalization queue

g:garbage collect

h:display this help message

l:dump classloader list

m:print memory usage

o:trigger logging

p:reload proxy configuration

q:hide console

r:reload policy configuration

s:dump system and deployment properties

t:dump thread list

v:dump thread stack

x:clear classloader cache

0-5: set trace level to <n>

-

basic: Registered modality listener

liveconnect: Invoking JS method: document

liveconnect: Invoking JS method: URL

basic: Referencing classloader: sun.plugin.ClassLoaderInfo@a6aeed, refcount=1

basic: Added progress listener: sun.plugin.util.GrayBoxPainter@129f3b5

basic: Loading applet ...

basic: Initializing applet ...

basic: Starting applet ...

security: Loading Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_1\lib\security\cacerts

security: Loaded Root CA certificates from C:\PROGRA~1\Java\JRE15~1.0_1\lib\security\cacerts

security: Loading Deployment certificates from C:\Documents and Settings\aparajith_vangal\Application Data\Sun\Java\Deployment\security\trusted.certs

security: Loaded Deployment certificates from C:\Documents and Settings\aparajith_vangal\Application Data\Sun\Java\Deployment\security\trusted.certs

security: Loading certificates from Deployment session certificate store

security: Loaded certificates from Deployment session certificate store

security: Loading certificates from Internet Explorer ROOT certificate store

security: Loaded certificates from Internet Explorer ROOT certificate store

security: Loading certificates from Internet Explorer TrustedPublisher certificate store

security: Loaded certificates from Internet Explorer TrustedPublisher certificate store

security: Checking if certificate is in Deployment permanent certificate store

liveconnect: Invoking method: public java.lang.String FileChooser.open(java.lang.String)

liveconnect: Needs conversion: java.lang.String --> java.lang.String

File to be signed:C:\Documents and Settings\aparajith_vangal\Desktop\New Folder\GUI.txt

java.security.AccessControlException: access denied (java.io.FilePermission C:\Documents and Settings\aparajith_vangal\Desktop\New Folder\GUI.txt read)

I require help to overcome this,

Thanks in advance,

Gangotri

[3430 byte] By [Gangotri.a] at [2007-11-26 15:34:12]
# 1

if you are using a thread other than the applets main thread to do something take a look at this:

http://forum.java.sun.com/thread.jspa?threadID=5122942&tstart=0

That includes responding to a UI event because the AWT thread is not the main applet thread.

Message was edited by:

zparticle

zparticlea at 2007-7-8 21:51:26 > top of Java-index,Security,Signed Applets...
# 2
Thanks for your reply,I will try and seewith regards,Gangotri
Gangotri.a at 2007-7-8 21:51:26 > top of Java-index,Security,Signed Applets...