0

I've just installed Jenkins on my Ubuntu 15.04. The installation was using 'apt-get' command which ended successfully. But now when I browse 'http://localhost:8080' or 'http://localhost:8080/jenkins' nothing worked. Just tomcat server's page is displayed. How can I browse the Jenkins????? Following is the log file errro:

hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.HudsonFailedToLoad: java.lang.InterruptedException
at hudson.WebAppMain$3.run(WebAppMain.java:237)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:267)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:924)
at jenkins.model.Jenkins.<init>(Jenkins.java:816)
at hudson.model.Hudson.<init>(Hudson.java:85)
at hudson.model.Hudson.<init>(Hudson.java:81)
at hudson.WebAppMain$3.run(WebAppMain.java:225)
  • Is there any error message in /var/log/jenkins/jenkins.log? – David Levesque Nov 9 '15 at 19:22
  • Hi David, errors are give above from the log file. I've also installed Jave 8 along with Java 7 – MKJ Nov 10 '15 at 2:21
1

It could be that another instance of Tomcat is already running on port 8080. Try changing the http port in /etc/default/jenkins, e.g. replace this line:

HTTP_PORT=8080

by this one:

HTTP_PORT=8081

then restart Jenkins:

sudo service jenkins restart

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.