If I have a report that takes a java.util.Date as a parameter and schedule a job for that report via the rest_v2/jobs service, the job will be created OK, but will fail at the scheduled runtime due to "java.lang.ClassCastException: org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImpl cannot be cast to java.util.Date".
Simply running the report interactively from the web service (i.e., /rest_v2/reports/reports/date_bug_test.html?THE_DAY=2012-01-17, where THE_DAY is the Date parameter) works fine.
Scheduling the job manually via the Jasperserver control panel (after defining a Date input control to supply THE_DATE) also works fine.
I've attached a simple report (a single Date parameter,THE_DAY, that displays in the No_Data band) that can be used to reproduce the issue.
I've also attached the xml that is PUT to the rest_v2/jobs service (this will have to be modified slightly for your purposes, since it has some system-specific stuff in it -- the important part is the
<value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:date">2012-12-17</value>
A stack trace that is obtained from jasperserver.log is also attached.