From: Kimpton, C \(Chris\) <Chr...@ra...> - 2005-08-04 08:13:38
|
=20<<FixProxyWithBusyOption.java>> Hi, Sorry for the attachment - but hopefully it will help. I am trying to write a simple FIX proxy type process - so that I can simulate a busy response. The attached code uses quickfix to either accept or initiate connections - the aim being to do both at once so that it proxy requests, but at the moment, I am having problems getting the acceptor to accept logon requests. It starts a connection, but fails to logon. Both processes are running on the same machine, but I have turned CheckLatency off, just in case. This is probably a very basic error - but I just can't see it... All I see in the acceptor log is: Fix Proxy - with Busy Option - STARTED #### FixApplication.onCreate (quickfixadaptor.test.FixIncoming@ece65) <20050804-07:03:16, FIX.4.2:RabobankTest->FixGateway, event> =20 (Created session) In the initiator log, I see this: <20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event> =20 (Connecting to 172.17.23.38 on port 31155) <20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event> =20 (Connection succeeded) #### FixApplication.toAdmin (quickfixadaptor.test.FixOutgoing@ece65) <20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, outgoing> =20 (8=3DFIX.4.2?9=3D81?35=3DA?34=3D711?49=3DRabobankTest?52=3D20050804-08:03= :46.642?56=3D FixGateway?98=3D0?108=3D3000?10=3D130?) <20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event> =20 (Initiated logon request) <20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event> =20 (Socket Error: Connection reset by peer.) <20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event> =20 (Disconnecting) #### FixApplication.onLogout (quickfixadaptor.test.FixOutgoing@ece65) Many Thanks for any help, Chris _____________________________________________________________ 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. _____________________________________________________________ |