Error loading expression class

Hello,

I'm working with Tomcat 5 and eclipse in local and Apache + Tomca in remote  and my problem is the next

 

I have created a .jasper file.

When I execute my servlet in local i obtain the pdf correctly.

When I execute the same servlet in remote i cant create the pdf and also I receive the next exception:

Error loading expression class : FontsReport_1296305567623_757620
Jan 30, 2011 10:22:30 PM org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached

 

Which is the solution to this problem?

 

Many thanks in advance

Rodrigo

rfilgueiras's picture
Joined: Feb 24 2010 - 6:37am
Last seen: 13 years 7 months ago

2 Answers:

Anyone can help me?

 

Thanks,

Rodrigo

rfilgueiras's picture
Joined: Feb 24 2010 - 6:37am
Last seen: 13 years 7 months ago

 The exactly problem is

 

e.getMessage -> Error loading expression class : FontsReport_1296423503975_23346 |

e.getCause ->java.security.AccessControlException: access denied (java.lang.RuntimePermission getProtectionDomain)

Could I resolve this problem with

permission java.io.FilePermission "/var/www/xxxxxxxxxxxx/web/ireport/-", "read";

 

Thanks,

rodrigo

rfilgueiras's picture
Joined: Feb 24 2010 - 6:37am
Last seen: 13 years 7 months ago
Feedback
randomness