Message Not Sent. Session Not Found

View: New views
6 Messages — Rating Filter:   Alert me  

Message Not Sent. Session Not Found

by Tximo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I just compiled and run executor and tradeclient applications just as downloaded.

They connect with each other and I can see heartbeat messages goinng from one side to the other with no problem at all (after a while struggling with configuration files).

The problem comes when I try to send an order from tradeclient console:

1. Executor does not receive anything, so no action or output is produced on that side.

2. Tradeclient just prints: "Message not sent. Session not found"

Any help?

Thank you.

Re: Message Not Sent. Session Not Found

by Kenny Stone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Show us your code.

On Thu, Sep 24, 2009 at 2:21 AM, Tximo <j.gracia@...> wrote:
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Hi,

I just compiled and run executor and tradeclient applications just as
downloaded.

They connect with each other and I can see heartbeat messages goinng from
one side to the other with no problem at all (after a while struggling with
configuration files).

The problem comes when I try to send an order from tradeclient console:

1. Executor does not receive anything, so no action or output is produced on
that side.

2. Tradeclient just prints: "Message not sent. Session not found"

Any help?

Thank you.
--
View this message in context: http://www.nabble.com/Message-Not-Sent.-Session-Not-Found-tp25537408p25537408.html
Sent from the QuickFIX - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Quickfix-users mailing list
Quickfix-users@...
https://lists.sourceforge.net/lists/listinfo/quickfix-users



--
Kenny Stone
Connamara Systems, LLC

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Quickfix-users mailing list
Quickfix-users@...
https://lists.sourceforge.net/lists/listinfo/quickfix-users

Re: Message Not Sent. Session Not Found

by Tximo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Never mind, it's already solved. No problem with the code. Just a mistake in the settings file.

Thank you.


El 24/09/2009, a las 13:54, Kenny Stone escribió:

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

Show us your code.

On Thu, Sep 24, 2009 at 2:21 AM, Tximo <j.gracia@...> wrote:
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html


Hi,

I just compiled and run executor and tradeclient applications just as
downloaded.

They connect with each other and I can see heartbeat messages goinng from
one side to the other with no problem at all (after a while struggling with
configuration files).

The problem comes when I try to send an order from tradeclient console:

1. Executor does not receive anything, so no action or output is produced on
that side.

2. Tradeclient just prints: "Message not sent. Session not found"

Any help?

Thank you.
--
View this message in context: http://www.nabble.com/Message-Not-Sent.-Session-Not-Found-tp25537408p25537408.html
Sent from the QuickFIX - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Quickfix-users mailing list
Quickfix-users@...
https://lists.sourceforge.net/lists/listinfo/quickfix-users



--
Kenny Stone
Connamara Systems, LLC
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf_______________________________________________
Quickfix-users mailing list
Quickfix-users@...
https://lists.sourceforge.net/lists/listinfo/quickfix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Quickfix-users mailing list
Quickfix-users@...
https://lists.sourceforge.net/lists/listinfo/quickfix-users

Re: Message Not Sent. Session Not Found

by niketan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI Tximo, I am also facing same error of "Message not sent. Session not found"

Can you please tell what changes you made in the settings file? I had check with all combinations possible.

Thanks.
Niketan


Tximo wrote:

Never mind, it's already solved. No problem with the code. Just a  
mistake in the settings file.

Thank you.




Hi,

I just compiled and run executor and tradeclient applications just as
downloaded.

They connect with each other and I can see heartbeat messages goinng  
from
one side to the other with no problem at all (after a while struggling  
with
configuration files).

The problem comes when I try to send an order from tradeclient console:

1. Executor does not receive anything, so no action or output is  
produced on
that side.

2. Tradeclient just prints: "Message not sent. Session not found"

Any help?

Thank you.
--
View this message in context: http://www.nabble.com/Message-Not-Sent.-Session-Not-Found-tp25537408p25537408.html
Sent from the QuickFIX - User mailing list archive at Nabble.com.

Re: Message Not Sent. Session Not Found

by vbgargote :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The senderID and targetID in the fix message and config file should be same.When application is loaded it creates  a session based on senderID and targetID combination from the config file.
when you fill the fix message it sould contain the same senderID and targetID.If you look at the Session class somewhere it parses the fix message forms a key based on senderID and targetID and searches in the collection.If it does not find any session for the matched key..you get Session not found error.

Re: Message Not Sent. Session Not Found

by niketan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for detailing things. It solved the purpose. :)
vbgargote wrote:
The senderID and targetID in the fix message and config file should be same.When application is loaded it creates  a session based on senderID and targetID combination from the config file.
when you fill the fix message it sould contain the same senderID and targetID.If you look at the Session class somewhere it parses the fix message forms a key based on senderID and targetID and searches in the collection.If it does not find any session for the matched key..you get Session not found error.