[Spacewalk-list] Startup error on new install

Justin Sherrill jsherril at redhat.com
Thu Oct 1 14:18:39 UTC 2009


Daniel Wittenberg wrote:
> It appears something might be wrong with the tomcat install, at least
> that's what I can figure at this point since ajp isn't listening on
> 8009, and I see these errors in the logs.  I see a few others having
> posted about this, but no real answers to what fixes it:
> 
> Sep 30, 2009 8:44:46 PM 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
> Sep 30, 2009 8:44:46 PM org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> INFO:
> validateJarFile(/usr/share/tomcat5/webapps/rhn/WEB-INF/lib/jspapi.jar) -
> jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
> javax/servlet/jsp/JspPage.class
> 
> Any more ideas?  I guess if not I'll wipe the machine and start over,
> though I think I followed the instructions and all seemed to go well.
> 
> Thanks,
> Dan
> 
> On Mon, 2009-09-28 at 21:00 +0200, Michael Mraka wrote:
>> Daniel Wittenberg wrote:
>> % Ok, I reset the password to spacewalk, and updated the /etc/rhn/rhn.conf
>> % file anywhere the password was referenced, and now doing the "sqlplus
>> % spacewalk/spaceawalk at xe" seems to work fine, but still getting same
>> % errors about the JVM startup failure. 
>> % 
>> % I also see this in /var/log/httpd/error_log:
>> % 
>> % [Mon Sep 28 14:22:37 2009] [error] (111)Connection refused: proxy: AJP:
>> % attempt to connect to 127.0.0.1:8009 (*) failed
>>
>> What is supposed to run on port 8009?
>>
>> AFAIK spacewalk expects tomcat on port 8080.
>>
>> % [Mon Sep 28 14:22:37 2009] [error] proxy: AJP: failed to make connection
>> % to backend: localhost
>> % 
>> % That appears to be trying to connect to tomcat on localhost, but I do
>> % see it listening on all IP's.
>> % 
>> % Sep 28, 2009 2:33:13 PM com.mchange.v2.resourcepool.BasicResourcePool
>> % $AcquireTask run
>> % WARNING: com.mchange.v2.resourcepool.BasicResourcePool
>> % $AcquireTask at 78faa02 -- Acquisition Attempt Failed!!! Clearing pending
>> % acquires. While trying to acquire a needed new resource, we failed to
>> % succeed more than the maximum number of allowed acquisition attempts
>> % (30).
>> % 
>> % Anything else to check?
>> % 
>> % Dan
>>
>> --
>> Michael Mráka
>> Satellite Engineering, Red Hat
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list


Can you post your entire /var/log/tomcat5/catalina.out file ?

Are you sure that it's not listening on 8009?  You said before you could
telnet to the port (and then it would disconnect).

Can you run:

grep 8009 /etc/tomcat5/*

-Justin

-- 
Justin Sherrill, RHCA          1801 Varsity Drive.
Software Engineer                Raleigh, NC 27603
Red Hat, Inc.




More information about the Spacewalk-list mailing list