root@j064:/opt/poolserverj-0.4.0rc2/bin# java -classpath poolserverj.jar:../lib/*:../lib/lib_non-maven/*:../lib/plugins com.shadworld.poolserver.servicelauncher.PoolServerService start ../conf/poolserverj.conf
Args - [2]: start ../conf/poolserverj.conf
PoolServerJ Service Starting Tue Oct 30 14:46:55 UTC 2012
[14:46:56.054] Starting PoolServerJ v0.4.0-WM-b233-c-d5e730c5756c
[14:46:56.055] user.dir: /opt/poolserverj-0.4.0rc2/bin
[14:46:56.055] Home path set to: /opt/poolserverj-0.4.0rc2/bin/poolserverj.jar
[14:46:56.055] Home directory set from jar file location to: /opt/poolserverj-0.4.0rc2
[14:46:56.059] Sever is set to testnet: false
[14:46:56.066] Adding donation target: chainName: namecoin donationAmount: 0.3 calc method: [% of total] addressUrl: http://poolserverj.org/meta/donations/ address: NFja75nNRHZYKtN9YQ6wHPQdmhzBEAmTAt
[14:46:56.067] Adding donation target: chainName: bitcoin donationAmount: 0.3 calc method: [% of total] addressUrl: http://poolserverj.org/meta/donations/ address: 1LezqRatQz7MeNoCVziYwcdwtqeEbvrdAq
[14:46:56.071] Wrote PID: 22107 to pidFile: /opt/poolserverj-0.4.0rc2/tmp/poolserverj.pid
[14:46:56.101] Connecting to DB URL: jdbc:mysql://127.0.0.1:3306/poolserverj_native?allowMultiQueries=true&zeroDateTimeBehavior=round&dumpQueriesOnException=true&dumpMetadataOnColumnNotFound=true&useCompression=true&autoReconnect=true&rewriteBatchedStatements=true
[14:46:56.288] Mapped parameter 1 to field 1 (remote_host)
[14:46:56.288] Mapped parameter 2 to field 2 (username)
[14:46:56.289] Mapped parameter 3 to field 3 (our_result)
[14:46:56.289] Mapped parameter 4 to field 4 (upstream_result)
[14:46:56.289] Mapped parameter 5 to field 5 (reason)
[14:46:56.289] Mapped parameter 6 to field 7 (time)
[14:46:56.289] Mapped parameter 7 to field 8 (source)
[14:46:56.289] Mapped parameter 8 to field 9 (block_num)
[14:46:56.289] Mapped parameter 9 to field 11 (useragent)
[14:46:56.290] Building Shares-DB-flush-engine: DefaultPreparedStatementSharesDBFlushEngine.class with extraParams: []
[14:46:56.291] Building Worker-authentication-engine: WorkerAuthenticator.class with extraParams: null
[14:46:56.302] Configuring aux daemon for WorkSource: bitcoind-mm
[14:46:56.302] Chain name: namecoin
[14:46:56.302] Chain id: 1
[14:46:56.302] Chain url: http://127.0.0.1:7334/
[14:46:56.303] Chain username: noobtub3ndsafu
[14:46:56.303] Chain payoutAddress: N15ThaRx21TjWsDdex4TuUPywMSts4iXM3
[14:46:56.303] Chain password: 9*****************************1
530 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.0.v20110414
547 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
585 [main] INFO org.eclipse.jetty.util.log - Started
[email protected]:8999 STARTING
586 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.0.v20110414
586 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
589 [main] INFO org.eclipse.jetty.util.log - Started
[email protected]:8997 STARTING
[14:46:56.447] Starting local work source proxy: bitcoind-mm
[14:46:56.508] RETRY
[14:46:56.508] RETRY
[14:46:56.515] RETRY
[14:46:56.516] RETRY
[14:46:56.518] New Block detected [81555] from source: DaemonSource[bitcoind-mm].namecoin - 0 lagging sources.
[14:46:56.518] New Block detected [205718] from source: DaemonSource[bitcoind-mm].bitcoin - 0 lagging sources.
[14:46:56.518] Restoring workmap from file: /opt/poolserverj-0.4.0rc2/tmp/workmap-8999.bin
[14:46:56.806] Updating donation target address for chain: namecoin Address: NFja75nNRHZYKtN9YQ6wHPQdmhzBEAmTAt
[14:46:56.912] Updating donation target address for chain: bitcoin Address: 1Lk8f18EyPB3uAJvgTeHgzCVkKY9njQ5bA
[14:47:06.548] Exception in Cleaner Thread
java.lang.RuntimeException: Waited 5 seconds for client provider to be set but it hasn't. This would indicate a problem with your client configuration.
at com.shadworld.poolserver.workmaker.WorkMaker.update(WorkMaker.java:184)
at com.shadworld.poolserver.source.merged.MergedMiningGroup.updateAuxes(MergedMiningGroup.java:249)
at com.shadworld.poolserver.Cleaner.run(Cleaner.java:54)
java.io.IOException: Socket is disconnected
at com.google.bitcoin.core.BitcoinSerializer.seekPastMagicBytes(BitcoinSerializer.java:347)
at com.google.bitcoin.core.BitcoinSerializer.deserialize(BitcoinSerializer.java:216)
at com.google.bitcoin.core.NetworkConnection.readMessage(NetworkConnection.java:170)
at com.google.bitcoin.core.NetworkConnection.
(NetworkConnection.java:96)
at com.shadworld.bitcoin.p2p.BitcoinDualConnection.startListener(BitcoinDualConnection.java:93)
at com.shadworld.bitcoin.p2p.BitcoinDualConnection.start(BitcoinDualConnection.java:47)
at com.shadworld.poolserver.source.merged.JsonRpcMergeMiningLocalWorkMakerDaemonHandler.start(JsonRpcMergeMiningLocalWorkMakerDaemonHandler.java:159)
at com.shadworld.poolserver.source.WorkSource.start(WorkSource.java:154)
at com.shadworld.poolserver.WorkProxy.start(WorkProxy.java:914)
at com.shadworld.poolserver.PoolServer.start(PoolServer.java:262)
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)
[14:47:57.033] 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.bitcoin.p2p.BitcoinDualConnection.startListener(BitcoinDualConnection.java:98)
at com.shadworld.bitcoin.p2p.BitcoinDualConnection.start(BitcoinDualConnection.java:47)
at com.shadworld.poolserver.source.merged.JsonRpcMergeMiningLocalWorkMakerDaemonHandler.start(JsonRpcMergeMiningLocalWorkMakerDaemonHandler.java:159)
at com.shadworld.poolserver.source.WorkSource.start(WorkSource.java:154)
at com.shadworld.poolserver.WorkProxy.start(WorkProxy.java:914)
at com.shadworld.poolserver.PoolServer.start(PoolServer.java:262)
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)
[14:47:57.034] 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.bitcoin.p2p.BitcoinDualConnection.startListener(BitcoinDualConnection.java:98)
at com.shadworld.bitcoin.p2p.BitcoinDualConnection.start(BitcoinDualConnection.java:47)
at com.shadworld.poolserver.source.merged.JsonRpcMergeMiningLocalWorkMakerDaemonHandler.start(JsonRpcMergeMiningLocalWorkMakerDaemonHandler.java:159)
at com.shadworld.poolserver.source.WorkSource.start(WorkSource.java:154)
at com.shadworld.poolserver.WorkProxy.start(WorkProxy.java:914)
at com.shadworld.poolserver.PoolServer.start(PoolServer.java:262)
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)
^C73102 [Thread-0] INFO org.eclipse.jetty.util.log - Graceful shutdown [email protected]:8999 STARTED
[14:48:08.960] Shutting down poolserver...
[14:48:08.960] Flushing cached shares...
[14:48:08.960] Flush shares cache complete...
[14:48:08.961] Waiting to complete upstream share submits...
[14:48:08.961] Finished upstream submits...
[14:48:08.961] Flushing final shares...
[14:48:08.962] 0 shares in 1,351,608,448 seconds. Current hashRate: 0 GH/s
[14:48:08.962] Submit Throttling on: false
[14:48:08.962] All share submits flushed...
[14:48:08.962] Waiting for threads to die...
[14:48:08.963] 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)
[14:48:08.964] 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)
[14:48:08.965] Dumping workmap to file: /opt/poolserverj-0.4.0rc2/tmp/workmap-8999.bin
73112 [Thread-0] INFO org.eclipse.jetty.util.log - Graceful shutdown o.e.j.s.ServletContextHandler{/,null}
[14:48:09.032] Shutting down Web Server...
[14:48:09.133] Closed 0 longpoll connections in 0ms
78165 [Thread-0] INFO org.eclipse.jetty.util.log - stopped o.e.j.s.ServletContextHandler{/,null}
78278 [shutdown] INFO org.eclipse.jetty.util.log - stopped o.e.j.s.ServletContextHandler{/,null}
[14:48:14.188] Shutdown complete...
root@j064:/opt/poolserverj-0.4.0rc2/bin#
If its caused by a wrong bitcoind build, which one is the correct one? [source please]