Args - [2]: start ../conf/config.cfg
PoolServerJ Service Starting Sun Dec 23 21:26:45 MSK 2012
[21:26:45.974] Starting PoolServerJ v0.4.0-WM-b233-c-d5e730c5756c
[21:26:45.975] user.dir: /home/douson/general/poolserverj/bin
[21:26:45.975] Home path set to: /home/douson/general/poolserverj/bin/poolserverj.jar
[21:26:45.975] Home directory set from jar file location to: /home/douson/general/poolserverj
[21:26:45.981] Sever is set to testnet: false
[21:26:46.000] Wrote PID: 3711 to pidFile: /home/douson/general/poolserverj/tmp/poolserverj.pid
[21:26:46.090] Connecting to DB URL: jdbc:mysql://localhost:3306/poolserverj_native?allowMultiQueries=true&zeroDateTimeBehavior=round&dumpQueriesOnException=true&dumpMetadataOnColumnNotFound=true&useCompression=true&autoReconnect=true&rewriteBatchedStatements=true
[21:26:46.455] Mapped parameter 1 to field 1 (remote_host)
[21:26:46.456] Mapped parameter 2 to field 2 (username)
[21:26:46.456] Mapped parameter 3 to field 3 (our_result)
[21:26:46.456] Mapped parameter 4 to field 4 (upstream_result)
[21:26:46.456] Mapped parameter 5 to field 5 (reason)
[21:26:46.456] Mapped parameter 6 to field 7 (time)
[21:26:46.457] Mapped parameter 7 to field 8 (source)
[21:26:46.457] Mapped parameter 8 to field 9 (block_num)
[21:26:46.457] Mapped parameter 9 to field 11 (useragent)
[21:26:46.460] Building Shares-DB-flush-engine: DefaultPreparedStatementSharesDBFlushEngine.class with extraParams: []
[21:26:46.461] Building Worker-authentication-engine: WorkerAuthenticator.class with extraParams: null
1070 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.0.v20110414
1235 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
1258 [main] WARN org.eclipse.jetty.util.log - FAILED
[email protected]:8337 FAILED: java.net.BindException: Address already in use
1259 [main] WARN org.eclipse.jetty.util.log - FAILED org.eclipse.jetty.server.Server@7cbe41ec: java.net.BindException: Address already in use
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:172)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:304)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:250)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at org.eclipse.jetty.server.Server.doStart(Server.java:264)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
at com.shadworld.poolserver.PoolServer.startHttpListenersWithServlets(PoolServer.java:550)
at com.shadworld.poolserver.PoolServer.start(PoolServer.java:257)
at com.shadworld.poolserver.servicelauncher.PoolServerService.start(PoolServerService.java:99)
at com.shadworld.poolserver.servicelauncher.PoolServerService.windowsService(PoolServerService.java:58)
at com.shadworld.poolserver.servicelauncher.PoolServerService.main(PoolServerService.java:28)
1264 [Thread-0] INFO org.eclipse.jetty.util.log - Graceful shutdown
[email protected]:8337 FAILED
1265 [Thread-0] INFO org.eclipse.jetty.util.log - Graceful shutdown o.e.j.s.ServletContextHandler{/,null}
[21:26:46.827] Shutting down poolserver...
[21:26:46.827] Flushing cached shares...
[21:26:46.827] Flush shares cache complete...
[21:26:46.828] Waiting to complete upstream share submits...
[21:26:46.828] Finished upstream submits...
[21:26:46.828] Flushing final shares...
[21:26:46.829] 0 shares in 1 356 283 648 seconds. Current hashRate: 0 GH/s
[21:26:46.829] Submit Throttling on: false
[21:26:46.830] All share submits flushed...
[21:26:46.830] Waiting for threads to die...
[21:26:46.831] This error may indicate your bitcoin daemon was not contactable. Check it is running and you have entered the correct host:port for the bitcoin protocol interface NOT the json-rpc interface.
java.lang.NullPointerException
at com.shadworld.bitcoin.p2p.BitcoinDualConnection.shutdown(BitcoinDualConnection.java:133)
at com.shadworld.poolserver.source.merged.JsonRpcMergeMiningLocalWorkMakerDaemonHandler.shutdown(JsonRpcMergeMiningLocalWorkMakerDaemonHandler.java:146)
at com.shadworld.poolserver.source.WorkSource.shutdown(WorkSource.java:190)
at com.shadworld.poolserver.WorkProxy.shutdown(WorkProxy.java:923)
at com.shadworld.poolserver.PoolServer.shutdown(PoolServer.java:620)
at com.shadworld.poolserver.PoolServer$1.run(PoolServer.java:252)
[21:26:46.833] This error may indicate your bitcoin daemon was not contactable. Check it is running and you have entered the correct host:port for the bitcoin protocol interface NOT the json-rpc interface.
java.lang.NullPointerException
at com.shadworld.bitcoin.p2p.BitcoinDualConnection.shutdown(BitcoinDualConnection.java:141)
at com.shadworld.poolserver.source.merged.JsonRpcMergeMiningLocalWorkMakerDaemonHandler.shutdown(JsonRpcMergeMiningLocalWorkMakerDaemonHandler.java:146)
at com.shadworld.poolserver.source.WorkSource.shutdown(WorkSource.java:190)
at com.shadworld.poolserver.WorkProxy.shutdown(WorkProxy.java:923)
at com.shadworld.poolserver.PoolServer.shutdown(PoolServer.java:620)
at com.shadworld.poolserver.PoolServer$1.run(PoolServer.java:252)
[21:26:46.835] Dumping workmap to file: /home/douson/general/poolserverj/tmp/workmap-8337.bin
[21:26:47.149] Shutting down Web Server...
[21:26:47.251] Closed 0 longpoll connections in 1ms
6267 [Thread-0] INFO org.eclipse.jetty.util.log - stopped o.e.j.s.ServletContextHandler{/,null}
[21:26:51.880] Shutdown complete...