https://bugzilla.redhat.com/show_bug.cgi?id=1286800
Bug ID: 1286800 Summary: Failed to start component due to wrong allowLinking="true" in context.xml Product: Fedora Version: 23 Component: tomcat Severity: low Assignee: ivan.afonichev@gmail.com Reporter: wolf@parallels.com QA Contact: extras-qa@fedoraproject.org CC: alee@redhat.com, csutherl@redhat.com, ivan.afonichev@gmail.com, java-sig-commits@lists.fedoraproject.org, krzysztof.daniel@gmail.com, me@coolsvap.net
Description of problem:
Failed to start component due to wrong allowLinking="true" in context.xml
Version-Release number of selected component (if applicable): tomcat-webapps-8.0.26-1.fc23.noarch
How reproducible: 100%
Steps to Reproduce: 1. Try to open tomcat example 2. It fails
Actual results:
In tomcat logs:
--- 30-Nov-2015 15:03:45.958 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin SetContextPropertiesRule]{Context} Setting property 'allowLinking' to 'true' did not find a matching property. 30-Nov-2015 15:03:45.992 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]] ---
Expected results: No failures
Additional info: As described here:
https://tomcat.apache.org/migration-8.html#Web_application_resources
the /var/lib/tomcat/webapps/examples/META-INF/context.xml should contain
<Context> <Resources allowLinking="true" /> </Context>
instead of
<Context allowLinking="true"/>
https://bugzilla.redhat.com/show_bug.cgi?id=1286800
Coty Sutherland csutherl@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |POST
--- Comment #1 from Coty Sutherland csutherl@redhat.com --- https://github.com/csutherl/fedora-tomcat/commit/82310b6
I updated the context.xml that gets created in the tomcat.spec to reflect the syntax change. It works now on a local build for me.
https://bugzilla.redhat.com/show_bug.cgi?id=1286800
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=1286800
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- tomcat-8.0.32-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e0bb2f21a
https://bugzilla.redhat.com/show_bug.cgi?id=1286800
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- tomcat-8.0.32-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5e0bb2f21a
https://bugzilla.redhat.com/show_bug.cgi?id=1286800
Ivan Afonichev ivan.afonichev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2016-05-02 16:30:59
java-sig-commits@lists.fedoraproject.org