burferd Posted November 6, 2007 Share Posted November 6, 2007 Using jasper reports 1.3.2, JSF, Java Studio Creator2_1, Sun App server 8.2, Windows Xp. Reports used to run, but now I am getting [#|2007-11-05T17:06:53.421-0600|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=16;|WebModule[/EVR]<SessionBean1.createViolationRpt> Error: net.sf.jasperreports.engine.JRException: Error loading expression class : rpt_violation_1192461308198_349867|#] The report name I pass in code is rpt_violation.jasper.I suspect the numeric suffix is something that is generated, but why? I have the following in my server.policy file// Basic set of required permissions for jasper reportsgrant { permission java.lang.RuntimePermission "createClassLoader.*"; permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; permission java.lang.RuntimePermission "accessDeclaredMembers"; permission java.lang.RuntimePermission "getProtectionDomain";}; Do I need additional permissions or is something else wrong? Link to comment Share on other sites More sharing options...
lucianc Posted November 6, 2007 Share Posted November 6, 2007 Do you have a full stacktrace (that shows the original exception)? Regards,Lucian Link to comment Share on other sites More sharing options...
burferd Posted November 9, 2007 Author Share Posted November 9, 2007 Finally got a chance to change the code to print the full stack dump. It looks like we had a problem constructing the path to the .jasper file. Thanks for the assist. 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