[Spacewalk-list] Kickstart cloning error in Spacewalk

Jeremy Maes jma at schaubroeck.be
Wed Jun 20 06:50:09 UTC 2012


Op 19/06/2012 22:23, Velayutham, Prakash schreef:
> Hello all,
>
> I am running Spacewalk 1.6 on a CentOS 6.2 system. I have had everything working well for a while now. However, today I am getting this error in my Tomcat logs over and over.
>
> 2012-06-19 16:19:57,919 [TP-Processor8] WARN  org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class java.lang.ClassCastException
> 2012-06-19 16:19:57,919 [TP-Processor8] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back
> javax.servlet.ServletException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double
>          at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520
...
>   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
>          ... 40 more
>
>
> And, this coincides with an "Internal Server Error" I am getting while trying to create a new kickstart profile or clone an existing kickstart into a new one. Has any one seen this before?
>
> For note, I have restarted Spacewalk service several times and even rebooted the server, but the error persists.
>
> Thanks,
> Prakash
>

Google search will tell you (as it told me yesterday) that it's an issue 
with the newest cobbler version. Its version file says "version 2.2.2" 
and somewhere in the code it tries to cast that version number to a 
double, which obviously isn't possible.

Just edit /etc/cobbler/version and change the version line to read "2.2" 
instead of "2.2.2" and everything will work again.

Regards,
Jeremy

 **** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm




More information about the Spacewalk-list mailing list