Hi Suman,
I would also like to add some more information on this:
Khushboo is trying to run an Out Of the Box Report : "Project Status Report" .
She gets the ERROR :
ERROR DETAILS :
The server has encountered an error.Please excuse the inconvenience.
Error Message :
net.sf.jasperreports.governors.MaxPagesGovernorException:Report 'CSK_PRJ_ProjectStatusDetail' exceeded the limit of 500 maximum Pages.
Two things that She is specifically looking for is :
She is by choice trying to generate this report error so as to check what kind of logs are getting recorded in the jaspersoft log settings.
Her question is :
1. What kind of logs get recorded in the Manage dropdown>server settings>log settings ?
2.What are the logs that needs to be enabled from this page to see the records in the tomcat\webapps\< JS Report> \WEB-INF \ logs folder.
She has enabled the following :
SQL generated for domain queries.
Domain-based securty tests.
SQL query executer.
3.Why is the logs not written in : < tomcat > \webapps\< JS Report> \WEB-INF \ logs ?
Checked the following :
***Checked log4j.properties file from %TOMCAT%\webapps\reportservice\WEB-INF
Here we can see the location of jasperserver.logs.However,We do not find it in the location when specified.
log4j.appender.fileout=org.apache.log4j.RollingFileAppender
log4j.appender.fileout.File=${jasperserver.root}/WEB-INF/logs/jasperserver.log
log4j.appender.fileout.MaxFileSize=1024KB
log4j.appender.fileout.MaxBackupIndex=1
log4j.appender.fileout.layout=org.apache.log4j.PatternLayout
***Are you running the C:\Tomcat\apache-tomcat-7.0.55\bin\startup.bat from the DOS prompt to the Jaspersoft server?
yes, earlier they were running startup.bat. Now they have configured tomcat as windows services.
However, in either case they did not see logs available in that folder.
***Were you running startup.bat file as the Windows Administrator?
Which user are you using to run startup as Windows service?
I am wondering if the users used to start Jaspersoft has rights to write to the logs folder location.
Now they have configured Tomcat as windows service as user having admin rights.
Also the tomcat folder has complete access to the user who is running tomcat service.
Thank You.
Regards,
R Preethi