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