Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Unable to start quickbuild #9

Kiruthiga ·

I'm trying to start quickbuild server by issuing the below command.
./server.sh console

However I get below error. The other topic in this forum had asked to remove requests.ser file. But i don't find that either. Any idea why this is happening? Getting communication link exception when I run restore script from the backup.

wrapperp | read a packet START_PENDING : 5000
wrapper | JVM signaled a start pending with waitHint of 5000 millis.
jvm 1 | 2018-03-05 12:48:55,259 INFO - Booting QuickBuild from '/build1/alert/quickbuild/quickbuild-6.0.11'...
jvm 1 | 2018-03-05 12:48:55,272 INFO - Starting framework...
jvm 1 | WrapperManager Debug: Send a packet START_PENDING : 5000
jvm 1 | WrapperStartStopApp Debug: start(args) end. Main Completed=false, exitCode=null
jvm 1 | WrapperManager Debug: returned from WrapperListener.start()
jvm 1 | WrapperManager Debug: Send a packet STARTED :
jvm 1 | WrapperManager Debug: WrapperListener.start runner thread stopped.
jvm 1 | WrapperManager Debug: Startup runner thread stopped.
wrapperp | read a packet START_PENDING : 5000
wrapper | JVM signaled a start pending with waitHint of 5000 millis.
wrapperp | read a packet STARTED :
wrapper | JVM signaled that it was started.
jvm 1 | 2018-03-05 12:48:55,914 INFO - Caching plugin libraries...
jvm 1 | 2018-03-05 12:49:02,719 INFO - Starting QuickBuild server...
jvm 1 | 2018-03-05 12:49:02,728 INFO - Initializing velocity...
jvm 1 | 2018-03-05 12:49:03,858 INFO - Checking data version...
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:57)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:606)
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:57)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:606)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:316)
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:60)
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:57)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:606)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:58)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
jvm 1 | WrapperStartStopApp Error:
jvm 1 | WrapperStartStopApp Error: The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.util.ExceptionUtils.wrapAsUnchecked(ExceptionUtils.java:82)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.util.DbUtils.getConnection(DbUtils.java:107)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.util.DbUtils.getDataVersion(DbUtils.java:135)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.startServer(Quickbuild.java:668)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:251)
jvm 1 | WrapperStartStopApp Error: ... 17 more
jvm 1 | WrapperStartStopApp Error: Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
jvm 1 | WrapperStartStopApp Error:
jvm 1 | WrapperStartStopApp Error: The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:988)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:341)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2251)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2284)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2083)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:806)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)
jvm 1 | WrapperStartStopApp Error: at java.sql.DriverManager.getConnection(DriverManager.java:571)
jvm 1 | WrapperStartStopApp Error: at java.sql.DriverManager.getConnection(DriverManager.java:215)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.util.DbUtils.getConnection(DbUtils.java:101)
jvm 1 | WrapperStartStopApp Error: ... 20 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.net.ConnectException: Connection refused
jvm 1 | WrapperStartStopApp Error: at java.net.PlainSocketImpl.socketConnect(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
jvm 1 | WrapperStartStopApp Error: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
jvm 1 | WrapperStartStopApp Error: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
jvm 1 | WrapperStartStopApp Error: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
jvm 1 | WrapperStartStopApp Error: at java.net.Socket.connect(Socket.java:579)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
jvm 1 | WrapperStartStopApp Error: at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300)
jvm 1 | WrapperStartStopApp Error: ... 35 more
jvm 1 | WrapperManager Debug: WrapperManager.stop(1) called by thread: WrapperStartStopAppMain
jvm 1 | WrapperManager Debug: Send a packet STOP : 1
jvm 1 | WrapperManager Debug: Pausing for 1,000ms to allow a clean shutdown...
jvm 1 | WrapperManager Debug: Stopped checking for control events.
wrapperp | read a packet STOP : 1
wrapper | JVM requested a shutdown. (1)
wrapper | wrapperStopProcess(1, FALSE) called.
wrapper | Sending stop signal to JVM
wrapperp | Send a packet STOP : NULL
jvm 1 | WrapperManager Debug: Received a packet STOP :
jvm 1 | WrapperManager Debug: Thread, WrapperStartStopAppMain, handling the shutdown process.
jvm 1 | WrapperManager Debug: calling listener.stop()
jvm 1 | WrapperStartStopApp Debug: stop(1)
jvm 1 | WrapperStartStopApp Debug: invoking stop main method
jvm 1 | 2018-03-05 12:49:05,688 INFO - Stopping plugin manager...
jvm 1 | 2018-03-05 12:49:05,698 INFO - Stopping QuickBuild server...
jvm 1 | 2018-03-05 12:49:05,700 INFO - Stopping plugins...
jvm 1 | 2018-03-05 12:49:05,701 INFO - Stopping task scheduler...
jvm 1 | 2018-03-05 12:49:06,817 INFO - QuickBuild server stopped.
jvm 1 | WrapperStartStopApp Debug: stop main method completed
jvm 1 | WrapperManager Debug: returned from listener.stop() -> 1
jvm 1 | WrapperManager Debug: shutdownJVM(1) Thread: WrapperStartStopAppMain
jvm 1 | WrapperManager Debug: wait for 0 shutdown locks to be released.
jvm 1 | WrapperManager Debug: Send a packet STOPPED : 1
wrapperp | read a packet STOPPED : 1
wrapper | JVM signaled that it was stopped.
jvm 1 | WrapperManager Debug: Closing backend connection.
jvm 1 | WrapperManager Debug: Closed backend socket (Normal): java.net.SocketException: Socket closed
jvm 1 | WrapperManager Debug: Returned from backend handler.
wrapperp | socket read no code (closed?).
wrapperp | Closing backend socket.
jvm 1 | WrapperManager Debug: Server daemon shut down
jvm 1 | WrapperManager Debug: calling System.exit(1)
jvm 1 | WrapperManager Debug: WrapperManger stopped due to System Exit
wrapper | Signal trapped. Details:
wrapper | signal number=18 (SIGCHLD), source="unknown"
wrapper | Received SIGCHLD, checking JVM process status.
wrapper | JVM process exited with a code of 1, however the wrapper exit code was already 1.
wrapper | JVM exited normally.
wrapper | <-- Wrapper Stopped

  • solved #4
  • replies 4
  • views 920
  • stars 0
robinshen ADMIN ·

Looks like QB has problem connecting to your MySQL database. Please check settings in conf/hibernate.properties to see if it is correct.

Kiruthiga ·

I checked my mysql settings from the conf file and tried to connect to that DB via sql developer. But it says 'Network adapter could not establish the connection'.

robinshen ADMIN ·

Then it should not be a problem of QB. I guess you need to contact your DB admin to make sure that sql developer works first.

Kiruthiga ·

The SQL DB was down. I restarted the DB and the issue got resolved.