Error scheduling job


I'm a newbie using jasper reports server, and I'm trying to deploy a home server to practise and learn the technology. I'm using jasperserver 5.5.0 over a mysql database. It's working acceptably except for some problems when I'm trying to schedule jobs.

First of all, when I try to put the job, I get this error from server ( HTTP 500 Internal Server Error - " No content to map to Object due to end of input"), although job is correctly scheduled and throws itself in time without problem. The stacktrace in log is as following

<span style="font-size:11px;">at
	at org.codehaus.jackson.jaxrs.JacksonJsonProvider.readFrom(</span>

In addition, when I return to see the list of scheduled jobs for current report, I get another Internal Server Error which is caused for

<span style="font-size:11px;">java.lang.NoClassDefFoundError: com/sun/xml/bind/DatatypeConverterImpl$CalendarFormatter
	at com.sun.xml.bind.DatatypeConverterImpl._printDateTime(
	at com.sun.xml.bind.DatatypeConverterImpl.printDateTime(
	at javax.xml.bind.DatatypeConverter.printDateTime(</span>

every time there is still an scheduled job. Even more, when I load a list of scheduled jobs, it doesn't mind if there is any of them, I get an HTTP 404 when trying to view the /options page from the report,being referrer page the following

<p>I hope anyone could help me solving this problem because I can't manage my scheduled jobs nowadays.</p>
<p>Thank you all in advance.</p>

alemaenem's picture
Joined: Feb 20 2014 - 6:12am
Last seen: 8 years 2 months ago

3 Answers:

First of all, thank you Hozawa for your suggestion, trying to update I realized it wasn't any bug, because the problem persisted, so I investigate a bit more and realized the problem should be Java version and a conflict in ClassLoaders. Finally, removing jaxb-api and jaxb-impl libraries from war and deploying it again over tomcat I was able to schedule jobs without problem.

I write this to help anyone could solve the same problem working with tomcat 7, JRE 1.7.0_52 (at least that's my version) and mysql database over Linux. Hope it can help.

alemaenem's picture
Joined: Feb 20 2014 - 6:12am
Last seen: 8 years 2 months ago

If it's just a home server to practice, version up your JasperReports Server to 5.6.1. 5.5.0 had too many bugs.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago

Recently a pro customer encountered this problem.  It was resolved by deleting their tomcat work dir for jasperserver-pro webapp (aka  $CATALINA_HOME/work/Catalina/localhost/jasperserver-pro").   The theory is that upon upgrade the work directory was not properly cleared by deployment scripts, so the work dir retained some old JSPs (they were using version 5.5 just prior) and these older classes were compiled with different versions of classes than 6.x would afford.

ghudson_1's picture
Joined: Oct 30 2012 - 12:51pm
Last seen: 2 years 3 months ago