Hi I am getting an error when go agent fails to start. trace log below. OS is : Amazon Linux AMI 2018.03 Java: openjdk version "10.0.2" 2018-07-17 Go agent version: 19.7.0
tried running it on java 1.8 but it fails with same error. any ideas or suggestions ``` STATUS | wrapper | 2019/08/15 15:48:20 | <-- Wrapper Stopped STATUS | wrapper | 2019/08/15 15:49:22 | --> Wrapper Started as Daemon STATUS | wrapper | 2019/08/15 15:49:22 | Java Service Wrapper Standard Edition 64-bit 3.5.37 STATUS | wrapper | 2019/08/15 15:49:22 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2019/08/15 15:49:22 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2019/08/15 15:49:22 | Licensed to ThoughtWorks for GoCD Agent On Linux STATUS | wrapper | 2019/08/15 15:49:22 | STATUS | wrapper | 2019/08/15 15:49:22 | Launching a JVM... INFO | jvm 1 | 2019/08/15 15:49:22 | WrapperManager: Initializing... INFO | jvm 1 | 2019/08/15 15:49:22 | [Thu Aug 15 15:49:22 AEST 2019] Starting process: INFO | jvm 1 | 2019/08/15 15:49:22 | [Thu Aug 15 15:49:22 AEST 2019] Working directory : /var/lib/go-agent INFO | jvm 1 | 2019/08/15 15:49:22 | [Thu Aug 15 15:49:22 AEST 2019] Application arguments: [-serverUrl, https://10.x.x.x:8154/go/] INFO | jvm 1 | 2019/08/15 15:49:22 | [Thu Aug 15 15:49:22 AEST 2019] GoCD Version: 19.7.0-9567 INFO | jvm 1 | 2019/08/15 15:49:22 | [Thu Aug 15 15:49:22 AEST 2019] Java Version: 12.0.1 INFO | jvm 1 | 2019/08/15 15:49:22 | [Thu Aug 15 15:49:22 AEST 2019] Operating System: Linux(4.14.114-83.126.amzn1.x86_64) INFO | jvm 1 | 2019/08/15 15:49:23 | Could not find file `config/agent-bootstrapper-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/08/15 15:49:23 | Using classpath resource `jar:onejar:lib/agent-bootstrapper-19.7.0-9567-classes.jar!/config/agent-bootstrapper-logback.xml'. INFO | jvm 1 | 2019/08/15 15:49:23 | SLF4J: Class path contains multiple SLF4J bindings. INFO | jvm 1 | 2019/08/15 15:49:23 | SLF4J: Found binding in [jar:onejar:lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/08/15 15:49:23 | SLF4J: Found binding in [jar:file:/var/lib/go-agent/data/deps-4303b3af29443eb7-agent-launcher.jar/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] INFO | jvm 1 | 2019/08/15 15:49:23 | SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. INFO | jvm 1 | 2019/08/15 15:49:23 | SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] INFO | jvm 1 | 2019/08/15 15:49:23 | Could not find file `config/agent-launcher-logback.xml'. Attempting to load from classpath. INFO | jvm 1 | 2019/08/15 15:49:23 | Using classpath resource `jar:file:/var/lib/go-agent/data/deps-4303b3af29443eb7-agent-launcher.jar/agent-launcher-18.5.0-6679-classes.jar!/config/agent-launcher-logback.xml'. INFO | jvm 1 | 2019/08/15 15:49:25 | java.lang.reflect.InvocationTargetException INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.gocd.Boot.run(Boot.java:89) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.gocd.Boot.main(Boot.java:55) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/java.lang.reflect.Method.invoke(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | at org.tanukisoftware.wrapper.WrapperJarApp.run(WrapperJarApp.java:451) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.launcher.DownloadableFile.matchChecksum(DownloadableFile.java:72) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.launcher.DownloadableFile.isChecksumEquals(DownloadableFile.java:79) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.launcher.ServerBinaryDownloader.downloadIfNecessary(ServerBinaryDownloader.java:73) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.launcher.AgentLauncherImpl.doLaunch(AgentLauncherImpl.java:90) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.launcher.AgentLauncherImpl.lambda$launch$0(AgentLauncherImpl.java:68) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.logging.LogConfigurator.runWithLogger(LogConfigurator.java:62) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.launcher.AgentLauncherImpl.launch(AgentLauncherImpl.java:68) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.go(AgentBootstrapper.java:78) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.lambda$main$0(AgentBootstrapper.java:59) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.logging.LogConfigurator.runWithLogger(LogConfigurator.java:53) INFO | jvm 1 | 2019/08/15 15:49:25 | at com.thoughtworks.go.agent.bootstrapper.AgentBootstrapper.main(AgentBootstrapper.java:59) INFO | jvm 1 | 2019/08/15 15:49:25 | ... 12 more INFO | jvm 1 | 2019/08/15 15:49:25 | Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/java.net.URLClassLoader.findClass(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/java.lang.ClassLoader.loadClass(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | at java.base/java.lang.ClassLoader.loadClass(Unknown Source) INFO | jvm 1 | 2019/08/15 15:49:25 | ... 23 more STATUS | wrapper | 2019/08/15 15:49:27 | <-- Wrapper Stopped ``` thanks Atul -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/fd23896d-782e-4d28-b780-6f7967074087%40googlegroups.com.