[Quickfix-users] Quickfix/j migration...
Brought to you by:
orenmnero
From: Kimpton, C \(Chris\) <Chr...@ra...> - 2006-02-16 07:47:18
|
Hi, Some notes on my quickfix/j migration and a little problem... Given the problems I am seeing with the exception violation when using the JNI version of quickfix (see other thread) and lured by the performance gains mentioned in the quickfix/j press release, I decided to try it out. - compilation was straightforward - java code is compatible - perhaps obviously, the store files are not compatible, get EOFException when trying to use JNI quickfix with quickfix/j - so removed the old files - the quickfix/j code does not seem to like to bind to port 443 (the jni version did) - it claims the port is in use... - maybe it's a priviledged port issue, I do have 2 acceptors running in the same jvm and other one seems to bind to port 442 ok. And now to the problem, I am running some performance tests - using quickfix/j on both sides - a dummy acceptor is pumping messages into my app and responding appropriately to any messages it sends. After running for 5-10 minutes, the initiator then disconnects claiming it is not getting any heartbeats. I have a setting of 10 (seconds) for the initiator heartbeat. <20060216-07:16:11, FIX.4.2:rabocustFIXtrade->FIX, outgoing> (8=3DFIX.4.2=019=3D83=0135=3D0=0134=3D1268=0149=3DrabocustFIXtrade=0152=3D= 20060216-07:16:11.84 2=0156=3DFIX=0110=3D220=01) <20060216-07:16:13, FIX.4.2:rabocustFIXtrade->FIX, outgoing> (8=3DFIX.4.2=019=3D92=0135=3D1=0134=3D1269=0149=3DrabocustFIXtrade=0152=3D= 20060216-07:16:13.84 2=0156=3DFIX=01112=3DTEST=0110=3D242=01) <20060216-07:16:13, FIX.4.2:rabocustFIXtrade->FIX, event> (Sent test request TEST) <20060216-07:16:25, FIX.4.2:rabocustFIXtrade->FIX, event> (Timed out waiting for heartbeat) <20060216-07:16:25, FIX.4.2:rabocustFIXtrade->FIX, event> (Disconnecting) <20060216-07:16:25, FIX.4.2:rabocustFIXtrade->FIX, event> (connection closed: net.gleamynode.netty2.Session@177ff35) <20060216-07:16:27, FIX.4.2:rabocustFIXtrade->FIX, event> (error in initiator java.net.ConnectException: Connection refused: no further information =09at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) =09at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:525) =09at net.gleamynode.netty2.ReadController.doConnected(ReadController.java:371 ) =09at net.gleamynode.netty2.ReadController.processEvent(ReadController.java:33 8) =09at net.gleamynode.netty2.IoProcessor.process(IoProcessor.java:334) =09at net.gleamynode.netty2.IoProcessor.access$500(IoProcessor.java:73) =09at net.gleamynode.netty2.IoProcessor$Worker.run(IoProcessor.java:364) ) I am using the latest beta2 - which I guess should have the fix to bug #133, re: acceptor sending heartbeats. Is the heartbeat behaviour different compared to the jni version? Thanks, Chris ____________________________________________ Chris Kimpton Developer, IS&D Rabobank International eTrading: +44 (0)20 7809 3355 Direct Line: +44 (0)20 7809 3403 http://www.rabobank.com/content/offices/london.jsp _____________________________________________________________ This email (including any attachments to it) is confidential, legally pri= vileged, subject to copyright and is sent for the personal attention of t= he intended recipient only. If you have received this email in error, ple= ase advise us immediately and delete it. You are notified that disclosing= , copying, distributing or taking any action in reliance on the contents = of this information is strictly prohibited. Although we have taken reason= able precautions to ensure no viruses are present in this email, we canno= t accept responsibility for any loss or damage arising from the viruses i= n this email or attachments. We exclude any liability for the content of = this email, or for the consequences of any actions taken on the basis of = the information provided in this email or its attachments, unless that in= formation is subsequently confirmed in writing. If this email contains an= =20offer, that should be considered as an invitation to treat. _____________________________________________________________ |