Bug 888934 - tomcat.noarch 7.0.33-1.fc16 update breaks APR connector
Summary: tomcat.noarch 7.0.33-1.fc16 update breaks APR connector
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat
Version: 16
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Ivan Afonichev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 847900
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-19 20:00 UTC by Maxim Valyanskiy
Modified: 2013-01-23 01:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-23 01:35:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Maxim Valyanskiy 2012-12-19 20:00:24 UTC
Description of problem:

After updating Tomcat to tomcat.noarch 7.0.33-1.fc16 (via updates repository) APR connector fails to work with error message:

SEVERE: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24.
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
        at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: The configured protocol [org.apache.coyote.http11.Http11AprProtocol] requires the APR/native library which is not available
        at org.apache.catalina.connector.Connector.initInternal(Connector.java:975)
        at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
        ... 12 more


Lastest tomcat-native in Fedora 16 is 1.1.22. I used updated package from Fedora 17 to fix the problem in my installation.

Version-Release number of selected component (if applicable):
tomcat.noarch 7.0.33-1.fc16

How reproducible:

Configure Tomcat with APR Connector in server.xml:

   <Connector port="8080" scheme="http" SSLEnabled="false" secure="false"
               protocol="org.apache.coyote.http11.Http11AprProtocol"
               redirectPort="8443" URIEncoding="UTF-8" maxThreads="768"/>
  
Actual results:

Tomcat does not listen port 8080

Expected results:

Tomcat continues operations after update without config modification. 

Additional info:

Comment 1 Fedora Update System 2012-12-19 22:02:04 UTC
tomcat-native-1.1.24-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/tomcat-native-1.1.24-1.fc16

Comment 2 Fedora Update System 2012-12-21 12:08:53 UTC
Package tomcat-native-1.1.24-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tomcat-native-1.1.24-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20798/tomcat-native-1.1.24-1.fc16
then log in and leave karma (feedback).

Comment 3 Fedora End Of Life 2013-01-17 02:06:23 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Ville Skyttä 2013-01-21 07:32:46 UTC
Ivan, Maxim, would you mind testing this F-16 build so we can get it to the repos before F-16 EOL with some confidence that it actually works?

Comment 5 Maxim Valyanskiy 2013-01-21 11:33:55 UTC
Yes, it works. Thank you.

Comment 6 Fedora Update System 2013-01-23 01:35:20 UTC
tomcat-native-1.1.24-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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