Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1330472
Summary: | Jenkins returns HTTP/1.1 503 Service Unavailable | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jonny Heggheim <hegjon> | ||||
Component: | jenkins | Assignee: | Michal Srb <msrb> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 24 | CC: | aline.manera, drindt, java-sig-commits, mizdebsk, msrb, sandi_ro, stefan.golinschi | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | jenkins-1.651.1-1.fc24 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-17 15:13:52 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: | |||||||
Attachments: |
|
Description
Jonny Heggheim
2016-04-26 10:08:51 UTC
Thanks for the bug report Jonny, investigating. jenkins-mailer-plugin-1.17-1.fc24 jenkins-credentials-plugin-1.27-1.fc24 jenkins-script-security-plugin-1.18.1-1.fc24 jenkins-junit-plugin-1.12-1.fc24 jenkins-1.651.1-1.fc24 stapler-1.242-1.fc24 tiger-types-2.2-1.fc24 owasp-java-html-sanitizer-20160422.1-1.fc24 jenkins-remoting-2.57-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f3b40fcbc3 jenkins-1.651.1-1.fc24, jenkins-credentials-plugin-1.27-1.fc24, jenkins-junit-plugin-1.12-1.fc24, jenkins-mailer-plugin-1.17-1.fc24, jenkins-remoting-2.57-1.fc24, jenkins-script-security-plugin-1.18.1-1.fc24, owasp-java-html-sanitizer-20160422.1-1.fc24, stapler-1.242-1.fc24, tiger-types-2.2-1.fc24 has been pushed to the Fedora 24 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-f3b40fcbc3 jenkins-1.651.1-1.fc24, jenkins-credentials-plugin-1.27-1.fc24, jenkins-junit-plugin-1.12-1.fc24, jenkins-mailer-plugin-1.17-1.fc24, jenkins-remoting-2.57-1.fc24, jenkins-script-security-plugin-1.18.1-1.fc24, owasp-java-html-sanitizer-20160422.1-1.fc24, stapler-1.242-1.fc24, tiger-types-2.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. I can still see it in fedora 25 . cat /var/log/jenkins/jenkins.log Jan 20, 2017 4:30:03 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-8.1.17.v20150415 Jan 20, 2017 4:30:03 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Failed startup of context w.{,file:/usr/share/jenkins/webroot/},/usr/share/jenkins/webroot java.io.FileNotFoundException: /usr/share/jenkins/webroot/WEB-INF/lib/mina-core.jar (Too many levels of symbolic links) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at org.eclipse.jetty.util.resource.FileResource.getInputStream(FileResource.java:286) at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:151) at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100) at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82) at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:457) at winstone.HostConfiguration$1.preConfigure(HostConfiguration.java:166) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:493) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:282) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at winstone.Launcher.<init>(Launcher.java:152) at winstone.Launcher.main(Launcher.java:352) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at Main._main(Main.java:290) at Main.main(Main.java:104) Jan 20, 2017 4:30:03 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started SelectChannelConnector.0.0:8080 Jan 20, 2017 4:30:03 PM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled cat /usr/share/jenkins/webroot/META-INF/MANIFEST.MF Manifest-Version: 1.0 Hudson-Version: 1.395 Implementation-Version: 1.651.3 Built-By: mockbuild Jenkins-Version: 1.651.3 Created-By: Apache Maven 3.3.9 Build-Jdk: 1.8.0_111 Main-Class: Main probably a packaging error . Hello, I've been experienced same problems(503 Service Unavailable caused by java.io.FileNotFoundException: /usr/share/jenkins/webroot/WEB-INF/lib/mina-core.jar (Too many levels of symbolic links) in /var/log/jenkins/jenkins/log). In my case, the following symlinks were using relative paths instead of absolute paths: /usr/share/jenkins/webroot/WEB-INF/lib/mine-core.jar -> mine-core.jar /usr/share/jenkins/webroot/WEB-INF/lib/jtidy.jar -> jtidy.jar As of Fedora 25 Server, I found mine-core.jar at /usr/share/java/apache-mina/mina-core.jar and jtidy.jar at /usr/share/java/jtidy.jar. ln -s /usr/share/java/apache-mina/mina-core.jar /usr/share/jenkins/webroot/WEB-INF/lib/mina-core.jar ln -s /usr/share/java/jtidy.jar /usr/share/jenkins/webroot/WEB-INF/lib/jtidy.jar (In reply to Stefan from comment #6) > Hello, > I've been experienced same problems(503 Service Unavailable caused by > java.io.FileNotFoundException: > /usr/share/jenkins/webroot/WEB-INF/lib/mina-core.jar (Too many levels of > symbolic links) in /var/log/jenkins/jenkins/log). > > In my case, the following symlinks were using relative paths instead of > absolute paths: > /usr/share/jenkins/webroot/WEB-INF/lib/mine-core.jar -> mine-core.jar > /usr/share/jenkins/webroot/WEB-INF/lib/jtidy.jar -> jtidy.jar > > As of Fedora 25 Server, I found mine-core.jar at > /usr/share/java/apache-mina/mina-core.jar and jtidy.jar at > /usr/share/java/jtidy.jar. > > ln -s /usr/share/java/apache-mina/mina-core.jar > /usr/share/jenkins/webroot/WEB-INF/lib/mina-core.jar > ln -s /usr/share/java/jtidy.jar > /usr/share/jenkins/webroot/WEB-INF/lib/jtidy.jar I can confirm it is the problem on Fedora 25 as well. I recreated the links as mentioned and Jenkins is up and running now. (Thanks!) I have to add the information that the broken symlinks has to deleted before. |