Subject: Re: [jade-develop] Applet: access denied
From: Claudiu Anghel (aclaunic@yahoo.com)
Date: Tue Jan 20 2004 - 10:41:17 MET
Hi Bruno,
It seems that your applet doesn't have rights to write
on the client machine. JADE tries to write a file i.e.
MTPs-Container-1.txt. That is why this error appears.
I think that this is not a big problem and you will
not have problems out of this. To avoid the error you
can sign the applet and give it rights to write on the
client machine. I think also that the creation of that
file by JADE is useless (maybe this can be skiped from
JADE)
regards,
Claudiu
--- Bruno_René_Santos <brd@uninova.pt> wrote:
> Hello all.
>
> I have created an agent within an applet by creating
> a container that connects itself to a JADE platform
> on another computer. The agent seems to be working
> fine despite the following error that appears on the
> java console:
>
> java.security.AccessControlException: access denied
> (java.io.FilePermission MTPs-Container-1.txt write)
> at
>
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
> at
>
java.security.AccessController.checkPermission(AccessController.java:401)
> at
>
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
> at
>
java.lang.SecurityManager.checkWrite(SecurityManager.java:975)
> at
>
java.io.FileOutputStream.<init>(FileOutputStream.java:169)
> at
>
java.io.FileOutputStream.<init>(FileOutputStream.java:70)
> at java.io.FileWriter.<init>(FileWriter.java:46)
> at
> jade.core.messaging.MessagingService.boot(Unknown
> Source)
> at
>
jade.core.AgentContainerImpl.startBasicServices(Unknown
> Source)
> at
> jade.core.AgentContainerImpl.joinPlatform(Unknown
> Source)
> at jade.core.Runtime.createAgentContainer(Unknown
> Source)
> at
> deepsia.lang.AppletThread.run(AppletThread.java:48)
>
> Am i going to have problems because of this error?
> And how can i fix it?
>
> Thank you
>
> Bruno Santos
>
>
>
_______________________________________________________________
> Bruno René Santos
> UNINOVA - Centro de Robotica Inteligente
> Univ. Nova de Lisboa - Fac. de Ciencias e Tecnologia
> - Dep. Eng. Electrotecnica
> Monte de Caparica - 2829-516 Caparica - Portugal
> Phone: (+351) 21-294-8527/8/9 - Fax: (+351)
> 21-294-1253
> E-mails: brd@uninova.pt
> URLs: http://www.uninova.pt
>
_______________________________________________________________
> > _______________________________________________
> jade-develop mailing list
> jade-develop@sharon.cselt.it
> http://sharon.cselt.it/mailman/listinfo/jade-develop
> UNSUBSCRIBE INSTRUCTIONS AT
> http://jade.cselt.it/mailing.htm#unsubscribe
>
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
_______________________________________________
jade-develop mailing list
jade-develop@sharon.cselt.it
http://sharon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Tue Jan 20 2004 - 10:41:38 MET