Jump to content
JasperReports Library 7.0 is now available ×

Tomcat Problem With createClassLoader


Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...