{{Quickfixn}} file log dispose issue

Mehmet Karabiberoglu karabiberoglu at yahoo.com
Mon Mar 5 22:37:08 PST 2012


Hi Grant,

Thanks for your quick response.

I do not need to manipulate this files while my app is running. 


The problem is that sometimes i need to stop fix engine connections and start again(every time when i start fix engine connections(SocketInitiator.Start()), i create newly objects(SocketInitiator, LogFactory etc.) instead of using old objects). But that time QuickFIX/n says these files are used by another process.

thanks,

Mehmet.



________________________________
 From: Grant Birchmeier <gbirchmeier at connamara.com>
To: Mehmet Karabiberoglu <karabiberoglu at yahoo.com>; Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com> 
Sent: Tuesday, March 6, 2012 12:01 AM
Subject: Re: {{Quickfixn}} file log dispose issue
 

That might be an engine bug.  I've created an issue for it:

https://github.com/connamara/quickfixn/issues/48


Not to sidestep the issue, but do you need to manipulating this file while your app is still running?  As a workaround, if you just need to read it, is it possible you can open it in read-only mode?


On Mon, Mar 5, 2012 at 5:57 AM, Mehmet Karabiberoglu <karabiberoglu at yahoo.com> wrote:

Hi all,
>
>
>we are using FileLogFactory for logging. 
>
>
>when we call SocketInitiator.Stop() method, it can not release all resources. 
>
>
>[SessionInfo].event.current.log and [SessionInfo].messages.current.log files are not closed. FileLog.Dispose() method is not called.
>
>
>
>how can we pass this issue?
>
>Mehmet.
>_______________________________________________
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20120305/40d95565/attachment-0002.htm>


More information about the Quickfixn mailing list