Re: How to restore to previous state after automatic update

2017-04-20 Thread CNemo
I got it up and running doing following:

1. Renamed Plugins directory. Did not helped.
2. Installed 1.8 on a box. Did not helped
3. Renamed local copy of JRE and copied one from fresh installation. 
Reverted back plugins. Started just fine.

Thought I do not know if this set of actions OK and there is better way of 
fixing this.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8ac8f636-b1c9-49a3-bca2-f17679caf35f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to restore to previous state after automatic update

2017-04-20 Thread CNemo
Mark,

thank you for your reply! That's what I've suspected too. Problem is that 
I'm absolutely not sure what I really need to do.
I understand that It should be simple to install additional JDKs from 
Jenkins Configuration UI, but I'm not able to start Jenkins. Would be 
installing JDK 1.8 on the box enough to fix my problem? Looking at command 
line in log, I tend to believe that Jenkins windows service is pulling 
configuration from somewhere and falling back to local JRE, that is located 
in subdirectory.
Where I can point Jenkins core to a specific JDK?

Also how I can disable plugins without using UI? I attempted rename plugins 
directory to no avail.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f781e9ca-c045-404b-9e3e-afe498bd30bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to restore to previous state after automatic update

2017-04-19 Thread CNemo
Hi, friends!

I not an expert on Jenkins and recently hit a problem - Web UI is not 
working returning 503. I think it is related to the automatic update that 
happened day before.
When I start windows service I see following event in event viewer:

Child process [8720 - E:\Program Files (x86)\Jenkins\jre\bin\java -Xrs 
-Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar 
"E:\Program Files (x86)\Jenkins\jenkins.war" --httpPort=8080] terminated 
with -1073741510

Also in jenkins.err.log:
Apr 19, 2017 3:49:28 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Failed startup of context 
w.@15bae99{/,file:/E:/Program%20Files%20(x86)/Jenkins/war/,STARTING}{E:\Program 
Files (x86)\Jenkins\war}
java.lang.reflect.InvocationTargetException
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 
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:85)
at 
org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:72)
at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:408)
at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1340)
at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at winstone.Launcher.(Launcher.java:152)
at winstone.Launcher.main(Launcher.java:352)
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:264)
at Main.main(Main.java:112)
Caused by: java.lang.UnsupportedClassVersionError: 
jenkins/util/SystemProperties : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at 
org.eclipse.jetty.webapp.WebAppClassLoader.findClass(WebAppClassLoader.java:510)
at 
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:441)
at 
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)
at 
org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1583)
at 
org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitListener(StandardDescriptorProcessor.java:1956)
... 25 more

Apr 19, 2017 3:49:28 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector@1446af8{HTTP/1.1}{0.0.0.0:8080}
Apr 19, 2017 3:49:28 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started @1607ms
Apr 19, 2017 3:49:28 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Apr 19, 2017 3:50:31 PM Main deleteWinstoneTempContents

It looks like update is running something that is not supported by my java 
version. Is this assumption correct?

I would like to know if there any way to rollback latest update without 
starting UI or what I need to change to suppress version check.
Any help will be appreciated!

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3917bd05-646d-4de9-85f8-4ff1dd13a1fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.