{{Quickfixn}} error while re-run the initiator
Grant Birchmeier
gbirchmeier at connamara.com
Wed Mar 6 08:02:15 PST 2013
This is a known issue. We have a submission for a fix that we will review soon.
https://github.com/connamara/quickfixn/issues/48
I'm not aware of a workaround, aside from simply shutting the app completely.
-Grant
On Wed, Mar 6, 2013 at 9:58 AM, Walter Robert Ditzler
<ditwal001 at gmail.com> wrote:
> Hi there,
>
> I start the initiator:
>
> ***
> _SessionSettings = new
> SessionSettings(System.AppDomain.CurrentDomain.BaseDirectory +
> "communicator.cfg");
> _FileStoreFactory = new FileStoreFactory(_SessionSettings);
> _Application = new Application();
> _SocketInitiator = new SocketInitiator(_Application, _FileStoreFactory,
> _SessionSettings);
> _SocketInitiator.Start();
> ***
>
> Then I stop it
>
> ***
> _SocketInitiator.Stop(true);
> ***
>
> When I want to start it again, without closing my app
>
> ***
> _SocketInitiator.Start();
> ***
>
> I get the following error
>
> ***
> "The process cannot access the file
> 'C:\\DATA\\ABO_DEV\\VS2012\\sw\\output\\store\\FIX.4.2-DATA_FIX_xxx.header'
> because it is being used by another process."
> ***
>
> Is there a way to release that file from the memory? Which component do I
> have to relase?
>
> Thanks a lot,
>
> Walter.
>
>
> Ps: I tried:
>
> ***
> if (_SocketInitiator == null)
> return;
>
> if (_SocketInitiator.IsLoggedOn())
> _SocketInitiator.Stop(true);
>
> if (_Application != null)
> _Application = null;
>
> if (_FileStoreFactory != null)
> _FileStoreFactory = null;
> ***
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
--
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.
http://connamara.com
More information about the Quickfixn
mailing list