Traccar 3.3 auto start not happening

jaimzj8 years ago

Dear Anton,

On Server Restart, Traccar 3.3 is not starting up on its own.

I am using ubuntu 15.04

wrapper log latest

STATUS | wrapper  | 2016/01/31 02:32:48 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2016/01/31 02:32:48 | Java Service Wrapper Community Edition 64-bit 3.5.27
STATUS | wrapper  | 2016/01/31 02:32:48 |   Copyright (C) 1999-2015 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2016/01/31 02:32:48 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2016/01/31 02:32:48 | 
STATUS | wrapper  | 2016/01/31 02:32:48 | Launching a JVM...
INFO   | jvm 1    | 2016/01/31 02:32:49 | WrapperManager: Initializing...
INFO   | jvm 1    | 2016/01/31 02:32:49 | [MLog-Init-Reporter] INFO com.mchange.v2.log.MLog - MLog clients using slf4j logging.
INFO   | jvm 1    | 2016/01/31 02:32:49 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.C3P0Registry - Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
INFO   | jvm 1    | 2016/01/31 02:32:50 | INFO 1/31/16 2:32 AM: liquibase: Successfully acquired change log lock
INFO   | jvm 1    | 2016/01/31 02:32:51 | INFO 1/31/16 2:32 AM: liquibase: Reading from s1.DATABASECHANGELOG
INFO   | jvm 1    | 2016/01/31 02:32:52 | INFO 1/31/16 2:32 AM: liquibase: Successfully released change log lock
INFO   | jvm 1    | 2016/01/31 02:32:52 | [WrapperSimpleAppMain] INFO com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 196ihj09e15ufgyj15sd510|5cbe8958, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 196ihj09e15ufgyj15sd510|5cbe8958, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://127.0.0.1:3306/s1?allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=ANSI_QUOTES, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
INFO   | jvm 1    | 2016/01/31 02:32:52 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.util.log - Logging initialized @3131ms
INFO   | jvm 1    | 2016/01/31 02:32:52 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - jetty-9.2.14.v20151106
INFO   | jvm 1    | 2016/01/31 02:32:53 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@2c9df057{/api,null,AVAILABLE}
INFO   | jvm 1    | 2016/01/31 02:32:53 | [WrapperSimpleAppMain] WARN org.eclipse.jetty.server.handler.AbstractHandler - No Server set for org.traccar.web.WebServer$1@350df6a3
INFO   | jvm 1    | 2016/01/31 02:32:53 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@6456919f{HTTP/1.1}{0.0.0.0:8067}
INFO   | jvm 1    | 2016/01/31 02:32:53 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.server.Server - Started @4243ms
STATUS | wrapper  | 2016/01/31 02:42:59 | TERM trapped.  Shutting down.
INFO   | jvm 1    | 2016/01/31 02:42:59 | [Thread-14] INFO org.eclipse.jetty.server.ServerConnector - Stopped ServerConnector@6456919f{HTTP/1.1}{0.0.0.0:8067}
INFO   | jvm 1    | 2016/01/31 02:42:59 | [Thread-14] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@2c9df057{/api,null,UNAVAILABLE}
STATUS | wrapper  | 2016/01/31 02:43:00 | <-- Wrapper Stopped
Anton Tananaev8 years ago

Please follow steps from this comment to fix the issue:

https://www.traccar.org/forums/topic/ubuntu-15-10-autostart/#post-2566