Bug 486749 - Tomcat Fails to Start on Fedora 10 (Missing Jar Symlink)
Summary: Tomcat Fails to Start on Fedora 10 (Missing Jar Symlink)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Devan Goodwin
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2009-02-21 18:37 UTC by Devan Goodwin
Modified: 2009-09-17 07:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:10:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Devan Goodwin 2009-02-21 18:37:32 UTC
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.

How reproducible:

100%

Steps to Reproduce:
1. Install spacewalk on Fedora 10 using 0.5 devel repo.
2. spacewalk-setup normally.
3.
  
Actual results:

Installer hangs restarting services, /var/log/tomcat5/catalina.out reports missing class name.


Additional info:

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.

Comment 1 Devan Goodwin 2009-02-23 02:57:08 UTC
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.

Comment 2 Devan Goodwin 2009-02-26 18:20:23 UTC
Fixed in spacewalk git ef86f69571d405013d03905cdf460d0c69388aa8.

Added explicit symlinks to both jars within the webapp lib directory on all platforms.

Comment 3 Devan Goodwin 2009-03-30 15:16:19 UTC
Verified in spacewalk 0.5.

Comment 4 Jesus M. Rodriguez 2009-04-14 14:13:12 UTC
Spacewalk 0.5 released.

Comment 5 Miroslav Suchý 2009-09-17 07:10:33 UTC
Spacewalk 0.5 has been released for long time ago.


Note You need to log in before you can comment on or make changes to this bug.