Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-669

Initiator interprets logout response as logout request.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Default
    • Resolution: Unresolved
    • Affects Version/s: 1.5.2, 1.5.3
    • Fix Version/s: Future Releases
    • Component/s: None
    • Labels:
      None

      Description

      Steps:
      1.INITIATOR sends logout request.
      2.ACCEPTOR sends logout response.
      3.INITIATOR interprets received logout message as logout REQUEST
      4.INITIATOR sends logout response.

      INFO: Logging out all sessions
      <20120302-14:43:55, FIX.4.2:INITIATOR->ACCEPTOR, event> (Initiated logout request)
      <20120302-14:43:55, FIX.4.2:INITIATOR->ACCEPTOR, outgoing> (8=FIX.4.29=5535=534=5549=INITIATOR52=20120302-14:43:55.80556=ACCEPTOR10=100)
      <20120302-14:43:55, FIX.4.2:INITIATOR->ACCEPTOR, incoming> (8=FIX.4.29=8135=552=20120302-14:43:55.80849=ACCEPTOR34=17156=INITIATOR58=At the opposite wish.10=242)
      <20120302-14:43:55, FIX.4.2:INITIATOR->ACCEPTOR, event> (Received logout request)
      <20120302-14:43:55, FIX.4.2:INITIATOR->ACCEPTOR, outgoing> (8=FIX.4.29=5535=534=5649=INITIATOR52=20120302-14:43:55.81356=ACCEPTOR10=100)
      Mar 2, 2012 11:43:55 PM quickfix.Session disconnect
      INFO: [FIX.4.2:INITIATOR->ACCEPTOR] Disconnecting: IO Session closed

      <20120302-14:43:55, FIX.4.2:INITIATOR->ACCEPTOR, error> (Error Reading/Writing in MessageStore
      java.io.IOException: Bad file descriptor
      at java.io.RandomAccessFile.writeBytes(Native Method)
      Mar 2, 2012 11:43:55 PM quickfix.mina.SessionConnector stopSessionTimer
      at java.io.RandomAccessFile.write(RandomAccessFile.java:453)
      INFO: SessionTimer canceled
      at quickfix.FileStore.set(FileStore.java:409)
      at quickfix.SessionState.set(SessionState.java:308)
      at quickfix.Session.sendRaw(Session.java:2307)
      at quickfix.Session.generateLogout(Session.java:1350)
      at quickfix.Session.generateLogout(Session.java:1323)
      at quickfix.Session.nextLogout(Session.java:1301)
      at quickfix.Session.next(Session.java:965)
      at quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:114)
      at quickfix.mina.SingleThreadedEventHandlingStrategy.block(SingleThreadedEventHandlingStrategy.java:77)
      at quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(SingleThreadedEventHandlingStrategy.java:94)
      at java.lang.Thread.run(Thread.java:619)

      <20120302-14:43:55, FIX.4.2:INITIATOR->ACCEPTOR, event> (Sent logout response)
      <20120302-14:43:55, FIX.4.2:INITIATOR->ACCEPTOR, error> (Error processing message: 8=FIX.4.29=8135=534=17149=ACCEPTOR52=20120302-14:43:55.80856=INITIATOR58=At the opposite wish.10=242
      ava.io.IOException: Bad file descriptor
      at java.io.RandomAccessFile.seek(Native Method)
      at quickfix.FileStore.storeSequenceNumbers(FileStore.java:414)
      at quickfix.FileStore.incrNextTargetMsgSeqNum(FileStore.java:307)
      at quickfix.SessionState.incrNextTargetMsgSeqNum(SessionState.java:368)
      at quickfix.Session.nextLogout(Session.java:1310)
      at quickfix.Session.next(Session.java:965)
      at quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:114)
      at quickfix.mina.SingleThreadedEventHandlingStrategy.block(SingleThreadedEventHandlingStrategy.java:77)
      at quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(SingleThreadedEventHandlingStrategy.java:94)
      at java.lang.Thread.run(Thread.java:619)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bogdan Bogdan Dornean
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: