[Spacewalk-list] osa-dispatcher error + internal server error when creating a kickstart or updating an older one.

lee funnyvoice at tlabs.ac.za
Wed May 2 13:57:29 UTC 2012


On 05/02/2012 03:03 PM, lee wrote:
> Hi..
>
> My first error was due to a tomcat security update:
>
> [root at spacewalk spacewalk_scripts]# rpm -qa | grep tomcat
> apache-tomcat-apis-0.1-1.el6.noarch
> tomcat6-el-2.1-api-6.0.24-36.el6_2.noarch
> tomcat5-servlet-2.4-api-5.5.27-7.jpp5.noarch
> tomcat6-servlet-2.5-api-6.0.24-36.el6_2.noarch
> tomcat5-jsp-2.0-api-5.5.27-7.jpp5.noarch
> tomcat6-lib-6.0.24-36.el6_2.noarch
> tomcat6-jsp-2.1-api-6.0.24-36.el6_2.noarch
> tomcat6-6.0.24-36.el6_2.noarch
>
>
> There was also a cobbler update. But this was fixed by copying the *old*
> config over to the cobbler confs.
>
> For the tomcat errors, I redid the spacewalk-setup. This seems to have
> solved the issues of at least no being able to view systems and
> provisioning tabs. But now when I try to update or create kickstarts I
> get , "internal server errors".
>
> Starting osa-dispatcher: RHN 7503 2012/05/02 12:44:33 +02:00:
> ('Traceback (most recent call last):\n  File
> "/usr/share/rhn/osad/jabber_lib.py", line 252, in setup_connection\n   
> c = self._get_jabber_client(js)\n  File
> "/usr/share/rhn/osad/jabber_lib.py", line 309, in
> _get_jabber_client\n    c.connect()\n  File
> "/usr/share/rhn/osad/jabber_lib.py", line 567, in connect\n   
> jabber.Client.connect(self)\n  File
> "/usr/lib/python2.6/site-packages/jabber/xmlstream.py", line 488, in
> connect\n    raise socket.error("Unable to connect to the host and port
> specified")\nerror: Unable to connect to the host and port specified\n',)
>                                                            [  OK  ]
>
> This is also what I see when I try to restart my spacewalk-service.
>
> osa-config in rhn.conf
>
> /etc/rhn
>
> # OSA configuration #
>
> server.jabber_server = spacewalk
> osa-dispatcher.jabber_server = spacewalk
>
> # set up SSL on the dispatcher
> osa-dispatcher.osa_ssl_cert = /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT
>
>
>
> I'm still going through logs, but I've no idea which logs is related to
> my issue, so going through all of them.
>
> Regards
> Lee
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
Hi

I've "found" a error from tomcat that I think might be the cause of my
"internal server" error:


from the catalina.out ( /var/log/tomcat6 ) I found this error:

2012-05-02 11:19:40,663 [TP-Processor8] WARN 
com.redhat.rhn.common.hibernate.EmptyVarcharInterceptor - Object
com.redhat.rhn.domain.user.legacy.PersonalInfo is setting empty string title
2012-05-02 11:20:47,501 [TP-Processor3] WARN 
com.redhat.rhn.common.hibernate.EmptyVarcharInterceptor - Object
com.redhat.rhn.domain.user.legacy.PersonalInfo is setting empty string title
2012-05-02 12:31:43,436 [TP-Processor3] WARN 
org.apache.struts.util.PropertyMessageResources -   Resource
org/apache/struts/action/ActionResources_en_US.properties Not Found.
2012-05-02 12:31:43,437 [TP-Processor3] WARN 
org.apache.struts.util.PropertyMessageResources -   Resource
org/apache/struts/action/ActionResources_en.properties Not Found.
2012-05-02 12:31:43,444 [TP-Processor3] WARN 
org.apache.struts.action.RequestProcessor - Unhandled Exception thrown:
class java.lang.ClassCastException
2012-05-02 12:31:43,550 [TP-Processor3] 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

Caused by: java.lang.ClassCastException: java.lang.String cannot be cast
to java.lang.Double
        at
org.cobbler.CobblerConnection.getVersion(CobblerConnection.java:174)
        at
com.redhat.rhn.manager.kickstart.cobbler.CobblerXMLRPCHelper.getCobblerVersion(CobblerXMLRPCHelper.java:123)
        at
com.redhat.rhn.manager.kickstart.KickstartFormatter.getFileData(KickstartFormatter.java:252)
        at
com.redhat.rhn.domain.kickstart.KickstartFactory.saveKickstartData(KickstartFactory.java:359)
        at
com.redhat.rhn.domain.kickstart.KickstartFactory.saveKickstartData(KickstartFactory.java:393)
        at
com.redhat.rhn.manager.kickstart.BaseKickstartCommand.store(BaseKickstartCommand.java:92)
        at
com.redhat.rhn.frontend.action.kickstart.BaseKickstartEditAction.execute(BaseKickstartEditAction.java:87)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
        ... 40 more



Has anyone seen this issue?

I'll post more info, if someone can give me more specifics a bit...
doing the , now traditional, google search...


Regards
Lee









More information about the Spacewalk-list mailing list