I'm going through the exercise of setting up Tomcat 6 on CentOS 5 using RPM packages. Right now I'm stuck with old versions of tomcat5-jsp-2.0-api and tomcat5-servlet-2.4-api-5.5.27-7.jpp5, since they are required by jakarta-taglibs-standard:

$ rpm -q --requires jakarta-taglibs-standard
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
servletapi5 >= 0:5.0.16
tomcat5-jsp-2.0-api >= 0:5.0.16
xalan-j2 >= 2.6.0

How can I move to a complete RPM-based solution for Tomcat 6, without having the old Tomcat 5 RPMS installed?

Just to clarify, this is not out of pure curiosity, but because the old dependencies now break my update


It's been a while since I've done this, but in general, you should be able to remove all of the Java-related RPMs from CentOS / RHEL, set up JPackage as a repository, and install Tomcat 6 from there. JPackage's RPMs are newer and more comprehensive than what CentOS / RHEL provide.

  • Thanks for the answer. JPackage seems to include a taglib rpm depending on the old tomcat5 package : mirrors.dotsrc.org/jpackage/1.7/generic/free/repodata/repoview/… – Robert Munteanu Aug 14 '09 at 21:00
  • Use JPackage 5.0. Although it's labeled "WIP," it's almost ready for release and should be plenty stable, and it contains tomcat6. – Josh Kelley Aug 14 '09 at 21:15
  • is the JPackage project dead? no updates for a year from looking at the site? – Arthur Ulfeldt Jul 6 '10 at 22:26
  • They don't have any major news to post on their site, but they're continuing to release packages. (Scroll down to "Recent JPackage 6.0 RPMs" on their main site and you'll see a number of packages built within the last month.) – Josh Kelley Jul 7 '10 at 15:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.