Bug 1148579

Summary: Jenkins: Error 503: Service Unavailable when accessing http://localhost:8080
Product: [Fedora] Fedora Reporter: anishjp@yahoo.com <anishjp>
Component: jenkinsAssignee: Michal Srb <msrb>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: java-sig-commits, mizdebsk, msrb
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-03 07:48:59 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 Flags
jenkins log none

Description anishjp@yahoo.com 2014-10-01 19:03:25 UTC
Created attachment 943185 [details]
jenkins log

Description of problem:

When accessing the site http://localhost:8080 in firefox, it gives a Error 503 Service Unavailable. I have disabled the firewalld. Cleared the firefox cache. Confirmed if jenkins is running.

from /var/log/jenkins/jenkins.log

Oct 01, 2014 8:03:36 PM hudson.WebAppMain contextInitialized
SEVERE: Failed to initialize Jenkins
java.lang.NullPointerException
	at com.trilead.ssh2.util.IOUtils.closeQuietly(IOUtils.java:12)
	at hudson.WebAppMain.recordBootAttempt(WebAppMain.java:272)
	at hudson.WebAppMain.contextInitialized(WebAppMain.java:128)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
	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:483)
	at Main._main(Main.java:290)
	at Main.main(Main.java:104)


Version-Release number of selected component (if applicable):

jenkins-1.581-2.fc21.noarch
java-1.8.0-openjdk-1.8.0.20-8.b26.fc21.x86_64


How reproducible:


Steps to Reproduce:
1.Open firefox
2.Enter http://localhost:8080
3.

Actual results:
Error 503 Service Unavailable

Expected results:
Should take to the jenkins page.

Additional info:
A quick googling says

1) Jenkins with version 1.548 works only with java-1.7, not sure if this is applicable to jenkins - 1.581

Comment 1 Mikolaj Izdebski 2014-10-03 07:48:59 UTC

*** This bug has been marked as a duplicate of bug 1147846 ***