Bug 888934

Summary: tomcat.noarch 7.0.33-1.fc16 update breaks APR connector
Product: [Fedora] Fedora Reporter: Maxim Valyanskiy <max.valjanski>
Component: tomcatAssignee: Ivan Afonichev <ivan.afonichev>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: akurtako, ivan.afonichev, java-sig-commits, kdaniel, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-23 01:35:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 847900    
Bug Blocks:    

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.