Page 1 of 1

Get tomcat error when trying to upgrade

Posted: Mon Aug 18, 2008 12:18 am
by pspcrazy
Hi I get this when i try to upgrade:


Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package psa-tomcat-configurator needs mod_jk, this is not available.
Complete!


Any idea how to fix it, commands if possible since im a unix newbie.

Thanks

Posted: Mon Aug 18, 2008 4:13 pm
by scott
You get that with "yum upgrade"?

Posted: Mon Aug 18, 2008 7:50 pm
by pspcrazy
Yea that's right yum upgrade is the command used.

Posted: Tue Aug 26, 2008 4:23 pm
by pspcrazy
anyhelp anyone?

Posted: Wed Aug 27, 2008 5:16 am
by breun
What OS? What version of Plesk? What versions of relevant packages installed?

Posted: Wed Nov 19, 2008 4:03 pm
by h4ck3r
OS CentOS 5.1
Plesk Version 8.6.0
plesk repo Enable
the problem is the updated httpd package from the CentOS maintainers.

Required by psa-tomcat-configurator package:

rpm -qR psa-tomcat-configurator
rpmlib(VersionedDependencies) <= 3.0.3-1
psa >= 8.4.0
tomcat5
tomcat5-admin-webapps
tomcat5-webapps
java
mod_jk
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1


Provided by mod_jk-ap20 package:

pm -q --provides mod_jk-ap20
mod_jk
mod_jk.so()(64bit)
mod_jk-ap20 = 1.2.15-42psa.cos5.build84080425.19


And here is the Problem, packages marked as obsolete by CentOS maintainers: :-(

rpm -q --obsoletes -p /var/cache/yum/updates/packages/httpd-2.2.3-11.el5_2.centos.4.x86_64.rpm
httpd-suexec
apache
secureweb
mod_dav
mod_gzip
stronghold-apache
stronghold-htdocs
mod_put
mod_roaming
mod_jk


The question is NOW, why is the package marked as obsolete? So, there are three choices:

1) Remove psa-tomcat-configurator if not needed.
2) Exclude httpd from update process.
3) Repackage httpd package (I think this is the way I will go :-) )
The httpd package obsoletes mod_jk because Apache httpd 2.2 comes with mod_proxy_ajp and this is the preferred Tomcat connector for use with Apache httpd 2.2. I think the solution should be Parallels reworking their Tomcat integration to use mod_proxy_ajp instead of mod_jk, at least for distributions that come with Apache httpd 2.2.

Posted: Wed Nov 19, 2008 4:53 pm
by Highland
rpm -e psa-tomcat-configurator
Assuming you don't use Tomcat, this is the quick and easy fix