Bug 682013 - pkisilent needs xml-commons-apis.jar in it's classpath
Summary: pkisilent needs xml-commons-apis.jar in it's classpath
Keywords:
Status: CLOSED EOL
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: Batch Configuration (pkisilent)
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: RHCS Maintainers
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks: dogtagIPAv2 682021
TreeView+ depends on / blocked
 
Reported: 2011-03-03 22:03 UTC by John Dennis
Modified: 2020-03-27 20:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 682021 (view as bug list)
Environment:
Last Closed: 2020-03-27 20:00:37 UTC
Embargoed:


Attachments (Terms of Use)
add xml-commons-apis.jar to pkisilent and xml-commons-resolver.jar to pkicreate (3.68 KB, patch)
2011-03-03 22:07 UTC, John Dennis
mharmsen: review+
Details | Diff

Description John Dennis 2011-03-03 22:03:28 UTC
We recently added xml-commons-apis.jar to the location searched by the webapp classloader because it's needed by xerces-j2 in bug #680420, this is setup by pkicreate.

pkisilent also uses xerces-j2 and hence must also have xml-commons-apis.jar in it's classpath in /usr/bin/pkisilent

xerces-j2 depends on both xml-commons-apis.jar and xml-commons-resolver.jar. pkisilent already had xml-commons-resolver.jar but was missing xml-commons-apis.jar. On the otherhand the tomcat webapps setup by pkicreate currently just adds xml-commons-apis.jar, xml-commons-resolver should also be in the class library location.

The patch which will follow will do the following:

1) add xml-commons-apis.jar to the classpath of pkisilent

2) add xml-commons-resolver.jar to the webapp lib location set up by pkicreate

3) add the dependencies to the pkicore.spec file.

Comment 1 John Dennis 2011-03-03 22:07:10 UTC
Created attachment 482168 [details]
add xml-commons-apis.jar to pkisilent and xml-commons-resolver.jar to pkicreate

Comment 2 John Dennis 2011-03-03 22:27:43 UTC
Sending        base/setup/pkicreate
Transmitting file data .
Committed revision 1874.


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