[Spacewalk-list] register systems

m.roth2006 at rcn.com m.roth2006 at rcn.com
Tue Feb 17 15:43:55 UTC 2009


>Date: Tue, 17 Feb 2009 10:24:57 -0500
>From: Steve Vargo <stevevargo at hotmail.com>  
>
>   I have a very similar issue I also get the 404 error
>   and can't register any hosts. What OS is your
>   spacewalk running on? I was told this is because of
>   the version of  python that RHEL 5.2 is using.

>   > From: m.roth2006 at rcn.com
>   > To: spacewalk-list at redhat.com
>   >
>   > I log into spacewalk. From the first page,
>   overview, I click on register systems. I get a 404:
>   > The page you requested,
>   /rhn/help/client-config/en/index.jsp, was not found.
>   >
>   > I look in /var/log/tomcat5/catalina.out, and see
>   the same message that I mentioned a few weeks ago,
>   when I spoke of hacking around with spacewalk, and
>   was castigated for doing so:
>   > Feb 17, 2009 9:06:21 AM
>   org.apache.catalina.startup.HostConfig
>   deployDescriptor
>   > WARNING: A docBase /var/lib/tomcat5/webapps/rhn
>   inside the host appBase has been specified, and will
>   be ignored

Ok, looking at the official tomcat documentation - I wonder if there was a change between tomcat 4 and 5, maybe? - anyway, what I read is:
"Do not choose a docBase that starts with your Host's appBase string. The default appBase is "webapps" so do not choose a docBase like "webapps-foo." Doing so will lead to deployment errors: see Bugzilla for details."
at <http://tomcat.apache.org/tomcat-5.5-doc/config/context.html>, in the table, in the row for docBase. 

Therefore, however this worked in earlier versions, it appears to me to violate the tomcat specs.

Time to hack by copying (I dunno if anything references the files under webapps, so I don't want to break anything).

     mark




More information about the Spacewalk-list mailing list