[Spacewalk-list] tomcat issue when install spacewalk on centos 6.4

Michael Mraka michael.mraka at redhat.com
Thu Aug 1 08:32:22 UTC 2013


Ma, Lei wrote:
% 
% 
% Hi Guys,
% I am having problem install spacewalk on centos 6.4.
% I followed the directions as
% https://fedorahosted.org/spacewalk/wiki/HowToInstall
% 
% Last step failed with tomcat error:
% spacewalk-setup --disconnected --external-db
% when try to restart it
...
% SEVERE: ContainerBase.addChild: start:
% LifecycleException:  start: :  java.io.IOException: Failed to access resource /WEB-INF/lib/postgresql-jdbc.jar
..
% SEVERE: ContainerBase.addChild: start:
% LifecycleException:  start: :  java.io.IOException: Failed to access resource /WEB-INF/lib/antlr.jar
% 
% 
% [root@*** rhn]# ls -l WEB-INF/lib/postgresql-jdbc.jar
% lrwxrwxrwx 1 tomcat tomcat 35 Aug  1 11:05 WEB-INF/lib/postgresql-jdbc.jar -> /usr/share/java/postgresql-jdbc.jar
% 
% [root@*** rhn]# ls -l /usr/share/java/postgresql-jdbc.jar
% ls: cannot access /usr/share/java/postgresql-jdbc.jar: No such file or directory

Hi Lei,

/usr/share/java/postgresql-jdbc.jar is provided by postgresql-jdbc package.

I suspect there are some problems in your installation because
it should have been pulled as a requirement of spacewalk-common and
spacewalk-java packages.


% [root@*** rhn]# ls -l WEB-INF/lib/antlr.jar
% lrwxrwxrwx 1 tomcat tomcat 25 Aug  1 11:06 WEB-INF/lib/antlr.jar -> /usr/share/java/antlr.jar
% [root@*** rhn]# ls -l /usr/share/java/antlr.jar
% lrwxrwxrwx 1 root root 15 Aug  1 11:04 /usr/share/java/antlr.jar -> antlr-2.7.7.jar
% 
% [root@*** rhn]# ls -l /usr/share/java/antlr-2.7.7.jar
% -rw-r--r-- 1 root root 510505 Nov 11  2010 /usr/share/java/antlr-2.7.7.jar
% 
% Can someone please help?
% 
% Lei


Regards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list