Problem Description:
When clicking export to xlsx, the application fails with opening a new tab showing the log in page instead of downloading the spreadsheet. No error in the jasperserver.log or Tomcat logs.
Resolution:
There might be many reasons for this problem. If everything else looks good and you still don't know why it is failing. Check the maxParameterCount value in the Tomcat file server.xml.
Also, compare that the number of values returning to an input control. If the number of rows exceeds the value set in maxParameterCount, you will get this failure with no error in the log. You will get a token missing error, if the token key is truncated in the POST call generated by jasperserver.
You can increase the value of maxParameterCount or simply set it to -1 to have no limit. A harder solution would be to redesign the report to reduce the number of values you are getting. Perhaps using cascading input controls.
Recommended Comments
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