Red Hat Bugzilla – Bug 486749
Tomcat Fails to Start on Fedora 10 (Missing Jar Symlink)
Last modified: 2009-09-17 03:10:33 EDT
Description of problem:
During spacewalk-setup on Fedora 10 (using 0.5 devel repo) setup will stall when restarting services near the end. catalina.out reports missing SequencedHashMap class.
Steps to Reproduce:
1. Install spacewalk on Fedora 10 using 0.5 devel repo.
2. spacewalk-setup normally.
Installer hangs restarting services, /var/log/tomcat5/catalina.out reports missing class name.
Class is provided by the jakarta-commons-collections package which drops a jar into /usr/share/java.
On EL5 systems:
[root@rlx-0-18 java]# ls -la /var/lib/tomcat5/common/lib/
lrwxrwxrwx 1 root root 39 Feb 13 08:09 [commons-collections].jar -> /usr/share/java/commons-collections.jar
On Fedora 10 no such symlink exists and thus the class not found. The link does not appear to be owned by any package on EL5 so I'm not sure how it gets created.
Workaround is easy enough, copy or symlink the commons-collections.jar into common lib or the webapp lib.
One other missing jar causes a ClassNotFoundException looking for javax.transaction.Synchronization.
This one is found in /usr/share/java/jta.jar, again just needs to be copied or symlinked into /var/lib/tomcat5/common/lib/ or your webapps lib directory.
Fixed in spacewalk git ef86f69571d405013d03905cdf460d0c69388aa8.
Added explicit symlinks to both jars within the webapp lib directory on all platforms.
Verified in spacewalk 0.5.
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.