[QFJ-257] Error Reading/Writing in MessageStore Created: 16/Oct/07  Updated: 12/Dec/07  Resolved: 12/Dec/07

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.1.0
Fix Version/s: None

Type: Other Priority: Default
Reporter: Parag Mehta Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux.



 Description   

Hi,

Was receiving this message without any stack trace or details on initialization of the quickfixj engine.

2007-10-15 15:52:53,394 [QFJ Timer] INFO quickfixj.event - FIX.4.2:SENDER->TARGET: Error Reading/Writing in MessageStore

The subsequent incoming seqnum does not get updated in the db though outgoing does, causing the engines to stop talking to each other. I believe I had to delete entries in the messages table to get rid of the error. Unfortunately, I forgot to capture the offending data in messages table.

Q:

  • Is there a way to get more information about 'Error Reading/Writing in MessageStore' message to make the cause more apparent (like a strack trace, or data that failed to be read/written)?
  • Is the behavior expected (unable to write incoming seqnum once the error has occurred )?
  • Is there a way to make the engine throw an exception on initialization when the error occurs so that the process can be stopped instead of allowed to continue? The error itself is logged at INFO level.

Thanks a lot for your help.



 Comments   
Comment by Parag Mehta [ 16/Oct/07 ]

More info:

The issue seems to happen when:

  • There are existing messages in the db.
  • Seq numbers are rolled back or reset without removing the existing messages which would clash seq numbers when the engine starts.

While writing a message with the same id exists in the table, hence the error probably.

The resolution of course is that if seq reset is required, the messages table needs cleanup.

Generated at Sat May 18 08:23:27 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.