I'm trying to install Jenkins on my win7 machine but when I run the command
java -jar jenkins.war, it hangs in the cmd window and I can't access jenkins
via localhost:8080.
Any idea's? Thanks...
C:\Program Files (x86)\Jenkins>java -jar jenkins.war
Running from: C:\Program Files (x86)\Jenkins\jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
Nov 29, 2013 1:32:29 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
Nov 29, 2013 1:32:32 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Extract jar:file:/C:/Program%20Files%20(x86)/Jenkins/jenkins.war!/ to
C:\U
sers\fresh1011\AppData\Local\Temp\jetty-0.0.0.0-8080-jenkins.war--any-\webapp
Nov 29, 2013 1:32:39 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: C:\Program Files (x86)\Jenkins found at:
EnvVars.masterE
nvVars.get("JENKINS_HOME")
?[33mNov 29, 2013 1:32:39 PM hudson.WebAppMain recordBootAttempt
WARNING: Failed to record boot attempts
java.io.FileNotFoundException: C:\Program Files
(x86)\Jenkins\failed-boot-attemp
ts.txt (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at hudson.WebAppMain.recordBootAttempt(WebAppMain.java:267)
at hudson.WebAppMain.contextInitialized(WebAppMain.java:128)
at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialize
d(ContextHandler.java:782)
at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialize
d(ServletContextHandler.java:424)
at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextH
andler.java:774)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletC
ontextHandler.java:249)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1242)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandle
r.java:717)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494
)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe
r.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:282)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at winstone.Launcher.<init>(Launcher.java:154)
at winstone.Launcher.main(Launcher.java:354)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Main._main(Main.java:293)
at Main.main(Main.java:98)
?[0m?[31mNov 29, 2013 1:32:39 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.callContextInitialize
d(ContextHandler.java:782)
at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialize
d(ServletContextHandler.java:424)
at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextH
andler.java:774)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletC
ontextHandler.java:249)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1242)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandle
r.java:717)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494
)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe
r.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:282)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at winstone.Launcher.<init>(Launcher.java:154)
at winstone.Launcher.main(Launcher.java:354)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Main._main(Main.java:293)
at Main.main(Main.java:98)
?[0m?[33mNov 29, 2013 1:32:39 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Failed startup of context
w.{,file:/C:/Users/fresh1011/AppData/Local/Te
mp/jetty-0.0.0.0-8080-jenkins.war--any-/webapp/},C:\Program Files
(x86)\Jenkins\
jenkins.war
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.callContextInitialize
d(ContextHandler.java:782)
at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialize
d(ServletContextHandler.java:424)
at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextH
andler.java:774)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletC
ontextHandler.java:249)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
a:1242)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandle
r.java:717)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494
)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe
r.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:282)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
Cycle.java:64)
at winstone.Launcher.<init>(Launcher.java:154)
at winstone.Launcher.main(Launcher.java:354)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at Main._main(Main.java:293)
at Main.main(Main.java:98)
?[0mNov 29, 2013 1:32:39 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started [email protected]:8080
Nov 29, 2013 1:32:39 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
--
View this message in context:
http://jenkins-ci.361315.n4.nabble.com/Running-jankins-war-on-Win7-hangs-up-tp4683007.html
Sent from the Jenkins issues mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.