Details
Description
It seems to be an issue where the weekly session for a QuickFixJ initiator is not starting properly, I have several connections as initiator with no SSL and they all start find, I disconnect my sessions every Friday at 22:00 and start them again every Sunday at 21:00, all of them show the "Session not current" message (a) in the log and all of them except the one with SSL show later the log information about the session being started (b)
Sample logs:
a) 01-11-15 21:00:00 INFO q.event - FIX.4.4:...>...: Session state is not current; resetting FIX.4.4:01-11-15 21:00:00 INFO q.event - ...>...: Session state is not current; resetting FIX.4.4:...>...>...
b) 01-11-15 21:00:00 INFO q.m.i.InitiatorIoHandler - MINA session created for ...->...: local=/...:..., class org.apache.mina.transport.socket.nio.NioSocketSession, remote=/...:...
Log B is not happening for the connection with SSL so I'm not sure what's going on with the connection, it seems that for weekly sessions the SSL connection is not closing correctly making the timer hit a sort of a lock where it cannot get out? no other error is reporting.
Usually when a connection is down for a network issue it is retried except for this particular case of weekly reconnection.