Jump to content
We've recently updated our Privacy Statement, available here ×

Why do I get this error?


burferd

Recommended Posts

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 reports

grant {

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

  • Replies 2
  • 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...