Bug 445852 - Tomcat used by Dogtag doesn't load needed jakarta-commons-collections lib
Summary: Tomcat used by Dogtag doesn't load needed jakarta-commons-collections lib
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: Tomcat
Version: 1.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Matthew Harmsen
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 445047
TreeView+ depends on / blocked
 
Reported: 2008-05-09 13:08 UTC by Aleksander Adamowski
Modified: 2015-01-04 23:32 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-04 20:16:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Aleksander Adamowski 2008-05-09 13:08:58 UTC
Description of problem:

After installing pki-ca package from yum repository on Fedora 8, and visiting
the configuration URL (http://<fully qualified domain name>:<ca
port>/ca/admin/console/config/login?pin=<PIN>), on gets an error page from
Tomcat. According to the exception, it cannot load a required class from Jakarta
Commons Collections:

java.lang.NoClassDefFoundError: org/apache/commons/collections/ExtendedProperties
        at
org.apache.velocity.runtime.RuntimeInstance.<init>(RuntimeInstance.java:160)
....



Version-Release number of selected component (if applicable):
pki-ca-1.0.0-1.fc8
tomcat5-5.5.26-1jpp.2.fc8


How reproducible:
Always


Steps to Reproduce:
1. Install pki-ca (http://pki.fedoraproject.org/wiki/PKI_Install_Guide)
2. Try to visit the configuration URL that the RPM install script outputs on the
terminal
  
Actual results:
An exception is thrown by Tomcat

Expected results:
The Certificate Authority Configuration Wizard page is displayed


Additional info:

The workaround is to symlink the jakarta-commons-collections library into
Tomcat's lib dir, then restart pki-ca:

ln -s /usr/share/java/jakarta-commons-collections.jar
'/usr/share/tomcat5/common/lib/[commons-collections].jar'

Possibly the more correct place would be /var/lib/pki-ca/webapps/ca/WEB-INF/lib
instead of /usr/share/tomcat5/common/lib/, if Tomcat itself doesn't require
jakarta-commons-collections.


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