Troubleshooting application errors is easiest with clean log files. The examples below are for a standard JasperReports Server installation on Tomcat. Use it as a guideline to locate the temporary, cache, and log files for your application server.
Step | Comments and Examples |
---|---|
1. Shutdown the application server | Shutdown Tomcat (or JBoss, Glassfish, WebSphere, WebLogic etc.) |
2. Delete the application server's log files | <tomcat_dir>/logs |
3. Delete the application server's temp files | <tomcat_dir>/temp |
4. Delete the application server's cached JasperReports Server pages | <tomcat_dir>/work/Catalina/localhost/jasperserver-pro |
5. Delete the JasperReports Server logs | <tomcat_dir>webapps/jasperserver-pro/WEB-INF/logs |
6. Start the application server | Startup Tomcat (or JBoss, Glassfish, WebSphere, WebLogic, etc.) |
7. Login to JasperReports Server and reproduce the error | |
8. Logout of JasperReports Server | |
9. Shutdown the application server | Shutdown Tomcat (or JBoss, Glassfish, WebSphere, WebLogic etc.) |
10. Review/forward the application server log files | <tomcat_dir>/logs |
11. Review/forward the JasperReports Server log files | <tomcat_dir>/webapps/jasperserver-pro/WEB-INF/logs |
You can also configure the logging level. For example, you can log WARNings in addition to ERRORs. For instructions on how to increase the logging level, refer to the Log4j article.
Recommended Comments
There are no comments to display.
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