Win 8.1x64, Java 7.80 - Wrapper Stopped

andrey9 years ago

Hello

would appreciate your help in getting the server work. after i start the service the server is still not listening on the port 8082.

i tried reinstalling java and the server a number of times with no success.

assume the issue is specific to my system cause i made a fresh win7 installed on a virtualbox and server seems to have started as normal.

here is the part of the log which looks is showing errors. but i cannot make sense of it...

thanks

m.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 -> 1hge15w9e1f5kqjo7wkgef|212aa789, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge15w9e1f5kqjo7wkgef|212aa789, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:C:\Program Files (x86)\Traccar\data\database, 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/02/06 22:54:48 | [WrapperSimpleAppMain] INFO org.eclipse.jetty.util.log - Logging initialized @2673ms
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp: 
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: Encountered an error running main:
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5013
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.traccar.TrackerServer.start(TrackerServer.java:131)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.traccar.ServerManager.start(ServerManager.java:77)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.traccar.Main.main(Main.java:32)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: Caused by: java.net.BindException: Address already in use: bind
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at sun.nio.ch.Net.bind0(Native Method)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at sun.nio.ch.Net.bind(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at sun.nio.ch.Net.bind(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO   | jvm 1    | 2016/02/06 22:54:49 | WrapperSimpleApp Error: 	... 1 more
STATUS | wrapper  | 2016/02/06 22:54:51 | <-- Wrapper Stopped
Anton Tananaev9 years ago

You have a port conflict with some other application on your system. Some other process is already using port 5013. You either need to stop that application or change port.

andrey9 years ago

Yep, so i suspected. Now the server starts without issues. Thanks a lot! Appreciate your super quick feedback!
(although struggling to have the dashboard showing my device, id'ed it through the hex string from the log but not yet solved what's wrong. will post another question in a separate thread).

Keep up Anton!