2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: John Barnes - johnb26 Tomcat Problem With createClassLoader 2006-04-25 10:23 When I run my Jasper report on Tomcat 5.5, with the security manager enabled, I get the error msg: access denied (java.lang.RuntimePermission createClassLoader) This appears to be caused by a call from net.sf.jasperreports.engine.util.JRClassLoader. I understand that this problem can be eliminated by adding the following security grant to the server.policy file: grant { permission java.lang.RuntimePermission "createClassLoader"; } My problem is that the website that I am running this on is hosted and the administrator won't let me have this type of permission granted as he says its dangerous. Does anyone know if there's any way around this? Can I structure my report differently to avoid this call? Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now