Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.security.AccessControlException: access denied

843833Apr 28 2005 — edited May 2 2005
Hello all!

In my jsp application, a report is generated in PDF format (by using itext).
On development enviroment (local server) it works's fine. But in production enviroment (external server) the following exception is throwed:

DocumentException: java.security.AccessControlException: access denied (java.io.FilePermission /opt/tomcat5/work/Teste/kollinghd.com.br/teste/loader/META-INF/MANIFEST.MF write)

This exception is throwed when the line bellow is executed:

this.document.add(this.table);
//where the table it's full fill with a resultset


If it work's fine in a place and it dosen't in another one, with the same configuration (Tomcat 5, Linux and Mysql 4.x), where is the problem?

I think that the problem it's on the external server..... Am I rigth?

Thank's for your attention,
Rafael.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2005
Added on Apr 28 2005
2 comments
67 views