|
From: Phill D. <phi...@sf...> - 2012-04-20 12:27:22
|
Hi Andreea Regarding the missing log files is the logging set to use the ScreenLogFactory in the Banzai / Executor constructor ie line LogFactory logFactory = new ScreenLogFactory(true, true, true, logHeartbeats); in Banazi.java? This would explain why you are not getting log files *Regards, *** *Phill Dixon* Email: phi...@sf... Website: www.sfl.co.uk SimGUI: www.safefinancials.net *Subscribe to the Safe Financials Newsletter<http://sfl.us2.list-manage1.com/subscribe?u=d1a3376289d1fe8571784c7ff&id=2deae53c48> * On 20 April 2012 12:59, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > I didn't manage to generate the log files. I set in the config files for > acceptor and initiator the FileLogPath but the log files are not generated. > I don't know what else to set. Do you know why the log files are not > generated even if I set the FileLogPath? > > The acceptor is not receiving anything, he remains in the state mention > above: > > Apr 20, 2012 2:43:19 PM quickfix.SessionSchedule <init> > INFO: [FIX.4.3:PTE->ZMH] daily, 00:00:00-UTC - 23:59:00-UTC > Apr 20, 2012 2:43:19 PM quickfix.mina.SessionConnector startSessionTimer > INFO: SessionTimer started > <20120420-11:43:19, FIX.4.3:PTE->ZMH, event> (Session > FIX.4.3:PTE->ZMHschedule is daily, 00:00:00-UTC - 23:59:00-UTC) > <20120420-11:43:19, FIX.4.3:PTE->ZMH, event> (Created session: > FIX.4.3:PTE->ZMH) > <20120420-11:43:19, FIX.4.3:PTE->ZMH, event> (Valid order types: [2, F, 1]) > Apr 20, 2012 2:43:19 PM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketTcpNoDelay=true > Apr 20, 2012 2:43:19 PM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketSynchronousWrites=false > Apr 20, 2012 2:43:19 PM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketSynchronousWriteTimeout=30000 > Apr 20, 2012 2:43:19 PM quickfix.mina.acceptor.AbstractSocketAcceptor > startAcceptingConnections > INFO: Listening for connections at 0.0.0.0/0.0.0.0:9879 > press <enter> to quit > > > > As far as I know it's ok to remain in this state because when the > connection > is established then will appear a message in the acceptors log (something > like this as far as I read) > > press <enter> to quit > Apr 20, 2012 2:48:22 PM quickfix.mina.acceptor.AcceptorIoHandler > sessionCreated > INFO: MINA session created: /127.0.0.1:9879 > > > And the initiator keeps with the same error: > > Apr 20, 2012 2:50:46 PM quickfix.SessionSchedule <init> > INFO: [FIX.4.3:ZMH->PTE] daily, 00:00:00-UTC - 23:59:00-UTC > <20120420-11:50:46, FIX.4.3:ZMH->PTE, event> (Session FIX.4.3:ZMH->PTE > schedule is daily, 00:00:00-UTC - 23:59:00-UTC) > <20120420-11:50:46, FIX.4.3:ZMH->PTE, event> (Created session: > FIX.4.3:ZMH->PTE) > Apr 20, 2012 2:50:46 PM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketTcpNoDelay=true > Apr 20, 2012 2:50:46 PM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketSynchronousWrites=false > Apr 20, 2012 2:50:46 PM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketSynchronousWriteTimeout=30000 > Apr 20, 2012 2:50:46 PM quickfix.mina.initiator.IoSessionInitiator <init> > INFO: [FIX.4.3:ZMH->PTE] [/127.0.0.1:9879] > Apr 20, 2012 2:50:46 PM quickfix.mina.SessionConnector startSessionTimer > INFO: SessionTimer started > Apr 20, 2012 2:50:46 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:57248, > class org.apache.mina.transport.socket.nio.SocketSessionImpl, > remote=/127.0.0.1:9879 > <20120420-11:50:47, FIX.4.3:ZMH->PTE, outgoing> > (8=FIX.4.3 9=131 35=A 34=1 49=ZMH 52=20120420-11:50:47.484 56=PTE > 553=username 554=pass 98=0 108=30 141=Y 10=248 ) > <20120420-11:50:47, FIX.4.3:ZMH->PTE, event> (Initiated logon request) > <20120420-11:50:47, FIX.4.3:ZMH-_PTE, error> (Disconnecting: Socket > exception (/127.0.0.1:9879): java.io.IOException: An existing connection > was > forcibly closed by the remote host) > > > > > And you also said something about the delimiter between tag 554 and 98, > when > I make copy-paste into the browser the delimiter disappears. > I changed the acceptor config file the ending time to 23:59:00 as you can > see. > > Regards, > Andreea > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7484140.html > Sent from the QuickFIX/J mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > *********************** This email is sent for and on behalf of Safe Financials Limited ****************************** This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. Security Warning: Please note that this email has been created in the knowledge that Internet email is not a 100% secure communications medium. We advise that you understand and accept this lack of security when emailing us. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. ***************************************** http://www.sfl.co.uk ***************************************** |