Hi All,
I've just installed JasperServer into an existing Tomcat. My problem is that everything is functional except the reporting under Library: all of them results in an almost blank screen.
Unfortunately the logs are empty. Any hints where to start looking around about the issue?
Thanks in advance!
- Log in or register to post comments
- Log in or register to post comments
4 Answers:
I am guessing that you are talking about the sample reports. Can you tell if there is any data in the tables that it is trying to pull the data from? Maybe something went wrong with the load of the sample data. Is this specific to the library view? Do the reports work from other views, such as the repository view? I have not seen this before - empty database tables would be my best guess.
Yes, about the sample reports (as you can see the name of the query on the screenshot is Accounts Reports). I believe the data import was successful because both demo tables (*sugarcrm, foodmart*) is populated, I can use them in the embedded JPivot tool. The import showed some errors for the *foodmart* table, but since all the sample reports are empty I suspect an other problem here. It seems the reports do not work from the repository view.
Check if the JDBC and the JNDI connection to the sample database is working properly. Since you installed in your own tomcat it may be a JNDI config issue.
Here's some of the things that I do when I'm having trouble with tomcat. Shutdown tomcat, delete files:
tomcat/conf/Catalina/Localhost/*.xml (if there are any jrs related datasource files in here) (tomcat will recreate them)
tomcat/logs/*.*
tomcat/work/Catalina/localhost
tomcat/temp/*.*
It looks to me that there is some sort of display error. Because the report unit is present - and you obviously clicked on it to try and display the report.
So, the trick I think is to try and get some error information in the logs:
tomcat/logs/catalina.out
tomcat/webapps/jasperserver/WEB-INF/logs/jasperserver.log
And hopefully there is some info after the cleanup
To try to get more information, one thing to try would be to edit tomcat/webapps/jasperserver/WEB-INF/log4j.properties and change "log4j.rootLogger=ERROR, stdout, fileout" to "log4j.rootLogger=DEBUG, stdout, fileout" (this puts the jasperserver logger in "spew mode"). Restart tomcat (or at least restart jasperserver webapp) and monitor tomcat/webapps/jasperserver/WEB-INF/logs/jasperserver.log (if it doesn't exist, you'll want to "touch" the file to create one -- for some reason Jasper Server won't create a log if the file doesn't exist...no clue why).
HTH...