Kimpton, C (Chris)
2005-08-04 06:15:15 UTC
<<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 (***@ece65)
<20050804-07:03:16, FIX.4.2:RabobankTest->FixGateway, event>
(Created session)
In the initiator log, I see this:
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Connecting to 172.17.23.38 on port 31155)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Connection succeeded)
#### FixApplication.toAdmin (***@ece65)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, outgoing>
(8=FIX.4.2?9=81?35=A?34=711?49=RabobankTest?52=20050804-08:03:46.642?56=
FixGateway?98=0?108=3000?10=130?)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Initiated logon request)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Socket Error: Connection reset by peer.)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Disconnecting)
#### FixApplication.onLogout (***@ece65)
Many Thanks for any help,
Chris
_____________________________________________________________
This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please 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 reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in 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 information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat.
_____________________________________________________________
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 (***@ece65)
<20050804-07:03:16, FIX.4.2:RabobankTest->FixGateway, event>
(Created session)
In the initiator log, I see this:
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Connecting to 172.17.23.38 on port 31155)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Connection succeeded)
#### FixApplication.toAdmin (***@ece65)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, outgoing>
(8=FIX.4.2?9=81?35=A?34=711?49=RabobankTest?52=20050804-08:03:46.642?56=
FixGateway?98=0?108=3000?10=130?)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Initiated logon request)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Socket Error: Connection reset by peer.)
<20050804-08:03:46, FIX.4.2:RabobankTest->FixGateway, event>
(Disconnecting)
#### FixApplication.onLogout (***@ece65)
Many Thanks for any help,
Chris
_____________________________________________________________
This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please 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 reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in 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 information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat.
_____________________________________________________________