Bug 1148579 - Jenkins: Error 503: Service Unavailable when accessing http://localhost:8080
Summary: Jenkins: Error 503: Service Unavailable when accessing http://localhost:8080
Keywords:
Status: CLOSED DUPLICATE of bug 1147846
Alias: None
Product: Fedora
Classification: Fedora
Component: jenkins
Version: 21
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-01 19:03 UTC by anishjp@yahoo.com
Modified: 2014-10-03 07:48 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-03 07:48:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
jenkins log (19.54 KB, text/plain)
2014-10-01 19:03 UTC, anishjp@yahoo.com
no flags Details

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 ***


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