QuickFIX/J Documentation:
http://www.quickfixj.org/documentation/QuickFIX/J Support:
http://www.quickfixj.org/support/Would definitely ratchet up to DEBUG on "quickfix" to see if there is any further diagnostic information with the extra logging.
Also, we added a hard 30 second sleep on logout messages from ICE to ensure the session is cleaned up on their side. The logs you pasted below appear to be retrying at 28/29 seconds. Can't say for sure this will make a difference, but ICE recommended at least a 30 second wait when we went through conformance testing.
-Chip
> Message: 1
> Date: Tue, 1 Sep 2009 23:54:15 -0400
> From: Ken Anderson <
[hidden email]>
> Subject: [Quickfixj-users] Problems with multiple initiator sessions
> To:
[hidden email]> Message-ID: <
[hidden email]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> I have an application that creates multiple initiator sessions based
> on information in a database. I usually have 3 or 4 per instance of
> the application.
>
> I create the sessions in a loop, and when they're all built, I call
> start on all of them.
>
> I then download product definitions, splitting up the work between all
> the sessions. When all the sessions are finished getting definitions,
> I subscribe to trade messages.
>
> Usually this works OK. However, sometimes, one session will start to
> complain that it can't get a logon response (even though it had
> already logged in):
>
> [2009-09-02 02:24:15,010] INFO quickfixj.event FIX.4.4:9999->ICE:
> Initiated logon request
> [2009-09-02 02:24:26,007] INFO quickfixj.event FIX.4.4:9999->ICE:
> Timed out waiting for logon response
> [2009-09-02 02:24:26,007] INFO quickfixj.event FIX.4.4:9999->ICE:
> Disconnecting
> [2009-09-02 02:24:26,007] ERROR your.app.FixDelegate onLogout for:ICE
> - COMPANY/USER
> [2009-09-02 02:25:14,840] INFO
> quickfix.mina.initiator.InitiatorIoHandler MINA session created: /
>
192.168.16.72:34304> [2009-09-02 02:25:15,010] INFO quickfixj.event FIX.4.4:9999->ICE:
> Initiated logon request
> [2009-09-02 02:25:26,006] INFO quickfixj.event FIX.4.4:9999->ICE:
> Timed out waiting for logon response
> [2009-09-02 02:25:26,006] INFO quickfixj.event FIX.4.4:9999->ICE:
> Disconnecting
> [2009-09-02 02:25:26,007] ERROR your.app.FixDelegate onLogout for:ICE
> - COMPANY/USER
> [2009-09-02 02:26:14,993] INFO
> quickfix.mina.initiator.InitiatorIoHandler MINA session created: /
>
192.168.16.72:34322>
>
> All of the sessions are connected to the same host. The other
> sessions go merrily along while this one is complaining.
>
> If I restart, it usually doesn't help. However, if I isolate the
> sessions and only allow 1 to logon, it always works fine.
>
> Any ideas?
>
> Thanks,
> Ken
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users