Having trouble starting Jenkins, where do I find the "/usr/share/java/jenkins/war/META-INF/MANIFEST.MF" file?

1,418 views
Skip to first unread message

Dave

unread,
Apr 21, 2016, 12:50:51 PM4/21/16
to Jenkins Users

I just downloaded the Jenkins WAR, version 1.651.1. I’m trying to set it up on my Amazon Linux box. I’m running Java 1.7. I moved the WAR into its own directory, /usr/share/java/jenkins, and then set JENKINS_HOME to be that directory. Then I ran the command listed here — https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins . Looked so simple on the web site. But wouldn’t you know it. Got the below error

[davea@mydevbox ~]$ java -jar /usr/share/java/jenkins/jenkins.war 
Running from: /usr/share/java/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
Apr 19, 2016 9:29:34 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Apr 19, 2016 9:29:34 PM winstone.Logger logInternal
INFO: Winstone shutdown successfully
Apr 19, 2016 9:29:34 PM winstone.Logger logInternal
SEVERE: Container startup failed
java.io.FileNotFoundException: /usr/share/java/jenkins/war/META-INF/MANIFEST.MF (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
    at winstone.HostConfiguration.getWebRoot(HostConfiguration.java:280)
    at winstone.HostConfiguration.<init>(HostConfiguration.java:83)
    at winstone.HostGroup.initHost(HostGroup.java:66)
    at winstone.HostGroup.<init>(HostGroup.java:45)
    at winstone.Launcher.<init>(Launcher.java:145)
    at winstone.Launcher.main(Launcher.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at Main._main(Main.java:307)
    at Main.main(Main.java:98)

What else do I need to do to get Jenkins started?

Daniel Beck

unread,
Apr 21, 2016, 4:39:38 PM4/21/16
to jenkins...@googlegroups.com
Permissions problem? The user running Jenkins needs write access.
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f83e2f4c-e50f-4846-b9aa-f33e38e0790b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Pravin Mishra

unread,
Apr 26, 2016, 6:49:01 AM4/26/16
to Jenkins Users, m...@beckweb.net
Hi Dave,

Did you fix this issue? I am facing same problem. I am running Jenkins on DC/OS.

// Pravin
Reply all
Reply to author
Forward
0 new messages