|
|
|
Thank you Robin for replying :
The agent is inactive: I can telnet on 8811 and ping from server to agent and vis versa: I had these setup working , other agents still working fine as well. and all config files are setup the same as far as the wrapper.java.command=java . as the logs complaining. please see below the console.log from the agent while I am trying to restart qb and it is not running : Launching a JVM... jvm 1 | WrapperManager: Initializing... jvm 1 | 2018-03-27 09:08:47,887 INFO - Cleaning cached plugin libraries... jvm 1 | 2018-03-27 09:08:47,965 INFO - Cleaning temp directory... jvm 1 | 2018-03-27 09:08:47,970 INFO - Benchmarking... jvm 1 | 2018-03-27 09:08:48,780 INFO - Connecting to server 'http://admxxx.abcd.cfg:8810'... jvm 1 | 2018-03-27 09:08:48,859 INFO - Updating framework... jvm 1 | 2018-03-27 09:08:48,866 INFO - Updating plugins... jvm 1 | 2018-03-27 09:08:48,876 INFO - Updating plugins/com.pmease.quickbuild.libs... jvm 1 | 2018-03-27 09:08:48,880 INFO - Updating asset... jvm 1 | 2018-03-27 09:08:48,883 INFO - Booting QuickBuild from '/opt/quickbuild/buildagent'... jvm 1 | 2018-03-27 09:08:48,884 INFO - Starting framework... jvm 1 | 2018-03-27 09:08:48,949 INFO - Caching plugin libraries... jvm 1 | WrapperStartStopApp: jvm 1 | WrapperStartStopApp Error: Encountered an error running start main: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:576) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:126) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:264) jvm 1 | WrapperStartStopApp Error: at java.lang.Thread.run(Thread.java:745) jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:61) jvm 1 | WrapperStartStopApp Error: ... 12 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:59) jvm 1 | WrapperStartStopApp Error: ... 12 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionIdListener jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.server.session.SessionHandler.<clinit>(SessionHandler.java:54) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:241) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:334) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:180) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:157) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:117) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.startJettyServer(Quickbuild.java:339) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:252) jvm 1 | WrapperStartStopApp Error: ... 17 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSessionIdListener jvm 1 | WrapperStartStopApp Error: at java.net.URLClassLoader.findClass(URLClassLoader.java:381) jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.loadClass(ClassLoader.java:424) jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) jvm 1 | WrapperStartStopApp Error: ... 25 more jvm 1 | 2018-03-27 09:08:51,968 INFO - Stopping QuickBuild agent... jvm 1 | 2018-03-27 09:08:52,313 INFO - Disconnecting from server... jvm 1 | 2018-03-27 09:08:52,324 ERROR - Failed to notify server. jvm 1 | com.pmease.quickbuild.AccessDeniedException: Can not disconnect other agents. jvm 1 | at com.pmease.quickbuild.grid.ConnectServlet.disconnect(ConnectServlet.java:331) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:302) jvm 1 | at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:198) jvm 1 | at com.caucho.hessian.server.HessianServlet.invoke(HessianServlet.java:399) jvm 1 | at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:379) jvm 1 | at com.pmease.quickbuild.grid.ConnectServlet.service(ConnectServlet.java:66) jvm 1 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) jvm 1 | at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(Quickbuild.java:1076) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:499) jvm 1 | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) jvm 1 | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258) jvm 1 | at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) jvm 1 | at java.lang.Thread.run(Thread.java:745) jvm 1 | 2018-03-27 09:08:52,326 INFO - Waiting for finish of existing jobs... jvm 1 | 2018-03-27 09:08:52,326 INFO - Stopping plugins... jvm 1 | 2018-03-27 09:08:52,331 INFO - Stopping task scheduler... jvm 1 | 2018-03-27 09:08:52,376 INFO - QuickBuild agent stopped. wrapper | <-- Wrapper Stopped wrapper | --> Wrapper Started as Daemon wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.25 wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. wrapper | http://wrapper.tanukisoftware.com wrapper | Licensed to PMEase Inc. for QuickBuild wrapper | wrapper | Launching a JVM... jvm 1 | WrapperManager: Initializing... jvm 1 | 2018-03-27 09:10:21,909 INFO - Cleaning cached plugin libraries... jvm 1 | 2018-03-27 09:10:21,978 INFO - Cleaning temp directory... jvm 1 | 2018-03-27 09:10:21,982 INFO - Benchmarking... jvm 1 | 2018-03-27 09:10:22,746 INFO - Connecting to server 'http://admxxx.abcd.cfg:8810'... jvm 1 | 2018-03-27 09:10:22,805 INFO - Updating framework... jvm 1 | 2018-03-27 09:10:22,809 INFO - Updating plugins... jvm 1 | 2018-03-27 09:10:22,814 INFO - Updating plugins/com.pmease.quickbuild.libs... jvm 1 | 2018-03-27 09:10:22,816 INFO - Updating asset... jvm 1 | 2018-03-27 09:10:22,817 INFO - Booting QuickBuild from '/opt/quickbuild/buildagent'... jvm 1 | 2018-03-27 09:10:22,819 INFO - Starting framework... jvm 1 | 2018-03-27 09:10:22,859 INFO - Caching plugin libraries... jvm 1 | WrapperStartStopApp: jvm 1 | WrapperStartStopApp Error: Encountered an error running start main: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:576) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:126) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:264) jvm 1 | WrapperStartStopApp Error: at java.lang.Thread.run(Thread.java:745) jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:61) jvm 1 | WrapperStartStopApp Error: ... 12 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:59) jvm 1 | WrapperStartStopApp Error: ... 12 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionIdListener jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.server.session.SessionHandler.<clinit>(SessionHandler.java:54) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:241) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:334) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:180) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:157) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:117) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.startJettyServer(Quickbuild.java:339) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:252) jvm 1 | WrapperStartStopApp Error: ... 17 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSessionIdListener jvm 1 | WrapperStartStopApp Error: at java.net.URLClassLoader.findClass(URLClassLoader.java:381) jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.loadClass(ClassLoader.java:424) jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) jvm 1 | WrapperStartStopApp Error: ... 25 more jvm 1 | 2018-03-27 09:10:25,823 INFO - Stopping QuickBuild agent... jvm 1 | 2018-03-27 09:10:26,109 INFO - Disconnecting from server... jvm 1 | 2018-03-27 09:10:26,119 ERROR - Failed to notify server. jvm 1 | com.pmease.quickbuild.AccessDeniedException: Can not disconnect other agents. jvm 1 | at com.pmease.quickbuild.grid.ConnectServlet.disconnect(ConnectServlet.java:331) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:302) jvm 1 | at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:198) jvm 1 | at com.caucho.hessian.server.HessianServlet.invoke(HessianServlet.java:399) jvm 1 | at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:379) jvm 1 | at com.pmease.quickbuild.grid.ConnectServlet.service(ConnectServlet.java:66) jvm 1 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) jvm 1 | at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(Quickbuild.java:1076) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:499) jvm 1 | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) jvm 1 | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258) jvm 1 | at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) jvm 1 | at java.lang.Thread.run(Thread.java:745) jvm 1 | 2018-03-27 09:10:26,122 INFO - Waiting for finish of existing jobs... jvm 1 | 2018-03-27 09:10:26,122 INFO - Stopping plugins... jvm 1 | 2018-03-27 09:10:26,131 INFO - Stopping task scheduler... jvm 1 | 2018-03-27 09:10:26,187 INFO - QuickBuild agent stopped. wrapper | <-- Wrapper Stopped wrapper | --> Wrapper Started as Daemon wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.25 wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. wrapper | http://wrapper.tanukisoftware.com wrapper | Licensed to PMEase Inc. for QuickBuild wrapper | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) jvm 1 | wrapper | --> Wrapper Started as Daemon jvm 1 | wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.25 jvm 1 | wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. jvm 1 | wrapper | http://wrapper.tanukisoftware.com jvm 1 | wrapper | Licensed to PMEase Inc. for QuickBuild jvm 1 | wrapper | jvm 1 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 1 | wrapper | Launching a JVM... wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | Reloading Wrapper configuration... wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) jvm 2 | wrapper | --> Wrapper Started as Daemon jvm 2 | wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.25 jvm 2 | wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. jvm 2 | wrapper | http://wrapper.tanukisoftware.com jvm 2 | wrapper | Licensed to PMEase Inc. for QuickBuild jvm 2 | wrapper | jvm 2 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 2 | wrapper | Launching a JVM... jvm 2 | jvm 1 | wrapper | --> Wrapper Started as Daemon jvm 2 | jvm 1 | wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.25 jvm 2 | jvm 1 | wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. jvm 2 | jvm 1 | wrapper | http://wrapper.tanukisoftware.com jvm 2 | jvm 1 | wrapper | Licensed to PMEase Inc. for QuickBuild jvm 2 | jvm 1 | wrapper | jvm 2 | jvm 1 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 2 | jvm 1 | wrapper | Launching a JVM... jvm 2 | wrapper | jvm 2 | wrapper | ------------------------------------------------------------------------ jvm 2 | wrapper | Advice: jvm 2 | wrapper | Usually when the Wrapper fails to start the JVM process, it is because jvm 2 | wrapper | of a problem with the value of the configured Java command. Currently: jvm 2 | wrapper | wrapper.java.command=java jvm 2 | wrapper | Please make sure that the PATH or any other referenced environment jvm 2 | wrapper | variables are correctly defined for the current environment. jvm 2 | wrapper | ------------------------------------------------------------------------ jvm 2 | wrapper | jvm 2 | wrapper | Reloading Wrapper configuration... jvm 2 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 2 | wrapper | Launching a JVM... wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | Reloading Wrapper configuration... wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) jvm 3 | iables are correctly defined for the current environment. jvm 3 | wrapper | ------------------------------------------------------------------------ jvm 3 | wrapper | jvm 3 | wrapper | Reloading Wrapper configuration... jvm 3 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 3 | wrapper | Launching a JVM... wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | Reloading Wrapper configuration... wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) jvm 4 | iables are correctly defined for the current environment. jvm 4 | wrapper | ------------------------------------------------------------------------ jvm 4 | wrapper | jvm 4 | wrapper | Reloading Wrapper configuration... jvm 4 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 4 | wrapper | Launching a JVM... jvm 4 | jvm 3 | iables are correctly defined for the current environment. jvm 4 | jvm 3 | wrapper | ------------------------------------------------------------------------ jvm 4 | jvm 3 | wrapper | jvm 4 | jvm 3 | wrapper | Reloading Wrapper configuration... jvm 4 | jvm 3 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 4 | jvm 3 | wrapper | Launching a JVM... jvm 4 | wrapper | jvm 4 | wrapper | ------------------------------------------------------------------------ jvm 4 | wrapper | Advice: jvm 4 | wrapper | Usually when the Wrapper fails to start the JVM process, it is because jvm 4 | wrapper | of a problem with the value of the configured Java command. Currently: jvm 4 | wrapper | wrapper.java.command=java jvm 4 | wrapper | Please make sure that the PATH or any other referenced environment jvm 4 | wrapper | variables are correctly defined for the current environment. jvm 4 | wrapper | ------------------------------------------------------------------------ jvm 4 | wrapper | jvm 4 | wrapper | Reloading Wrapper configuration... jvm 4 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 4 | wrapper | Launching a JVM... wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | Reloading Wrapper configuration... wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) jvm 5 | iables are correctly defined for the current environment. jvm 5 | wrapper | ------------------------------------------------------------------------ jvm 5 | wrapper | jvm 5 | wrapper | Reloading Wrapper configuration... jvm 5 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 5 | wrapper | Launching a JVM... jvm 5 | jvm 3 | iables are correctly defined for the current environment. jvm 5 | jvm 3 | wrapper | ------------------------------------------------------------------------ jvm 5 | jvm 3 | wrapper | jvm 5 | jvm 3 | wrapper | Reloading Wrapper configuration... jvm 5 | jvm 3 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 5 | jvm 3 | wrapper | Launching a JVM... jvm 5 | wrapper | jvm 5 | wrapper | ------------------------------------------------------------------------ jvm 5 | wrapper | Advice: jvm 5 | wrapper | Usually when the Wrapper fails to start the JVM process, it is because jvm 5 | wrapper | of a problem with the value of the configured Java command. Currently: jvm 5 | wrapper | wrapper.java.command=java jvm 5 | wrapper | Please make sure that the PATH or any other referenced environment jvm 5 | wrapper | variables are correctly defined for the current environment. jvm 5 | wrapper | ------------------------------------------------------------------------ jvm 5 | wrapper | jvm 5 | wrapper | Reloading Wrapper configuration... jvm 5 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 5 | wrapper | Launching a JVM... jvm 5 | jvm 4 | iables are correctly defined for the current environment. jvm 5 | jvm 4 | wrapper | ------------------------------------------------------------------------ jvm 5 | jvm 4 | wrapper | jvm 5 | jvm 4 | wrapper | Reloading Wrapper configuration... jvm 5 | jvm 4 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 5 | jvm 4 | wrapper | Launching a JVM... jvm 5 | jvm 4 | jvm 3 | iables are correctly defined for the current environment. jvm 5 | jvm 4 | jvm 3 | wrapper | ------------------------------------------------------------------------ jvm 5 | jvm 4 | jvm 3 | wrapper | jvm 5 | jvm 4 | jvm 3 | wrapper | Reloading Wrapper configuration... jvm 5 | jvm 4 | jvm 3 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 5 | jvm 4 | jvm 3 | wrapper | Launching a JVM... jvm 5 | jvm 4 | wrapper | jvm 5 | jvm 4 | wrapper | ------------------------------------------------------------------------ jvm 5 | jvm 4 | wrapper | Advice: jvm 5 | jvm 4 | wrapper | Usually when the Wrapper fails to start the JVM process, it is because jvm 5 | jvm 4 | wrapper | of a problem with the value of the configured Java command. Currently: jvm 5 | jvm 4 | wrapper | wrapper.java.command=java jvm 5 | jvm 4 | wrapper | Please make sure that the PATH or any other referenced environment jvm 5 | jvm 4 | wrapper | variables are correctly defined for the current environment. jvm 5 | jvm 4 | wrapper | ------------------------------------------------------------------------ jvm 5 | jvm 4 | wrapper | jvm 5 | jvm 4 | wrapper | Reloading Wrapper configuration... jvm 5 | jvm 4 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 5 | jvm 4 | wrapper | Launching a JVM... jvm 5 | wrapper | jvm 5 | wrapper | ------------------------------------------------------------------------ jvm 5 | wrapper | Advice: jvm 5 | wrapper | Usually when the Wrapper fails to start the JVM process, it is because jvm 5 | wrapper | of a problem with the value of the configured Java command. Currently: jvm 5 | wrapper | wrapper.java.command=java jvm 5 | wrapper | Please make sure that the PATH or any other referenced environment jvm 5 | wrapper | variables are correctly defined for the current environment. jvm 5 | wrapper | ------------------------------------------------------------------------ jvm 5 | wrapper | jvm 5 | wrapper | Reloading Wrapper configuration... jvm 5 | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java jvm 5 | wrapper | Launching a JVM... wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up. wrapper | There may be a configuration problem: please check the logs. wrapper | <-- Wrapper Stopped wrapper | --> Wrapper Started as Console wrapper | Java Service Wrapper Standard Edition 64-bit 3.5.25 wrapper | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. wrapper | http://wrapper.tanukisoftware.com wrapper | Licensed to PMEase Inc. for QuickBuild wrapper | wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | Reloading Wrapper configuration... wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | Reloading Wrapper configuration... wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | Reloading Wrapper configuration... wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | Reloading Wrapper configuration... wrapper | The configured wrapper.java.command could not be found, attempting to launch anyway: java wrapper | Launching a JVM... wrapper | JVM exited while loading the application. wrapper | Unable to start JVM: No such file or directory (2) wrapper | wrapper | ------------------------------------------------------------------------ wrapper | Advice: wrapper | Usually when the Wrapper fails to start the JVM process, it is because wrapper | of a problem with the value of the configured Java command. Currently: wrapper | wrapper.java.command=java wrapper | Please make sure that the PATH or any other referenced environment wrapper | variables are correctly defined for the current environment. wrapper | ------------------------------------------------------------------------ wrapper | wrapper | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up. wrapper | There may be a configuration problem: please check the logs. wrapper | <-- Wrapper Stopped ok I just created new qb agent, I was able to see it in QB WebUi and I auhorized it just fine, until I run ' service quickbuild restart" it stopped running and became inactive :
error below: wrapper | Launching a JVM... jvm 1 | WrapperManager: Initializing... jvm 1 | 2018-03-27 15:30:00,038 INFO - Cleaning cached plugin libraries... jvm 1 | 2018-03-27 15:30:00,088 INFO - Cleaning temp directory... jvm 1 | 2018-03-27 15:30:00,092 INFO - Benchmarking... jvm 1 | 2018-03-27 15:30:01,990 INFO - Connecting to server 'http://ascadm020.wvrgroup.internal:8810'... jvm 1 | 2018-03-27 15:30:02,033 INFO - Updating framework... jvm 1 | 2018-03-27 15:30:02,038 INFO - Updating plugins... jvm 1 | 2018-03-27 15:30:02,043 INFO - Updating plugins/com.pmease.quickbuild.libs... jvm 1 | 2018-03-27 15:30:02,045 INFO - Updating plugins/site... jvm 1 | 2018-03-27 15:30:02,047 INFO - Updating asset... jvm 1 | 2018-03-27 15:30:02,049 INFO - Booting QuickBuild from '/opt/quickbuild/buildagent'... jvm 1 | 2018-03-27 15:30:02,050 INFO - Starting framework... jvm 1 | 2018-03-27 15:30:02,075 INFO - Caching plugin libraries... jvm 1 | WrapperStartStopApp: jvm 1 | WrapperStartStopApp Error: Encountered an error running start main: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:576) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:126) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:400) jvm 1 | WrapperStartStopApp Error: at java.lang.Thread.run(Thread.java:745) jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:61) jvm 1 | WrapperStartStopApp Error: ... 12 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:59) jvm 1 | WrapperStartStopApp Error: ... 12 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionIdListener jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.server.session.SessionHandler.<clinit>(SessionHandler.java:54) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:241) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:334) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:180) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:157) jvm 1 | WrapperStartStopApp Error: at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:117) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.startJettyServer(Quickbuild.java:339) jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:252) jvm 1 | WrapperStartStopApp Error: ... 17 more jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSessionIdListener jvm 1 | WrapperStartStopApp Error: at java.net.URLClassLoader.findClass(URLClassLoader.java:381) jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.loadClass(ClassLoader.java:424) jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) jvm 1 | WrapperStartStopApp Error: ... 25 more jvm 1 | 2018-03-27 15:30:04,438 INFO - Stopping QuickBuild agent... jvm 1 | 2018-03-27 15:30:04,669 INFO - Disconnecting from server... jvm 1 | 2018-03-27 15:30:04,679 ERROR - Failed to notify server. jvm 1 | com.pmease.quickbuild.AccessDeniedException: Can not disconnect other agents. jvm 1 | at com.pmease.quickbuild.grid.ConnectServlet.disconnect(ConnectServlet.java:331) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) jvm 1 | at java.lang.reflect.Method.invoke(Method.java:497) jvm 1 | at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:302) jvm 1 | at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:198) jvm 1 | at com.caucho.hessian.server.HessianServlet.invoke(HessianServlet.java:399) jvm 1 | at com.caucho.hessian.server.HessianServlet.service(HessianServlet.java:379) jvm 1 | at com.pmease.quickbuild.grid.ConnectServlet.service(ConnectServlet.java:66) jvm 1 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) jvm 1 | at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(Quickbuild.java:1076) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:499) jvm 1 | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) jvm 1 | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258) jvm 1 | at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) jvm 1 | at java.lang.Thread.run(Thread.java:745) jvm 1 | 2018-03-27 15:30:04,682 INFO - Waiting for finish of existing jobs... jvm 1 | 2018-03-27 15:30:04,682 INFO - Stopping plugins... jvm 1 | 2018-03-27 15:30:04,686 INFO - Stopping task scheduler... jvm 1 | 2018-03-27 15:30:04,724 INFO - QuickBuild agent stopped. wrapper | <-- Wrapper Stopped some of my research suggested to remove requests.ser file : I am using quickbuild-7.0.24 . can't find that file on my machine
Looks like some of the agent files are corrupted. Please re-install the agent by downloading the agent package from QB server grid page.
Also make sure to extract with GNU tar utility if you are downloading the tar.gz package
I create my VM from cobbler and when I set up all the network I get Puppet to do the installation. Are you suggesting to build the agent manually ? We recently updated to qb 7.
Yes, I recommend to do a manual test install to check the issue.
|
telnet <agent up address> 8811