Sequence Reset?

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Sequence Reset?

Hei Chan
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi,

For some reasons, when I restarted my application, QuickFIX started sending a
logon message with sequence #=1.
However, according to FIX's log, I see that before I restarted, the last
outgoing sequence # was 1000+.
And my settings are:
  ResetOnLogon=N
  ResetOnLogout=N
  ResetOnDisconnect=N

I don't understand why QuickFIX would reset the sequence.

I am using FileLogStore to keep the sequence #.  My QuickFIX/C++ version is
1.12.4.

Any idea?

Thanks in advance.


Cheers,
Hei

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Djalma Rosa dos Santos Filho
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi Hei,

If you're not using week long sessions, the sequence is reset every
day, according to StartTime and EndTime configuration.
Quickfix always verifies the session's Creation Time at startup in the
*.session file to know whether it should start another session or not.

On Fri, May 27, 2011 at 4:42 AM, Hei Chan <[hidden email]> wrote:

> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> For some reasons, when I restarted my application, QuickFIX started sending a
> logon message with sequence #=1.
> However, according to FIX's log, I see that before I restarted, the last
> outgoing sequence # was 1000+.
> And my settings are:
>  ResetOnLogon=N
>  ResetOnLogout=N
>  ResetOnDisconnect=N
>
> I don't understand why QuickFIX would reset the sequence.
>
> I am using FileLogStore to keep the sequence #.  My QuickFIX/C++ version is
> 1.12.4.
>
> Any idea?
>
> Thanks in advance.
>
>
> Cheers,
> Hei
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Quickfix-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Hei Chan
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi,

Thanks for your reply.
I do have a "week long" setting:
  StartTime=00:00:00
  EndTime=00:00:00

StartDay and EndDay are not set.

So any other suggestion?

Thanks in advance.


Cheers,
Hei



----- Original Message ----
From: Djalma Rosa dos Santos Filho <[hidden email]>
To: [hidden email]
Sent: Sun, May 29, 2011 8:32:51 AM
Subject: Re: [Quickfix-developers] Sequence Reset?

QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi Hei,

If you're not using week long sessions, the sequence is reset every
day, according to StartTime and EndTime configuration.
Quickfix always verifies the session's Creation Time at startup in the
*.session file to know whether it should start another session or not.

On Fri, May 27, 2011 at 4:42 AM, Hei Chan <[hidden email]> wrote:

> QuickFIX Documentation:
>http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> For some reasons, when I restarted my application, QuickFIX started sending a
> logon message with sequence #=1.
> However, according to FIX's log, I see that before I restarted, the last
> outgoing sequence # was 1000+.
> And my settings are:
>  ResetOnLogon=N
>  ResetOnLogout=N
>  ResetOnDisconnect=N
>
> I don't understand why QuickFIX would reset the sequence.
>
> I am using FileLogStore to keep the sequence #.  My QuickFIX/C++ version is
> 1.12.4.
>
> Any idea?
>
> Thanks in advance.
>
>
> Cheers,
> Hei
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Quickfix-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Clebson Derivan
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


post the logon messages please. both the resquest and the response (:

On Mon, May 30, 2011 at 2:35 PM, Hei Chan <[hidden email]> wrote:
Hi,

Thanks for your reply.
I do have a "week long" setting:
 StartTime=00:00:00
 EndTime=00:00:00

StartDay and EndDay are not set.

So any other suggestion?

Thanks in advance.


Cheers,
Hei



----- Original Message ----
From: Djalma Rosa dos Santos Filho <[hidden email]>
To: [hidden email]
Sent: Sun, May 29, 2011 8:32:51 AM
Subject: Re: [Quickfix-developers] Sequence Reset?

QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi Hei,

If you're not using week long sessions, the sequence is reset every
day, according to StartTime and EndTime configuration.
Quickfix always verifies the session's Creation Time at startup in the
*.session file to know whether it should start another session or not.

On Fri, May 27, 2011 at 4:42 AM, Hei Chan <[hidden email]> wrote:
> QuickFIX Documentation:
>http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> For some reasons, when I restarted my application, QuickFIX started sending a
> logon message with sequence #=1.
> However, according to FIX's log, I see that before I restarted, the last
> outgoing sequence # was 1000+.
> And my settings are:
>  ResetOnLogon=N
>  ResetOnLogout=N
>  ResetOnDisconnect=N
>
> I don't understand why QuickFIX would reset the sequence.
>
> I am using FileLogStore to keep the sequence #.  My QuickFIX/C++ version is
> 1.12.4.
>
> Any idea?
>
> Thanks in advance.
>
>
> Cheers,
> Hei
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Quickfix-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Hei Chan
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Hi,

Thanks for your reply.

As you can see, the first 2 were the heartbeat before I restarted the application.  After I restarted the application, QuickFIX decided to restart the sequence.

8=FIX.4.2^A9=86^A35=0^A34=11697^A49=[senderComp]^A50=1^A52=20110526-22:51:36.959^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A10=159^A
8=FIX.4.2^A9=96^A35=0^A34=22522^A369=11697^A52=20110526-22:51:37.215^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A10=112^A
8=FIX.4.2^A9=158^A35=A^A34=1^A49=[senderComp]^A50=1^A52=20110527-07:24:05.770^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A95=3^A96=5E8^A98=0^A108=30^A1603=myAppSysName^A1604=1.168128^A1605=myAppSysVendor^A10=134^A
8=FIX.4.2^A9=199^A35=5^A34=22523^A369=11697^A52=20110527-07:24:07.293^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A58=Sequence number received lower than expected. Expected [11698] Received 1. Logout forced.^A789=11698^A10=156^A



From: Clebson Derivan <[hidden email]>
To: Hei Chan <[hidden email]>
Cc: Djalma Rosa dos Santos Filho <[hidden email]>; [hidden email]
Sent: Mon, May 30, 2011 10:41:35 AM
Subject: Re: [Quickfix-developers] Sequence Reset?

post the logon messages please. both the resquest and the response (:

On Mon, May 30, 2011 at 2:35 PM, Hei Chan <[hidden email]> wrote:
Hi,

Thanks for your reply.
I do have a "week long" setting:
 StartTime=00:00:00
 EndTime=00:00:00

StartDay and EndDay are not set.

So any other suggestion?

Thanks in advance.


Cheers,
Hei



----- Original Message ----
From: Djalma Rosa dos Santos Filho <[hidden email]>
To: [hidden email]
Sent: Sun, May 29, 2011 8:32:51 AM
Subject: Re: [Quickfix-developers] Sequence Reset?

QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi Hei,

If you're not using week long sessions, the sequence is reset every
day, according to StartTime and EndTime configuration.
Quickfix always verifies the session's Creation Time at startup in the
*.session file to know whether it should start another session or not.

On Fri, May 27, 2011 at 4:42 AM, Hei Chan <[hidden email]> wrote:
> QuickFIX Documentation:
>http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> For some reasons, when I restarted my application, QuickFIX started sending a
> logon message with sequence #=1.
> However, according to FIX's log, I see that before I restarted, the last
> outgoing sequence # was 1000+.
> And my settings are:
>  ResetOnLogon=N
>  ResetOnLogout=N
>  ResetOnDisconnect=N
>
> I don't understand why QuickFIX would reset the sequence.
>
> I am using FileLogStore to keep the sequence #.  My QuickFIX/C++ version is
> 1.12.4.
>
> Any idea?
>
> Thanks in advance.
>
>
> Cheers,
> Hei
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Quickfix-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Clebson Derivan
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


your session time is expiring as Djalma told. please show us the [default] and your [senderComp] session configurations.

On Mon, May 30, 2011 at 3:03 PM, Hei Chan <[hidden email]> wrote:
Hi,

Thanks for your reply.

As you can see, the first 2 were the heartbeat before I restarted the application.  After I restarted the application, QuickFIX decided to restart the sequence.

8=FIX.4.2^A9=86^A35=0^A34=11697^A49=[senderComp]^A50=1^A52=20110526-22:51:36.959^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A10=159^A
8=FIX.4.2^A9=96^A35=0^A34=22522^A369=11697^A52=20110526-22:51:37.215^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A10=112^A
8=FIX.4.2^A9=158^A35=A^A34=1^A49=[senderComp]^A50=1^A52=20110527-07:24:05.770^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A95=3^A96=5E8^A98=0^A108=30^A1603=myAppSysName^A1604=1.168128^A1605=myAppSysVendor^A10=134^A
8=FIX.4.2^A9=199^A35=5^A34=22523^A369=11697^A52=20110527-07:24:07.293^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A58=Sequence number received lower than expected. Expected [11698] Received 1. Logout forced.^A789=11698^A10=156^A



From: Clebson Derivan <[hidden email]>
To: Hei Chan <[hidden email]>
Cc: Djalma Rosa dos Santos Filho <[hidden email]>; [hidden email]
Sent: Mon, May 30, 2011 10:41:35 AM

Subject: Re: [Quickfix-developers] Sequence Reset?

post the logon messages please. both the resquest and the response (:

On Mon, May 30, 2011 at 2:35 PM, Hei Chan <[hidden email]> wrote:
Hi,

Thanks for your reply.
I do have a "week long" setting:
 StartTime=00:00:00
 EndTime=00:00:00

StartDay and EndDay are not set.

So any other suggestion?

Thanks in advance.


Cheers,
Hei



----- Original Message ----
From: Djalma Rosa dos Santos Filho <[hidden email]>
To: [hidden email]
Sent: Sun, May 29, 2011 8:32:51 AM
Subject: Re: [Quickfix-developers] Sequence Reset?

QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi Hei,

If you're not using week long sessions, the sequence is reset every
day, according to StartTime and EndTime configuration.
Quickfix always verifies the session's Creation Time at startup in the
*.session file to know whether it should start another session or not.

On Fri, May 27, 2011 at 4:42 AM, Hei Chan <[hidden email]> wrote:
> QuickFIX Documentation:
>http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> For some reasons, when I restarted my application, QuickFIX started sending a
> logon message with sequence #=1.
> However, according to FIX's log, I see that before I restarted, the last
> outgoing sequence # was 1000+.
> And my settings are:
>  ResetOnLogon=N
>  ResetOnLogout=N
>  ResetOnDisconnect=N
>
> I don't understand why QuickFIX would reset the sequence.
>
> I am using FileLogStore to keep the sequence #.  My QuickFIX/C++ version is
> 1.12.4.
>
> Any idea?
>
> Thanks in advance.
>
>
> Cheers,
> Hei
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Quickfix-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers



------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Hei Chan
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Here you go :)
[DEFAULT]
  ConnectionType=initiator
  ReconnectInterval=3
  SenderCompID=[senderComp]
  FileLogPath=/var/log/
  FileStorePath=/var/log/
  PersistMessages=N
  SocketNodelay=Y
  MillisecondsInTimeStamp=Y

[SESSION]
  BeginString=FIX.4.2
  TargetCompID=[targetComp]
  StartTime=00:00:00
  EndTime=00:00:00
  ResetOnLogon=N
  ResetOnLogout=N
  ResetOnDisconnect=N
  HeartBtInt=30
  SocketConnectPort=[port]
  SocketConnectHost=[ip]
  DataDictionary=[dictionary]
  CheckLatency=N




From: Clebson Derivan <[hidden email]>
To: Hei Chan <[hidden email]>
Cc: [hidden email]
Sent: Mon, May 30, 2011 11:22:02 AM
Subject: Re: [Quickfix-developers] Sequence Reset?

your session time is expiring as Djalma told. please show us the [default] and your [senderComp] session configurations.

On Mon, May 30, 2011 at 3:03 PM, Hei Chan <[hidden email]> wrote:
Hi,

Thanks for your reply.

As you can see, the first 2 were the heartbeat before I restarted the application.  After I restarted the application, QuickFIX decided to restart the sequence.

8=FIX.4.2^A9=86^A35=0^A34=11697^A49=[senderComp]^A50=1^A52=20110526-22:51:36.959^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A10=159^A
8=FIX.4.2^A9=96^A35=0^A34=22522^A369=11697^A52=20110526-22:51:37.215^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A10=112^A
8=FIX.4.2^A9=158^A35=A^A34=1^A49=[senderComp]^A50=1^A52=20110527-07:24:05.770^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A95=3^A96=5E8^A98=0^A108=30^A1603=myAppSysName^A1604=1.168128^A1605=myAppSysVendor^A10=134^A
8=FIX.4.2^A9=199^A35=5^A34=22523^A369=11697^A52=20110527-07:24:07.293^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A58=Sequence number received lower than expected. Expected [11698] Received 1. Logout forced.^A789=11698^A10=156^A



From: Clebson Derivan <[hidden email]>
To: Hei Chan <[hidden email]>
Cc: Djalma Rosa dos Santos Filho <[hidden email]>; [hidden email]
Sent: Mon, May 30, 2011 10:41:35 AM

Subject: Re: [Quickfix-developers] Sequence Reset?

post the logon messages please. both the resquest and the response (:

On Mon, May 30, 2011 at 2:35 PM, Hei Chan <[hidden email]> wrote:
Hi,

Thanks for your reply.
I do have a "week long" setting:
 StartTime=00:00:00
 EndTime=00:00:00

StartDay and EndDay are not set.

So any other suggestion?

Thanks in advance.


Cheers,
Hei



----- Original Message ----
From: Djalma Rosa dos Santos Filho <[hidden email]>
To: [hidden email]
Sent: Sun, May 29, 2011 8:32:51 AM
Subject: Re: [Quickfix-developers] Sequence Reset?

QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi Hei,

If you're not using week long sessions, the sequence is reset every
day, according to StartTime and EndTime configuration.
Quickfix always verifies the session's Creation Time at startup in the
*.session file to know whether it should start another session or not.

On Fri, May 27, 2011 at 4:42 AM, Hei Chan <[hidden email]> wrote:
> QuickFIX Documentation:
>http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> For some reasons, when I restarted my application, QuickFIX started sending a
> logon message with sequence #=1.
> However, according to FIX's log, I see that before I restarted, the last
> outgoing sequence # was 1000+.
> And my settings are:
>  ResetOnLogon=N
>  ResetOnLogout=N
>  ResetOnDisconnect=N
>
> I don't understand why QuickFIX would reset the sequence.
>
> I am using FileLogStore to keep the sequence #.  My QuickFIX/C++ version is
> 1.12.4.
>
> Any idea?
>
> Thanks in advance.
>
>
> Cheers,
> Hei
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Quickfix-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers



------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Clebson Derivan
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


great, just add starday and endday configuration.

cheers,
Clebson

On Mon, May 30, 2011 at 4:03 PM, Hei Chan <[hidden email]> wrote:
Here you go :)
[DEFAULT]
  ConnectionType=initiator
  ReconnectInterval=3
  SenderCompID=[senderComp]
  FileLogPath=/var/log/
  FileStorePath=/var/log/
  PersistMessages=N
  SocketNodelay=Y
  MillisecondsInTimeStamp=Y

[SESSION]
  BeginString=FIX.4.2
  TargetCompID=[targetComp]

  StartTime=00:00:00
  EndTime=00:00:00
  ResetOnLogon=N
  ResetOnLogout=N
  ResetOnDisconnect=N
  HeartBtInt=30
  SocketConnectPort=[port]
  SocketConnectHost=[ip]
  DataDictionary=[dictionary]
  CheckLatency=N




From: Clebson Derivan <[hidden email]>
To: Hei Chan <[hidden email]>
Cc: [hidden email]
Sent: Mon, May 30, 2011 11:22:02 AM

Subject: Re: [Quickfix-developers] Sequence Reset?

your session time is expiring as Djalma told. please show us the [default] and your [senderComp] session configurations.

On Mon, May 30, 2011 at 3:03 PM, Hei Chan <[hidden email]> wrote:
Hi,

Thanks for your reply.

As you can see, the first 2 were the heartbeat before I restarted the application.  After I restarted the application, QuickFIX decided to restart the sequence.

8=FIX.4.2^A9=86^A35=0^A34=11697^A49=[senderComp]^A50=1^A52=20110526-22:51:36.959^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A10=159^A
8=FIX.4.2^A9=96^A35=0^A34=22522^A369=11697^A52=20110526-22:51:37.215^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A10=112^A
8=FIX.4.2^A9=158^A35=A^A34=1^A49=[senderComp]^A50=1^A52=20110527-07:24:05.770^A56=[targetComp]^A57=G^A142=US,IL,Illinois^A95=3^A96=5E8^A98=0^A108=30^A1603=myAppSysName^A1604=1.168128^A1605=myAppSysVendor^A10=134^A
8=FIX.4.2^A9=199^A35=5^A34=22523^A369=11697^A52=20110527-07:24:07.293^A49=[targetComp]^A50=G^A56=5E8284N^A57=1^A143=US,IL,Illinois^A58=Sequence number received lower than expected. Expected [11698] Received 1. Logout forced.^A789=11698^A10=156^A



From: Clebson Derivan <[hidden email]>
To: Hei Chan <[hidden email]>
Cc: Djalma Rosa dos Santos Filho <[hidden email]>; [hidden email]
Sent: Mon, May 30, 2011 10:41:35 AM

Subject: Re: [Quickfix-developers] Sequence Reset?

post the logon messages please. both the resquest and the response (:

On Mon, May 30, 2011 at 2:35 PM, Hei Chan <[hidden email]> wrote:
Hi,

Thanks for your reply.
I do have a "week long" setting:
 StartTime=00:00:00
 EndTime=00:00:00

StartDay and EndDay are not set.

So any other suggestion?

Thanks in advance.


Cheers,
Hei



----- Original Message ----
From: Djalma Rosa dos Santos Filho <[hidden email]>
To: [hidden email]
Sent: Sun, May 29, 2011 8:32:51 AM
Subject: Re: [Quickfix-developers] Sequence Reset?

QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Hi Hei,

If you're not using week long sessions, the sequence is reset every
day, according to StartTime and EndTime configuration.
Quickfix always verifies the session's Creation Time at startup in the
*.session file to know whether it should start another session or not.

On Fri, May 27, 2011 at 4:42 AM, Hei Chan <[hidden email]> wrote:
> QuickFIX Documentation:
>http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi,
>
> For some reasons, when I restarted my application, QuickFIX started sending a
> logon message with sequence #=1.
> However, according to FIX's log, I see that before I restarted, the last
> outgoing sequence # was 1000+.
> And my settings are:
>  ResetOnLogon=N
>  ResetOnLogout=N
>  ResetOnDisconnect=N
>
> I don't understand why QuickFIX would reset the sequence.
>
> I am using FileLogStore to keep the sequence #.  My QuickFIX/C++ version is
> 1.12.4.
>
> Any idea?
>
> Thanks in advance.
>
>
> Cheers,
> Hei
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Quickfix-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers




------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
BJN
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

BJN
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

I believe these lines are the issue. They only apply to Acceptors (servers) and you are creating an Initiator (client). You should use RefreshOnLogon = Y and the engine will preserve seqNums.

ResetOnLogon=N
ResetOnLogout=N
ResetOnDisconnect=N

See the documentation on configuration, http://www.quickfixengine.org/quickfix/doc/html/configuration.html.

Regards.

-----Original Message-----
From: Clebson Derivan [mailto:[hidden email]]
Sent: Monday, May 30, 2011 3:05 PM
To: Hei Chan
Cc: [hidden email]
Subject: Re: [Quickfix-developers] Sequence Reset?

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Hei Chan
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

I thought that QF would ignore ResetOnLogon if I set it for an initiator, and QF
would preserve the sequence # in the file system as long as I use
FIX::FileStoreFactory and set ResetOnLogout and ResetOnDisconnect to N.

Anyway, I am going to try out your and Clebson's suggestion.

Thanks :)



----- Original Message ----
From: "Natala, Benjamin J" <[hidden email]>
To: Clebson Derivan <[hidden email]>; Hei Chan <[hidden email]>
Cc: "[hidden email]"
<[hidden email]>
Sent: Mon, May 30, 2011 1:29:51 PM
Subject: RE: [Quickfix-developers] Sequence Reset?

I believe these lines are the issue. They only apply to Acceptors (servers) and
you are creating an Initiator (client). You should use RefreshOnLogon = Y and
the engine will preserve seqNums.

ResetOnLogon=N
ResetOnLogout=N
ResetOnDisconnect=N

See the documentation on configuration,
http://www.quickfixengine.org/quickfix/doc/html/configuration.html.


Regards.

-----Original Message-----
From: Clebson Derivan [mailto:[hidden email]]
Sent: Monday, May 30, 2011 3:05 PM
To: Hei Chan
Cc: [hidden email]
Subject: Re: [Quickfix-developers] Sequence Reset?

QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html 

QuickFIX Support: http://www.quickfixengine.org/services.html 

This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Reply | Threaded
Open this post in threaded view
|

Re: Sequence Reset?

Ben-283
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html



Hei Chan <structurechart@...> writes:

>
> QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> I thought that QF would ignore ResetOnLogon if I set it for an initiator, and
QF

> would preserve the sequence # in the file system as long as I use
> FIX::FileStoreFactory and set ResetOnLogout and ResetOnDisconnect to N.
>
> Anyway, I am going to try out your and Clebson's suggestion.
>
> Thanks :)
>
> ----- Original Message ----
> From: "Natala, Benjamin J" <benjamin.j.natala@...>
> To: Clebson Derivan <cderivan@...>; Hei Chan <structurechart@...>
> Cc: "quickfix-developers@..."
> <quickfix-developers@...>
> Sent: Mon, May 30, 2011 1:29:51 PM
> Subject: RE: [Quickfix-developers] Sequence Reset?
>
> I believe these lines are the issue. They only apply to Acceptors (servers)
and

> you are creating an Initiator (client). You should use RefreshOnLogon = Y and
> the engine will preserve seqNums.
>
> ResetOnLogon=N
> ResetOnLogout=N
> ResetOnDisconnect=N
>
> See the documentation on configuration,
> http://www.quickfixengine.org/quickfix/doc/html/configuration.html.
>
> Regards.
>



It's been a while, but did this suggestion work for you?

I am having the same problem - my sessionIDs are resetting to 1, despite the
fact that I now have these flags set:

RefreshOnLogon = Y
ResetOnLogon=N
ResetOnLogout=N
ResetOnDisconnect=N


Also, having read the documentation, I would have thought the ResetOnX = N would
have been sufficient, but apparently not.

thanks
Ben





------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Quickfix-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfix-developers