I have the same error on the fresh install of CentOS 5.3 (today upgraded to 5.4):<div><div>(root@sw6)-(12:22 AM Sat Oct 24)-(~)</div><div># tail /var/log/httpd/error_log</div><div>[Sat Oct 24 00:22:58 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to <a href="http://127.0.0.1:8009">127.0.0.1:8009</a> (*) failed</div>
<div>[Sat Oct 24 00:22:58 2009] [error] proxy: AJP: failed to make connection to backend: localhost</div><div>[Sat Oct 24 00:23:01 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to <a href="http://127.0.0.1:8009">127.0.0.1:8009</a> (*) failed</div>
<div>[Sat Oct 24 00:23:01 2009] [error] proxy: AJP: failed to make connection to backend: localhost</div><div>[Sat Oct 24 00:23:02 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to <a href="http://127.0.0.1:8009">127.0.0.1:8009</a> (*) failed</div>
<div>[Sat Oct 24 00:23:02 2009] [error] proxy: AJP: failed to make connection to backend: localhost</div><div>[Sat Oct 24 00:23:06 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to <a href="http://127.0.0.1:8009">127.0.0.1:8009</a> (*) failed</div>
<div>[Sat Oct 24 00:23:06 2009] [error] proxy: AJP: failed to make connection to backend: localhost</div><div>[Sat Oct 24 00:23:10 2009] [error] (111)Connection refused: proxy: AJP: attempt to connect to <a href="http://127.0.0.1:8009">127.0.0.1:8009</a> (*) failed</div>
<div>[Sat Oct 24 00:23:10 2009] [error] proxy: AJP: failed to make connection to backend: localhost</div><div>(root@sw6)-(12:23 AM Sat Oct 24)-(~)</div><div># grep 8009 /etc/tomcat5/*</div><div>/etc/tomcat5/server-minimal.xml:    <Connector port="8009" protocol="AJP/1.3" /></div>
<div>/etc/tomcat5/server.xml:    <!-- Define an AJP 1.3 Connector on port 8009 --></div><div>/etc/tomcat5/server.xml:    <Connector port="8009" </div><div>/etc/tomcat5/workers2.properties:[channel.socket:localhost:8009]</div>
<div>/etc/tomcat5/workers2.properties:tomcatId=localhost:8009</div><div>/etc/tomcat5/workers2.properties.minimal:[channel.socket:localhost:8009]</div><div>/etc/tomcat5/workers2.properties.minimal:tomcatId=localhost:8009</div>
<div>/etc/tomcat5/workers.properties:# - An ajp13 worker that connects to localhost:8009</div><div>/etc/tomcat5/workers.properties:worker.ajp13.port=8009</div><div>/etc/tomcat5/workers.properties.minimal:worker.ajp13w.port=8009</div>
<div><br></div><div><div># netstat -anp|grep LISTEN|grep java</div><div>tcp        0      0 <a href="http://127.0.0.1:32000">127.0.0.1:32000</a>             0.0.0.0:*                   LISTEN      4498/java           </div>
<div>tcp        0      0 ::ffff:<a href="http://127.0.0.1:8005">127.0.0.1:8005</a>       :::*                        LISTEN      4429/java           </div><div>tcp        0      0 :::8009                     :::*                        LISTEN      4429/java           </div>
<div>tcp        0      0 ::ffff:<a href="http://127.0.0.1:2828">127.0.0.1:2828</a>       :::*                        LISTEN      4498/java           </div><div>tcp        0      0 :::8080                     :::*                        LISTEN      4429/java </div>
</div><div><br></div></div><div><br></div><div><br><div class="gmail_quote">On Thu, Oct 1, 2009 at 6:18 PM, Justin Sherrill <span dir="ltr"><<a href="mailto:jsherril@redhat.com">jsherril@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">Daniel Wittenberg wrote:<br>
> It appears something might be wrong with the tomcat install, at least<br>
> that's what I can figure at this point since ajp isn't listening on<br>
> 8009, and I see these errors in the logs.  I see a few others having<br>
> posted about this, but no real answers to what fixes it:<br>
><br>
> Sep 30, 2009 8:44:46 PM org.apache.catalina.startup.HostConfig<br>
> deployDescriptor<br>
> WARNING: A docBase /var/lib/tomcat5/webapps/rhn inside the host appBase<br>
> has been specified, and will be ignored<br>
> Sep 30, 2009 8:44:46 PM org.apache.catalina.loader.WebappClassLoader<br>
> validateJarFile<br>
> INFO:<br>
> validateJarFile(/usr/share/tomcat5/webapps/rhn/WEB-INF/lib/jspapi.jar) -<br>
> jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:<br>
> javax/servlet/jsp/JspPage.class<br>
><br>
> Any more ideas?  I guess if not I'll wipe the machine and start over,<br>
> though I think I followed the instructions and all seemed to go well.<br>
><br>
> Thanks,<br>
> Dan<br>
><br>
> On Mon, 2009-09-28 at 21:00 +0200, Michael Mraka wrote:<br>
>> Daniel Wittenberg wrote:<br>
>> % Ok, I reset the password to spacewalk, and updated the /etc/rhn/rhn.conf<br>
>> % file anywhere the password was referenced, and now doing the "sqlplus<br>
>> % spacewalk/spaceawalk@xe" seems to work fine, but still getting same<br>
>> % errors about the JVM startup failure.<br>
>> %<br>
>> % I also see this in /var/log/httpd/error_log:<br>
>> %<br>
>> % [Mon Sep 28 14:22:37 2009] [error] (111)Connection refused: proxy: AJP:<br>
>> % attempt to connect to <a href="http://127.0.0.1:8009" target="_blank">127.0.0.1:8009</a> (*) failed<br>
>><br>
>> What is supposed to run on port 8009?<br>
>><br>
>> AFAIK spacewalk expects tomcat on port 8080.<br>
>><br>
>> % [Mon Sep 28 14:22:37 2009] [error] proxy: AJP: failed to make connection<br>
>> % to backend: localhost<br>
>> %<br>
>> % That appears to be trying to connect to tomcat on localhost, but I do<br>
>> % see it listening on all IP's.<br>
>> %<br>
>> % Sep 28, 2009 2:33:13 PM com.mchange.v2.resourcepool.BasicResourcePool<br>
>> % $AcquireTask run<br>
>> % WARNING: com.mchange.v2.resourcepool.BasicResourcePool<br>
>> % $AcquireTask@78faa02 -- Acquisition Attempt Failed!!! Clearing pending<br>
>> % acquires. While trying to acquire a needed new resource, we failed to<br>
>> % succeed more than the maximum number of allowed acquisition attempts<br>
>> % (30).<br>
>> %<br>
>> % Anything else to check?<br>
>> %<br>
>> % Dan<br>
>><br>
>> --<br>
>> Michael Mráka<br>
>> Satellite Engineering, Red Hat<br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
><br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
<br>
<br>
</div></div>Can you post your entire /var/log/tomcat5/catalina.out file ?<br>
<br>
Are you sure that it's not listening on 8009?  You said before you could<br>
telnet to the port (and then it would disconnect).<br>
<br>
Can you run:<br>
<br>
grep 8009 /etc/tomcat5/*<br>
<font color="#888888"><br>
-Justin<br>
</font><div class="im"><br>
--<br>
Justin Sherrill, RHCA          1801 Varsity Drive.<br>
Software Engineer                Raleigh, NC 27603<br>
Red Hat, Inc.<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Kirill Morozov<br>Fedora-Hosting.com<br>
</div>