{{Quickfixn}} Sending Email Message Problem
Grant Birchmeier
gbirchmeier at connamara.com
Tue Jul 15 12:01:03 PDT 2025
1) I just explained why you got the error you reported. I am confident. I
am helping you for free; please don't ignore my answer.
2) The Nuget package "works" because it's prematurely disposing the store
file, which is misbehavior in the bug #196 that was fixed. If you
Start/Stop/Start it, it might not crash due to the store file, but it's
going to do other buggy things. Please stop telling me that the Nuget file
works, because per #196 it actually doesn't. Please believe me.
3) I've previously told you that your session count observations are a red
herring, and you should stop focusing on that. It is not relevant. (I
believe the #196 fix also changed how these session counts work, which
would explain the difference you are seeing)
-Grant
On Tue, Jul 15, 2025 at 1:37 PM somnath pal <palsomnath at hotmail.com> wrote:
> This is for test application. Where I start/ stop for testing and recreate
> the acceptor. But my point is, I use nuget package, this issue doesn't
> happen. After stop, session count is 0. But in executor after stop session
> count is 10.
>
> Thanks,
> Somnath
> ------------------------------
> *From:* Grant Birchmeier <gbirchmeier at connamara.com>
> *Sent:* 16 July 2025 00:04
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Cc:* somnath pal <palsomnath at hotmail.com>
> *Subject:* Re: {{Quickfixn}} Sending Email Message Problem
>
> First, you aren't telling me exception you're seeing. Is it still the
> store file error? I assume it is.
>
> Now I think I see what you're doing wrong. You are creating a new
> acceptor, but the old acceptor object (with the same settings, thus same
> store/log file paths) is still alive and undisposed. It still has an open
> filehandle to the store file, so of course your new acceptor can't open the
> file.
>
> But why are you re-creating the ThreadedSocketAcceptor? Totally
> unnecessary, and pointless. Just call .Start() again.
>
>
> On Tue, Jul 15, 2025 at 1:25 PM somnath pal via Quickfixn <
> quickfixn at lists.quickfixn.com> wrote:
>
> Problem still there
> ------------------------------
> *From:* somnath pal <palsomnath at hotmail.com>
> *Sent:* 15 July 2025 23:49
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Subject:* Re: {{Quickfixn}} Sending Email Message Problem
>
> Infact I decided to check.
> I downloaded the master.
> Opened the solution.
> Set executor as start project.
> srv.Stop();
> acceptor.Stop();
> acceptor = new ThreadedSocketAcceptor(executorApp, storeFactory, settings,
> logFactory);
>
> Thanks,
> Somnath
> ------------------------------
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> on behalf of
> somnath pal via Quickfixn <quickfixn at lists.quickfixn.com>
> *Sent:* 15 July 2025 23:30
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Cc:* somnath pal <palsomnath at hotmail.com>
> *Subject:* Re: {{Quickfixn}} Sending Email Message Problem
>
> Thanks Grant I will check tomorrow and let you know the result.
>
> Thanks again for all the help.
>
> Somnath
> ------------------------------
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> on behalf of
> Grant Birchmeier via Quickfixn <quickfixn at lists.quickfixn.com>
> *Sent:* 15 July 2025 23:27
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Cc:* Grant Birchmeier <gbirchmeier at connamara.com>
> *Subject:* Re: {{Quickfixn}} Sending Email Message Problem
>
> The repo is: https://github.com/connamara/quickfixn
>
> If you are using the latest version of the `master` branch in that repo
> but still seeing the problem, then I think the problem has to be something
> you are doing in your code. As I said earlier, I ran a demo acceptor on
> this branch and called Stop/Start/Stop repeatedly, and saw no issues.
>
> -Grant
>
>
> On Tue, Jul 15, 2025 at 12:52 PM somnath pal <palsomnath at hotmail.com>
> wrote:
>
> Hi Grant,
>
> I can understand the volume of software and version management is not
> easy.
>
> Finally we came to a conclusion and that is great.
>
> I am also confused about your lates repo. Today morning, I downloaded from
> GitHub but that didn't help. Can you please point me to correct URL?
>
> Thanks,
> Somnath
> ------------------------------
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> on behalf of
> Grant Birchmeier <gbirchmeier at connamara.com>
> *Sent:* 15 July 2025 21:58
> *To:* Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
> *Subject:* Re: {{Quickfixn}} Sending Email Message Problem
>
> Somnath,
>
> I apologize, I see now that the issue you are facing is very real. It was
> documented in issue #196, and finally fixed with PR #959 earlier this
> year. It will be in the next release (1.14), which I hope to have out by
> the end of August.
>
> When I tried to reproduce your problem, I was using the latest repo
> source, so of course I didn't replicate the bug, because it was fixed!
>
> To get going, you can clone or download the current github repo and build
> the dlls yourself. If you have any questions about building, you can ask
> them here.
>
> -Grant
>
>
>
> This email, along with any attachments, is confidential. If you believe
> you received this message in error, please contact the sender immediately
> and delete all copies of the message. Thank you from Connamara Systems, LLC.
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
>
> --
> <https://www.connamara.com>
>
> Grant Birchmeier
>
> Director of Engineering, Connamara
>
> gbirchmeier at connamara.com
>
> This email, along with any attachments, is confidential. If you believe
> you received this message in error, please contact the sender immediately
> and delete all copies of the message. Thank you from Connamara Systems, LLC.
>
--
<https://www.connamara.com>
Grant Birchmeier
Director of Engineering, Connamara
gbirchmeier at connamara.com
--
This email, along with any attachments, is confidential. If you believe you
received this message in error, please contact the sender immediately and
delete all copies of the message. Thank you from Connamara Systems, LLC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20250715/4795fe31/attachment-0001.htm>
More information about the Quickfixn
mailing list