GoServer will not start: 'Failed startup of context o.e.j.w.WebAppContext'

8 views
Skip to first unread message

eric.l...@gmail.com

unread,
May 27, 2021, 11:28:55 AMMay 27
to go-cd
Hello,

We have been running GoCD v 18.2.0 for quite some time on a Win7 machine (due for update very soon).

Last night the GoServer service began to refuse to start up.

The only change we are aware of is yesterday we updated our installation of TortoiseSVN (and underlying SVN) from v1.9 to v1.14. We did not make any GoCD configuration related changes, and the GoServer and GoAgent services were stopped when we did the TSVN upgrade. We rebooted after the TSVN upgrade for good measure, and now the GoServer service refuses to start (though, GoAgent service is running just fine)

When we start the GoServer service, it stops almost immediately.

Google searches suggest a similar problem occurred with someone having permission issues, but we do not believe this to be the case in our situation. We have not changed the GoServer service's log on info any time recently.

The go-server.log file and go-server-wrapper.log file snippets are included below.

Advice from anyone with experience in this area would be very much appreciated. Thanks!

-Eric.

The go-server.log file contains this information when we try to start the service:

2021-05-27 10:11:11,934 INFO  [WrapperJarAppMain] GoSslSocketConnector:77 - Included ciphers: null
2021-05-27 10:11:11,952 INFO  [WrapperJarAppMain] GoSslSocketConnector:78 - Excluded ciphers: null
2021-05-27 10:11:11,952 INFO  [WrapperJarAppMain] GoSslSocketConnector:79 - Included protocols: null
2021-05-27 10:11:11,953 INFO  [WrapperJarAppMain] GoSslSocketConnector:80 - Excluded protocols: null
2021-05-27 10:11:11,953 INFO  [WrapperJarAppMain] GoSslSocketConnector:81 - Renegotiation Allowed: true
2021-05-27 10:11:12,009 INFO  [WrapperJarAppMain] Jetty9Server:183 - Configuring Jetty using C:\Program Files (x86)\Go Server\config\jetty.xml
2021-05-27 10:11:12,026 INFO  [WrapperJarAppMain] GoServer:94 - Including addons: 
2021-05-27 10:11:12,331 WARN  [WrapperJarAppMain] WebAppContext:514 - Failed startup of context o.e.j.w.WebAppContext@65db2a91{/go,null,null}{cruise.war}
java.util.zip.ZipException: invalid entry CRC (expected 0x8063250a but got 0xee8fdec8)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:394)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:196)
at java.util.jar.JarInputStream.read(JarInputStream.java:207)
at org.eclipse.jetty.util.IO.copy(IO.java:159)
at org.eclipse.jetty.util.IO.copy(IO.java:118)
at org.eclipse.jetty.util.resource.JarResource.copyTo(JarResource.java:240)
at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:468)
at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:72)
at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504)
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.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
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 com.thoughtworks.go.server.Jetty9Server.start(Jetty9Server.java:96)
at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:72)
at com.thoughtworks.go.server.GoServer.go(GoServer.java:64)
at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:45)
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:498)
at com.thoughtworks.gocd.Boot.run(Boot.java:104)
at com.thoughtworks.gocd.Boot.main(Boot.java:55)
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:498)
at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:427)
at java.lang.Thread.run(Thread.java:745)
2021-05-27 10:11:12,332 WARN  [WrapperJarAppMain] AbstractLifeCycle:212 - FAILED o.e.j.w.WebAppContext@65db2a91{/go,null,UNAVAILABLE}{cruise.war}: java.lang.NullPointerException
java.lang.NullPointerException: null
at com.thoughtworks.go.server.AssetsContextHandler.init(AssetsContextHandler.java:49)
at com.thoughtworks.go.server.AssetsContextHandlerInitializer.lifeCycleStarted(AssetsContextHandlerInitializer.java:41)
at org.eclipse.jetty.util.component.AbstractLifeCycle.setStarted(AbstractLifeCycle.java:179)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
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.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 com.thoughtworks.go.server.Jetty9Server.start(Jetty9Server.java:96)
at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:72)
at com.thoughtworks.go.server.GoServer.go(GoServer.java:64)
at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:45)
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:498)
at com.thoughtworks.gocd.Boot.run(Boot.java:104)
at com.thoughtworks.gocd.Boot.main(Boot.java:55)
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:498)
at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:427)
at java.lang.Thread.run(Thread.java:745)
2021-05-27 10:11:12,332 WARN  [WrapperJarAppMain] AbstractLifeCycle:212 - FAILED org.eclipse.jetty.server.handler.HandlerCollection@4341d8db[c.t.g.s.GoServerWelcomeFileHandler@5b196a82{/,null,AVAILABLE}, c.t.g.s.AssetsContextHandler@4b21d34a{/go/assets,null,AVAILABLE}, o.e.j.w.WebAppContext@65db2a91{/go,null,UNAVAILABLE}{cruise.war}, org.eclipse.jetty.server.handler.RequestLogHandler@cbbc041]: java.lang.NullPointerException
java.lang.NullPointerException: null
at com.thoughtworks.go.server.AssetsContextHandler.init(AssetsContextHandler.java:49)
at com.thoughtworks.go.server.AssetsContextHandlerInitializer.lifeCycleStarted(AssetsContextHandlerInitializer.java:41)
at org.eclipse.jetty.util.component.AbstractLifeCycle.setStarted(AbstractLifeCycle.java:179)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
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.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 com.thoughtworks.go.server.Jetty9Server.start(Jetty9Server.java:96)
at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:72)
at com.thoughtworks.go.server.GoServer.go(GoServer.java:64)
at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:45)
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:498)
at com.thoughtworks.gocd.Boot.run(Boot.java:104)
at com.thoughtworks.gocd.Boot.main(Boot.java:55)
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:498)
at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:427)
at java.lang.Thread.run(Thread.java:745)
2021-05-27 10:11:12,442 WARN  [WrapperJarAppMain] AbstractLifeCycle:212 - FAILED org.eclipse.jetty.server.Server@2e3d6737: java.lang.NullPointerException
java.lang.NullPointerException: null
at com.thoughtworks.go.server.AssetsContextHandler.init(AssetsContextHandler.java:49)
at com.thoughtworks.go.server.AssetsContextHandlerInitializer.lifeCycleStarted(AssetsContextHandlerInitializer.java:41)
at org.eclipse.jetty.util.component.AbstractLifeCycle.setStarted(AbstractLifeCycle.java:179)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
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.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 com.thoughtworks.go.server.Jetty9Server.start(Jetty9Server.java:96)
at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:72)
at com.thoughtworks.go.server.GoServer.go(GoServer.java:64)
at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:45)
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:498)
at com.thoughtworks.gocd.Boot.run(Boot.java:104)
at com.thoughtworks.gocd.Boot.main(Boot.java:55)
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:498)
at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:427)
at java.lang.Thread.run(Thread.java:745)

The go-server-wrapper.log file contains this info:

STATUS | wrapper  | 2021/05/27 10:11:07 | Launching a JVM...
INFO   | jvm 1    | 2021/05/27 10:11:07 | WrapperManager: Initializing...
INFO   | jvm 1    | 2021/05/27 10:11:08 | [Thu May 27 10:11:08 EDT 2021] Starting process: 
INFO   | jvm 1    | 2021/05/27 10:11:08 | [Thu May 27 10:11:08 EDT 2021]   Working directory    : C:\Program Files (x86)\Go Server
INFO   | jvm 1    | 2021/05/27 10:11:08 | [Thu May 27 10:11:08 EDT 2021]   JVM arguments        : [-Xms512m, -Xmx1024m, -DreservedForFuture.6, -XX:MaxMetaspaceSize=256m, -Duser.language=en, -Duser.country=US, -Dcruise.config.dir=C:\Program Files (x86)\Go Server\config, -Dcruise.config.file=C:\Program Files (x86)\Go Server\config\cruise-config.xml, -Dcruise.server.port=8153, -Dcruise.server.ssl.port=8154, -DJAVA_SYS_MON_TEMP_DIR=C:\Program Files (x86)\Go Server\tmp, -Dno_debugging, -Dno_gc_logging, -DreservedForFuture.4, -DreservedForFuture.5, -Dmail.smtp.starttls.enable=true, -Dfile.encoding=Cp1252, -Djava.library.path=lib, -Dwrapper.key=0Sc3G8Ev7z5WF2LmjbazBe2kpm9l6ep5, -Dwrapper.port=32001, -Dwrapper.jvm.port.min=31000, -Dwrapper.jvm.port.max=31999, -Dwrapper.pid=8004, -Dwrapper.version=3.5.30-st, -Dwrapper.native_library=wrapper, -Dwrapper.arch=x86, -Dwrapper.service=TRUE, -Dwrapper.cpu.timeout=10, -Dwrapper.jvmid=1, -Dwrapper.lang.domain=wrapper, -Dwrapper.lang.folder=../lang]
INFO   | jvm 1    | 2021/05/27 10:11:08 | [Thu May 27 10:11:08 EDT 2021]   Application arguments: []
INFO   | jvm 1    | 2021/05/27 10:11:08 | [Thu May 27 10:11:08 EDT 2021]            GoCD Version: 18.2.0-6228
INFO   | jvm 1    | 2021/05/27 10:11:08 | [Thu May 27 10:11:08 EDT 2021]          JVM properties: {java.vendor=Oracle Corporation, sun.java.launcher=SUN_STANDARD, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, os.name=Windows 7, sun.boot.class.path=C:\Program Files (x86)\Go Server\jre\lib\resources.jar;C:\Program Files (x86)\Go Server\jre\lib\rt.jar;C:\Program Files (x86)\Go Server\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Go Server\jre\lib\jsse.jar;C:\Program Files (x86)\Go Server\jre\lib\jce.jar;C:\Program Files (x86)\Go Server\jre\lib\charsets.jar;C:\Program Files (x86)\Go Server\jre\lib\jfr.jar;C:\Program Files (x86)\Go Server\jre\classes, sun.desktop=windows, java.vm.specification.vendor=Oracle Corporation, java.runtime.version=1.8.0_102-b14, wrapper.native_library=wrapper, wrapper.key=0Sc3G8Ev7z5WF2LmjbazBe2kpm9l6ep5, user.name=ebrandt, wrapper.jvm.port.min=31000, user.language=en, sun.boot.library.path=C:\Program Files (x86)\Go Server\jre\bin, java.version=1.8.0_102, user.timezone=America/New_York, sun.arch.data.model=64, java.endorsed.dirs=C:\Program Files (x86)\Go Server\jre\lib\endorsed, sun.cpu.isalist=amd64, sun.jnu.encoding=Cp1252, file.encoding.pkg=sun.io, file.separator=\, java.specification.name=Java Platform API Specification, java.class.version=52.0, user.country=US, java.home=C:\Program Files (x86)\Go Server\jre, java.vm.info=mixed mode, wrapper.version=3.5.30-st, os.version=6.1, no_gc_logging=, path.separator=;, java.vm.version=25.102-b14, wrapper.pid=8004, wrapper.jvm.port.max=31999, user.variant=, wrapper.lang.folder=../lang, wrapper.java.pid=5592, cruise.server.ssl.port=8154, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, mail.smtp.starttls.enable=true, awt.toolkit=sun.awt.windows.WToolkit, user.script=, user.home=C:\Users\ebrandt, cruise.config.dir=C:\Program Files (x86)\Go Server\config, java.specification.vendor=Oracle Corporation, java.library.path=lib, java.vendor.url=http://java.oracle.com/, cruise.server.port=8153, java.vm.vendor=Oracle Corporation, wrapper.jvmid=1, java.runtime.name=Java(TM) SE Runtime Environment, sun.java.command=org.tanukisoftware.wrapper.WrapperJarApp go.jar, java.class.path=lib/wrapper.jar;go.jar, wrapper.lang.domain=wrapper, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.8, sun.cpu.endian=little, sun.os.patch.level=Service Pack 1, wrapper.cpu.timeout=10, java.io.tmpdir=C:\Users\ebrandt\AppData\Local\Temp\, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, no_debugging=, os.arch=amd64, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\Program Files (x86)\Go Server\jre\lib\ext;C:\Windows\Sun\Java\lib\ext, user.dir=C:\Program Files (x86)\Go Server, cruise.config.file=C:\Program Files (x86)\Go Server\config\cruise-config.xml, line.separator=
INFO   | jvm 1    | 2021/05/27 10:11:08 | , java.vm.name=Java HotSpot(TM) 64-Bit Server VM, reservedForFuture.6=, reservedForFuture.5=, reservedForFuture.4=, file.encoding=Cp1252, java.specification.version=1.8, wrapper.service=TRUE, wrapper.port=32001, JAVA_SYS_MON_TEMP_DIR=C:\Program Files (x86)\Go Server\tmp, wrapper.arch=x86}
INFO   | jvm 1    | 2021/05/27 10:11:08 | [Thu May 27 10:11:08 EDT 2021]   Environment Variables: {PROCESSOR_LEVEL=6, FP_NO_HOST_CHECK=NO, VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\, WRAPPER_HOSTNAME=va-dev-new, ALLUSERSPROFILE=C:\ProgramData, QNX_TARGET=D:/qnx_adas20/target/qnx7, PROCESSOR_ARCHITECTURE=AMD64, CAN_SIGN_KEPWARE=1, WRAPPER_BITS=64, PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\, SystemDrive=C:, VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\, GO_SERVER_JAVA_HOME=C:\Program Files (x86)\Go Server\jre, WRAPPER_HOST_NAME=va-dev-new, USERNAME=ebrandt, USERDNSDOMAIN=MTRS.INTL, GO_AGENT_DIR=D:\GoAgent, ProgramFiles(x86)=C:\Program Files (x86), PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, GO_SERVER_URL=https://localhost:8154/go, VBOX_USER_HOME=C:\Users\ebrandt\.VirtualBox, GO_AGENT_JAVA_HOME=D:\GoAgent\jre, NM_OCCT_ROOT=C:\BuildTools\OpenCascade\7.3.0, QNX_CONFIGURATION=C:/Users/ebrandt/.qnx, TMPDIR=C:\Users\ebrandt\AppData\Local\Temp, ProgramData=C:\ProgramData, ProgramW6432=C:\Program Files, CRUISE_SERVER_DIR=C:\Program Files (x86)\Go Server, HOMEPATH=\Users\ebrandt, PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel, VSSDK140Install=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VSSDK\, ProgramFiles=C:\Program Files, PUBLIC=C:\Users\Public, windir=C:\Windows, WRAPPER_PID=8004, LOCALAPPDATA=C:\Users\ebrandt\AppData\Local, WRAPPER_WORKING_DIR=C:\Program Files (x86)\Go Server, GC_LOG=-Dno_gc_logging, USERDOMAIN=MTRS, WRAPPER_OS=windows, LOGONSERVER=\\SRV-US-VA-DC1, WIX=C:\Program Files (x86)\WiX Toolset v3.11\, JAVA_HOME=C:\Program Files (x86)\Go Server\jre, MAKEFLAGS=-ID:/qnx_adas20/target/qnx7/usr/include, LANG=en_US.UTF-8.UTF-8, SHFBROOT=C:\Program Files (x86)\EWSoftware\Sandcastle Help File Builder\, VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\, WRAPPER_BIN_DIR=C:\Program Files (x86)\Go Server, JVM_DEBUG=-Dno_debugging, =C:=C:\Program Files (x86)\Go Server, APPDATA=C:\Users\ebrandt\AppData\Roaming, WRAPPER_CONF_DIR=C:\Program Files (x86)\Go Server\config, WRAPPER_LANG=en, windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log, QNX_BASE=D:/qnx_adas20/, NM_OCCT_DEBUGLIB=C:\BuildTools\OpenCascade\7.3.0\win64\vc14\lib, VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\, WRAPPER_FILE_SEPARATOR=\, CommonProgramFiles=C:\Program Files\Common Files, Path=C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bin;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Library\bin;C:\ProgramData\Anaconda3\Scripts;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\BuildTools\nant-0.92\bin;C:\BuildTools\nantcontrib-0.92\bin;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\doxygen\bin;c:\buildtools\cmake\bin;C:\Program Files\PuTTY\;C:\BuildTools\OpenCascade\7.3.0\win64\vc14\bin;D:\qnx700\host\win64\x86_64\usr\bin;C:\Program Files\dotnet\;C:\Program Files\TortoiseSVN\bin;D:/qnx_adas20/host/win64/x86_64/usr/bin;D:/qnx_adas20/jre/bin;C:\BuildTools\nantco;C:\Users\ebrandt\.dotnet\tools, QNX_HOST=D:/qnx_adas20/host/win64/x86_64, JVM_DEBUG_PORT=5005, WRAPPER_INIT_DIR=C:\Windows\system32, OS=Windows_NT, windows_tracing_flags=3, COMPUTERNAME=VA-DEV-NEW, VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\, WRAPPER_PATH_SEPARATOR=;, PROCESSOR_REVISION=3c03, CommonProgramW6432=C:\Program Files\Common Files, ComSpec=C:\Windows\system32\cmd.exe, SystemRoot=C:\Windows, TEMP=C:\Users\ebrandt\AppData\Local\Temp, HOMEDRIVE=C:, USERPROFILE=C:\Users\ebrandt, TMP=C:\Users\ebrandt\AppData\Local\Temp, VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\, CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files, WRAPPER_ARCH=x86, NUMBER_OF_PROCESSORS=8, GC_LOG_LOCATION="C:\Program Files (x86)\Go Server\go-server-gc.log"}
INFO   | jvm 1    | 2021/05/27 10:11:08 | Could not find file `C:\Program Files (x86)\Go Server\config\logback.xml'. Attempting to load from classpath.
INFO   | jvm 1    | 2021/05/27 10:11:08 | Using classpath resource `jar:onejar:lib/server-launcher-18.2.0-6228-main.jar!/config/logback.xml'.
INFO   | jvm 1    | 2021/05/27 10:11:12 | ERROR: Failed to start Go server. Please check the logs.
INFO   | jvm 1    | 2021/05/27 10:11:12 | java.lang.NullPointerException
INFO   | jvm 1    | 2021/05/27 10:11:12 | at com.thoughtworks.go.server.AssetsContextHandler.init(AssetsContextHandler.java:49)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at com.thoughtworks.go.server.AssetsContextHandlerInitializer.lifeCycleStarted(AssetsContextHandlerInitializer.java:41)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.util.component.AbstractLifeCycle.setStarted(AbstractLifeCycle.java:179)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.server.Server.start(Server.java:387)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.server.Server.doStart(Server.java:354)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at com.thoughtworks.go.server.Jetty9Server.start(Jetty9Server.java:96)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:72)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at com.thoughtworks.go.server.GoServer.go(GoServer.java:64)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:45)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at com.thoughtworks.gocd.Boot.run(Boot.java:104)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at com.thoughtworks.gocd.Boot.main(Boot.java:55)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at java.lang.reflect.Method.invoke(Method.java:498)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:427)
INFO   | jvm 1    | 2021/05/27 10:11:12 | at java.lang.Thread.run(Thread.java:745)
STATUS | wrapper  | 2021/05/27 10:11:15 | <-- Wrapper Stopped

Ashwanth Kumar

unread,
May 27, 2021, 12:20:58 PMMay 27
to go...@googlegroups.com
Looks like the go-server installation is corrupted. More specifically the internal war file of the server, cruise.war. CRC checksum seems to fail while unzipping the archive. Try reinstalling the same version of the server or copy a version of the cruise.war from another installation (please take a backup of data before attempting). 

If you've any lower environment I would suggest to copy the current go-server installation directory and do the above experiment to see if it fixes the issue. 

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/985fe4f4-3813-4cbb-b480-a8e5e8a9ed0en%40googlegroups.com.

eric.l...@gmail.com

unread,
May 27, 2021, 2:50:22 PMMay 27
to go-cd
Thanks for the analysis.

Would it be reasonable to use this as an opportunity to update to the latest GoCD in place of the current install (rather than reinstalling our specific older version). Any concerns with doing so? Things to watch out for?

Thanks for the reply,
-Eric.

Ashwanth Kumar

unread,
May 27, 2021, 3:01:08 PMMay 27
to go...@googlegroups.com
It is always a good practice to switch to the latest version. I would recommend the following:
  1. Check the release notes of all the releases from your current version to the version you're switching to. 
    • JDK Requirements changed.
    • Windows 7 is something you might want to watch out for. I remember reading recently that the latest version of GoCD requires JRE 15. From this page, Windows 7 is not certified for JDK 15 for example.
  2. v18.2 is more than 3 years old, there is a lot of ground to cover. I would recommend trying the upgrade (with a backup from the current server) on a separate instance or machine before doing it on production. 
  3. Please take backup of the current setup before trying out anything. 
Thanks,



--

Ashwanth Kumar / ashwanthkumar.in

Reply all
Reply to author
Forward
0 new messages