[QFJ-196] SessionNotFound error during an active session Created: 13/Jun/07  Updated: 28/Jun/07  Resolved: 28/Jun/07

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

Type: Other Priority: Default
Reporter: Robert Jen Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None
Environment:

NetBeans 5.5 JDK 1.6



 Description   

Hi,
I am new to this and I am doing something very simple, I think.

2 separate threads in the same class. In the 1st thread messages can be sent & received without any problem.
In the 2nd thread it throws a SessionNotFound error when calling sendToTarget();
The session is active, as my counterpart at the other end of the session confirmed.
Same class; same session; 2 separate threads.

I tried defining a separate initiator in the 2nd thread. That got a Config error

Thanks in advance for any help,
Robert



 Comments   
Comment by Robert Jen [ 14/Jun/07 ]

I changed the message from Message type to quickfix.fix42.NewOrderSingle type, and the error went away.
It seems SessionNotFound is the outbound error equivalent of inbound UnsupportedMessageType, at least in this case.

Generated at Thu Oct 23 23:53:16 UTC 2025 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.