Jump to content
We've recently updated our Privacy Statement, available here ×

andy.hill

Members
  • Posts

    5
  • Joined

  • Last visited

andy.hill's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. 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...
  2. 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.
  3. OK, I created a simple example report to reproduce the issue and submitted it to tracker: http://community.jaspersoft.com/jasperreports-server/issues/2677
  4. 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
×
×
  • Create New...