#1530 Client pki-tools missing tomcat-servlet dependency
Closed: Fixed None Opened 8 years ago by bja.

copied from bz#1248752

Description of problem: When querying a CA with the client-side pki command and the cert-find subcommand, no HTTP request is actually generated / sent and a java stack trace is output. After installing the tomcat-servlet package on the client, the command behaves as expected.

Version-Release number of selected component (if applicable): pki-tools 10.2.5-1

How reproducible: 100% of the time

Steps to Reproduce:
1. install fedora 22
2. install pki-tools without installing tomcat-servlet
3. query a CA with cert-find:
pki -v -C ~/.pki.password -U 'https://<host>:8443/ca' cert-find --status REVOKED

Actual results:
No HTTP request leaves the machine; java trace stack starts with "ava.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest"

Expected results:
List of certs that match query structure.

Additional info:
'cert-show' works fine without tomcat-servlet package, for some reason. Fedora 22 fix is to install tomcat-servlet.

I was also able to reproduce the bug with the steps above. However, I was able to get away with grabbing just the servlet-api import:

wget http://search.maven.org/remotecontent?filepath=javax/servlet/servlet-api/2.5/servlet-api-2.5.jar -O /usr/share/java/servlet-api-2.5.jar


Per meeting of 07/31/2015: 10.2.7 (critical)

Fixed in master: 52547567fee5e32b58e69c017546cc20f87fbef9

Metadata Update from @bja:
- Issue assigned to mharmsen
- Issue set to the milestone: 10.2.6

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/2089

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata