Now i am having a trouble with creation of the image file.
when i call the page with the graphic, it generates the following exception:
Exception - java.security.AccessControlException: access denied (java.io.FilePermission C:\TEMP read
)
java.security.AccessControlException: access denied (java.io.FilePermission C:\TEMP read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
at java.io.File.exists(File.java:546)
at com.jrefinery.chart.servlet.ServletUtilities.createTempDir(Unknown Source)
(etc..)
I tried to define permissions in policy file of tom cat like this:
permission java.io.FilePermission "c:\temp\", "read, write, delete, execute";
but the application continues with the same error.
If anyone could help I thank very much!
Valfran
(brazil)