andy.hill
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by andy.hill
-
-
Are you using rest or rest_v2 interface? If rest_v2, does it work OK if you run the report by just hitting the report URI via the browser? If so, take a look at the trace in your tomcat localhost_access log -- IIRC, a browser does a GET for the main report, then additional GETs for each image in the report. I'd assume you'd want to do the same in your application.
-
OK, I created a simple example report to reproduce the issue and submitted it to tracker:
http://community.jaspersoft.com/jasperreports-server/issues/2677
-
When I schedule a job via the rest_v2 interface, my reports that have a date as a parameter won't execute (they work fine when scheduled interactively). The failure that is logged is:
The report was not completed. An error occurred while executing it. java.lang.ClassCastException: org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl cannot be cast to java.util.Date
I can understand why the date is coming in as a XMLGregorianCalendarImpl -- that's pretty standard for an XML date or date/time, but why doesn't Jasper Server convert that internally to the required java.util.Date?
BTW, this is on Jasper Server 5.0.0
Empty reports on fresh installation of JasperServer?
in Products
Posted
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...