Subject: [jade-develop] Applet: access denied
From: Bruno René Santos (brd@uninova.pt)
Date: Mon Jan 19 2004 - 14:45:47 MET
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
This archive was generated by hypermail 2a22 : Mon Jan 19 2004 - 14:46:05 MET