|
From: mousa a. <mou...@gm...> - 2010-10-18 14:52:27
|
hello ,
I'm developing two small applecations a Sender application and an Initiator
application . where the sender sends a New Order message and the
initiators reply with an Execution report . when sending the new order from
sender to initioter have no problem and every thing works fine , how ever
when i try to send the execution report , it gets rejected with the
following reason : 58=Conditionally Required Field Missing (35)
i have searched for a solution and I found a patch to fix the
DefualtMessageFactory and insure that tag 35 is set . now the problem is
that when i checked the log files tag 35 is already set and it is not
missing . i have tried to set tag 35 manualy using Message.setField(new
MsgType("8") , or Message.getHeader.setField(new MsgType("8") , or even
Message.set(new MsgType("8") . every time i get the same error
please Note : for execution i use quickfix.fix42.ExecutionReport Message =
new quickfix.fix42.ExecutionReport() ;
Sender Log snap shot :
20101018-14:23:42: Session FIX.4.2:KMEFIC-CLT->KMEFIC-PMS schedule is daily,
00:00:00-UTC - 23:59:59-UTC
20101018-14:23:42: Created session: FIX.4.2:KMEFIC-CLT->KMEFIC-PMS
20101018-14:23:43: Initiated logon request
20101018-14:23:43: Received logon
20101018-14:23:56: Rejecting invalid message: quickfix.FieldNotFound: Field
[35] was not found in message.: 8=FIX.4.2 9=255 35=8 34=324
49=KMEFIC-PMS 52=20101018-14:23:56.881 56=KMEFIC-CLT 115= 128=t24pms
6=90.6 11=KME101250000401 14=0 17=Mon-Oct-18-17:23:56-AST-2010 20=0
37=2110 38=25000 39=A 40=1 44=2900 48=KW 54=2 55=ZAIN 59=0
60=20101018-14:23:56.881 99=0 150=A 151=25000 10=174
20101018-14:23:56: Reject sent for Message 324: Conditionally Required Field
Missing: tag=35
20101018-14:24:25: Disconnecting: Socket exception (/192.168.2.167:12345):
java.io.IOException: An existing connection was forcibly closed by the
remote host
yours Mousa
|
|
From: Grant B. <gbi...@co...> - 2010-10-18 14:58:04
|
Are you trying to manually extract field 35 in your receiver? If you try to manually extract field 35 from the body instead of the header, I could see you getting this error. Really, though, you shouldn't need to extract 35 at all. I suspect you are using MessageCracker improperly. I suggest you review the docs and examples to see how your usage may differ from convention. -Grant On Mon, Oct 18, 2010 at 9:52 AM, mousa alsulaimi <mou...@gm...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > hello , > I'm developing two small applecations a Sender application and an Initiator application . where the sender sends a New Order message and the initiators reply with an Execution report . when sending the new order from sender to initioter have no problem and every thing works fine , how ever when i try to send the execution report , it gets rejected with the following reason : 58=Conditionally Required Field Missing (35) > i have searched for a solution and I found a patch to fix the DefualtMessageFactory and insure that tag 35 is set . now the problem is that when i checked the log files tag 35 is already set and it is not missing . i have tried to set tag 35 manualy using Message.setField(new MsgType("8") , or Message.getHeader.setField(new MsgType("8") , or even > Message.set(new MsgType("8") . every time i get the same error > please Note : for execution i use quickfix.fix42.ExecutionReport Message = new quickfix.fix42.ExecutionReport() ; > > > Sender Log snap shot : > > 20101018-14:23:42: Session FIX.4.2:KMEFIC-CLT->KMEFIC-PMS schedule is daily, 00:00:00-UTC - 23:59:59-UTC > 20101018-14:23:42: Created session: FIX.4.2:KMEFIC-CLT->KMEFIC-PMS > 20101018-14:23:43: Initiated logon request > 20101018-14:23:43: Received logon > 20101018-14:23:56: Rejecting invalid message: quickfix.FieldNotFound: Field [35] was not found in message.: 8=FIX.4.2 9=255 35=8 34=324 49=KMEFIC-PMS 52=20101018-14:23:56.881 56=KMEFIC-CLT 115= 128=t24pms 6=90.6 11=KME101250000401 14=0 17=Mon-Oct-18-17:23:56-AST-2010 20=0 37=2110 38=25000 39=A 40=1 44=2900 48=KW 54=2 55=ZAIN 59=0 60=20101018-14:23:56.881 99=0 150=A 151=25000 10=174 > 20101018-14:23:56: Reject sent for Message 324: Conditionally Required Field Missing: tag=35 > 20101018-14:24:25: Disconnecting: Socket exception (/192.168.2.167:12345): java.io.IOException: An existing connection was forcibly closed by the remote host > > > > > > > > > yours Mousa > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > |
|
From: Kenny S. <ks...@co...> - 2010-10-18 15:58:31
|
Use the typed message constructors and this won't happen. FIX42::NewOrderSingle etc instead of Message. 'Most Type Safe': http://quickfixengine.org/quickfix/doc/html/sending_messages.html But this is happening because MessageType is the the header. You would need message.getHeader().setField()... -- Kenny Stone Connamara Systems, LLC On Mon, Oct 18, 2010 at 9:52 AM, mousa alsulaimi <mou...@gm...>wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > hello , > > I'm developing two small applecations a Sender application and an Initiator > application . where the sender sends a New Order message and the > initiators reply with an Execution report . when sending the new order from > sender to initioter have no problem and every thing works fine , how ever > when i try to send the execution report , it gets rejected with the > following reason : 58=Conditionally Required Field Missing (35) > i have searched for a solution and I found a patch to fix the > DefualtMessageFactory and insure that tag 35 is set . now the problem is > that when i checked the log files tag 35 is already set and it is not > missing . i have tried to set tag 35 manualy using Message.setField(new > MsgType("8") , or Message.getHeader.setField(new MsgType("8") , or even > Message.set(new MsgType("8") . every time i get the same error > > please Note : for execution i use quickfix.fix42.ExecutionReport Message = > new quickfix.fix42.ExecutionReport() ; > > > > Sender Log snap shot : > > > 20101018-14:23:42: Session FIX.4.2:KMEFIC-CLT->KMEFIC-PMS schedule is > daily, 00:00:00-UTC - 23:59:59-UTC > > 20101018-14:23:42: Created session: FIX.4.2:KMEFIC-CLT->KMEFIC-PMS > > 20101018-14:23:43: Initiated logon request > > 20101018-14:23:43: Received logon > > 20101018-14:23:56: Rejecting invalid message: quickfix.FieldNotFound: Field > [35] was not found in message.: 8=FIX.4.2 9=255 35=8 34=324 > 49=KMEFIC-PMS 52=20101018-14:23:56.881 56=KMEFIC-CLT 115= 128=t24pms > 6=90.6 11=KME101250000401 14=0 17=Mon-Oct-18-17:23:56-AST-2010 20=0 > 37=2110 38=25000 39=A 40=1 44=2900 48=KW 54=2 55=ZAIN 59=0 > 60=20101018-14:23:56.881 99=0 150=A 151=25000 10=174 > > 20101018-14:23:56: Reject sent for Message 324: Conditionally Required > Field Missing: tag=35 > > 20101018-14:24:25: Disconnecting: Socket exception (/192.168.2.167:12345): > java.io.IOException: An existing connection was forcibly closed by the > remote host > > > > > > > > > > yours Mousa > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > |
|
From: andreea.ion <and...@lr...> - 2012-04-11 13:29:09
|
Can you tell me please why this error appears? I have the next log in quickfixj: Apr 11, 2012 4:23:27 PM quickfix.mina.initiator.InitiatorIoHandler sessionCreated INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:53527, class org.apache.mina.transport.socket.nio.SocketSessionImpl, remote=/127.0.0.1:9878 <20120411-13:23:28, FIX.4.3:ZMH->PTE, outgoing> (8=FIX.4.39=13635=A34=149=ZMH52=20120411-13:23:28.56456=PTE141=Y553=username54=pass95=098=0108=3010=217) <20120411-13:23:28, FIX.4.3:ZMH->PTE, event> (Initiated logon request) <20120411-13:23:37, FIX.4.3:ZMH->PTE, error> (Disconnecting: Socket exception (/127.0.0.1:9878): java.io.IOException: An existing connection was forcibly closed by the remote host) <20120411-13:23:37, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket exception (/127.0.0.1:9878): java.io.IOException: An existing connection was forcibly closed by the remote host) -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7456073.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: Chris H. <chr...@ho...> - 2012-04-11 13:35:39
|
It means a tag that must be in your logon isn't. It may just be the text formatter but is this right ... 553=username54=pass95=0 did you add this yourself I would have expected ... 553=username54=pass95=0 may just be the mail viewer etc playing tricks , text editors etc hate that char ;-) > Date: Wed, 11 Apr 2012 06:28:58 -0700 > From: and...@lr... > To: qui...@li... > Subject: Re: [Quickfixj-users] 58=Conditionally Required Field Missing (35) > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Can you tell me please why this error appears? > I have the next log in quickfixj: > Apr 11, 2012 4:23:27 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:53527, > class org.apache.mina.transport.socket.nio.SocketSessionImpl, > remote=/127.0.0.1:9878 > <20120411-13:23:28, FIX.4.3:ZMH->PTE, outgoing> > (8=FIX.4.39=13635=A34=149=ZMH52=20120411-13:23:28.56456=PTE141=Y553=username54=pass95=098=0108=3010=217) > <20120411-13:23:28, FIX.4.3:ZMH->PTE, event> (Initiated logon request) > <20120411-13:23:37, FIX.4.3:ZMH->PTE, error> (Disconnecting: Socket > exception (/127.0.0.1:9878): java.io.IOException: An existing connection was > forcibly closed by the remote host) > <20120411-13:23:37, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket > exception (/127.0.0.1:9878): java.io.IOException: An existing connection was > forcibly closed by the remote host) > > -- > View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7456073.html > Sent from the QuickFIX/J mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |
|
From: andreea.ion <and...@lr...> - 2012-04-17 13:57:44
|
Yes that is a type error. There is 553=username554=password. So what tag is missing? How can I find that? Regards, Andreea -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7473599.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: andreea.ion <and...@lr...> - 2012-04-17 14:05:47
|
<20120417-14:02:35, FIX.4.3:ZMH->PTE, event> (Created session: FIX.4.3:ZMH->PTE) Apr 17, 2012 5:02:35 PM quickfix.mina.initiator.IoSessionInitiator <init> INFO: [FIX.4.3:ZMH->PTE] [/127.0.0.1:9879] Apr 17, 2012 5:02:35 PM quickfix.mina.SessionConnector startSessionTimer INFO: SessionTimer started Apr 17, 2012 5:02:36 PM quickfix.mina.initiator.InitiatorIoHandler sessionCreated INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:52271, class org.apache.mina.transport.socket.nio.SocketSessionImpl, remote=/127.0.0.1:9879 <20120417-14:02:36, FIX.4.3:ZMH->PTE, outgoing> (8=FIX.4.39=14235=A34=13649=ZMH52=20120417-14:02:36.72856=PTE58=hello141=Y553=username554=password98=0108=3010=039) <20120417-14:02:36, FIX.4.3:ZMH->PTE, event> (Initiated logon request) <20120417-14:02:45, 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) <20120417-14:02:45, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket exception (/127.0.0.1:9879): java.io.IOException: An existing connection was forcibly closed by the remote host) This is the log with tag 58 also ....I can't see where is the error. Can you help me? Andreea -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7473628.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: Øyvind M. W. <oyv...@os...> - 2012-04-17 14:11:59
|
Hi, Have you looked in the logs for the acceptor? -Øyvind Den 17. apr. 2012 kl. 16:05 skrev "andreea.ion" <and...@lr...>: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > <20120417-14:02:35, FIX.4.3:ZMH->PTE, event> (Created session: > FIX.4.3:ZMH->PTE) > Apr 17, 2012 5:02:35 PM quickfix.mina.initiator.IoSessionInitiator <init> > INFO: [FIX.4.3:ZMH->PTE] [/127.0.0.1:9879] > Apr 17, 2012 5:02:35 PM quickfix.mina.SessionConnector startSessionTimer > INFO: SessionTimer started > Apr 17, 2012 5:02:36 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:52271, > class org.apache.mina.transport.socket.nio.SocketSessionImpl, > remote=/127.0.0.1:9879 > <20120417-14:02:36, FIX.4.3:ZMH->PTE, outgoing> > (8=FIX.4.39=14235=A34=13649=ZMH52=20120417-14:02:36.72856=PTE58=hello141=Y553=username554=password98=0108=3010=039) > <20120417-14:02:36, FIX.4.3:ZMH->PTE, event> (Initiated logon request) > <20120417-14:02:45, 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) > <20120417-14:02:45, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket > exception (/127.0.0.1:9879): java.io.IOException: An existing connection was > forcibly closed by the remote host) > > > > > > This is the log with tag 58 also ....I can't see where is the error. > Can you help me? > Andreea > > -- > View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7473628.html > Sent from the QuickFIX/J mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |
|
From: Grant B. <gbi...@co...> - 2012-04-17 14:12:55
|
Can you send the message log instead of the event log? On Tue, Apr 17, 2012 at 9:05 AM, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > <20120417-14:02:35, FIX.4.3:ZMH->PTE, event> (Created session: > FIX.4.3:ZMH->PTE) > Apr 17, 2012 5:02:35 PM quickfix.mina.initiator.IoSessionInitiator <init> > INFO: [FIX.4.3:ZMH->PTE] [/127.0.0.1:9879] > Apr 17, 2012 5:02:35 PM quickfix.mina.SessionConnector startSessionTimer > INFO: SessionTimer started > Apr 17, 2012 5:02:36 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:52271, > class org.apache.mina.transport.socket.nio.SocketSessionImpl, > remote=/127.0.0.1:9879 > <20120417-14:02:36, FIX.4.3:ZMH->PTE, outgoing> > (8=FIX.4.3 9=142 35=A 34=136 49=ZMH 52=20120417-14:02:36.728 56=PTE > 58=hello 141=Y 553=username 554=password 98=0 108=30 10=039 ) > <20120417-14:02:36, FIX.4.3:ZMH->PTE, event> (Initiated logon request) > <20120417-14:02:45, 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) > <20120417-14:02:45, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket > exception (/127.0.0.1:9879): java.io.IOException: An existing connection > was > forcibly closed by the remote host) > > > > > > This is the log with tag 58 also ....I can't see where is the error. > Can you help me? > Andreea > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7473628.html > Sent from the QuickFIX/J mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Grant Birchmeier *Connamara Systems, LLC* *Made-To-Measure Trading Solutions.* Exactly what you need. No more. No less.* * http://connamara.com |
|
From: andreea.ion <and...@lr...> - 2012-04-18 06:44:59
|
I am running the quickfixj project under eclipse,jdk 7, windows on 64 bytes. The acceptor log is: SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/quickfixj/lib/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/lib/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/core/src/main/lib/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/core/src/main/lib/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/core/src/main/lib/java4/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/core/src/main/lib/java4/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. Apr 18, 2012 9:40:38 AM quickfix.examples.executor.Executor <init> INFO: Acceptor registered with JMX, name=org.quickfixj:type=Connector,role=Acceptor,id=1 <20120418-06:40:39, FIX.4.3:PTE->ZMH, event> (Session FIX.4.3:PTE->ZMH schedule is daily, 00:00:00-UTC - 00:00:00-UTC) <20120418-06:40:39, FIX.4.3:PTE->ZMH, event> (Created session: FIX.4.3:PTE->ZMH) <20120418-06:40:39, FIX.4.3:PTE->ZMH, event> (Valid order types: [2, F, 1]) Apr 18, 2012 9:40:39 AM quickfix.SessionSchedule <init> INFO: [FIX.4.3:PTE->ZMH] daily, 00:00:00-UTC - 00:00:00-UTC Apr 18, 2012 9:40:39 AM quickfix.mina.SessionConnector startSessionTimer INFO: SessionTimer started Apr 18, 2012 9:40:39 AM quickfix.mina.acceptor.AbstractSocketAcceptor installSSL INFO: Installing SSL filter for 0.0.0.0/0.0.0.0:9879 Apr 18, 2012 9:40:39 AM quickfix.mina.ssl.SSLContextFactory initializeKeyStore Apr 18, 2012 9:40:39 AM quickfix.mina.NetworkingOptions logOption INFO: Socket option: SocketTcpNoDelay=true Apr 18, 2012 9:40:39 AM quickfix.mina.NetworkingOptions logOption INFO: Socket option: SocketSynchronousWrites=false Apr 18, 2012 9:40:39 AM quickfix.mina.NetworkingOptions logOption INFO: Socket option: SocketSynchronousWriteTimeout=30000 Apr 18, 2012 9:40:39 AM quickfix.mina.acceptor.AbstractSocketAcceptor startAcceptingConnections INFO: Listening for connections at 0.0.0.0/0.0.0.0:9879 press <enter> to quit The log from the initiator is: SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/quickfixj/lib/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/lib/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/core/src/main/lib/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/core/src/main/lib/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/core/src/main/lib/java4/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/quickfixj/core/src/main/lib/java4/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. Apr 18, 2012 9:26:01 AM quickfix.SessionSchedule <init> INFO: [FIX.4.3:ZMH->PTE] daily, 00:00:00-UTC - 23:59:00-UTC <20120418-06:26:01, FIX.4.3:ZMH->PTE, event> (Session FIX.4.3:ZMH->PTE schedule is daily, 00:00:00-UTC - 23:59:00-UTC) <20120418-06:26:01, FIX.4.3:ZMH->PTE, event> (Session state is not current; resetting FIX.4.3:ZMH->PTE) <20120418-06:26:02, FIX.4.3:ZMH->PTE, event> (Created session: FIX.4.3:ZMH->PTE) Apr 18, 2012 9:26:02 AM quickfix.mina.NetworkingOptions logOption INFO: Socket option: SocketTcpNoDelay=true Apr 18, 2012 9:26:02 AM quickfix.mina.NetworkingOptions logOption INFO: Socket option: SocketSynchronousWrites=false Apr 18, 2012 9:26:02 AM quickfix.mina.NetworkingOptions logOption INFO: Socket option: SocketSynchronousWriteTimeout=30000 Apr 18, 2012 9:26:02 AM quickfix.mina.initiator.IoSessionInitiator <init> INFO: [FIX.4.3:ZMH->PTE] [/127.0.0.1:9879] Apr 18, 2012 9:26:02 AM quickfix.mina.SessionConnector startSessionTimer INFO: SessionTimer started Apr 18, 2012 9:26:03 AM quickfix.mina.initiator.InitiatorIoHandler sessionCreated INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:49534, class org.apache.mina.transport.socket.nio.SocketSessionImpl, remote=/127.0.0.1:9879 <20120418-06:26:04, FIX.4.3:ZMH->PTE, outgoing> (8=FIX.4.39=14035=A34=149=ZMH52=20120418-06:26:04.36256=PTE58=hello141=Y553=username554=password98=0108=3010=185) <20120418-06:26:04, FIX.4.3:ZMH->PTE, event> (Initiated logon request) <20120418-06:26:12, 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) <20120418-06:26:12, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket exception (/127.0.0.1:9879): java.io.IOException: An existing connection was forcibly closed by the remote host) Apr 18, 2012 9:26:23 AM quickfix.mina.initiator.InitiatorIoHandler sessionCreated INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:49541, class org.apache.mina.transport.socket.nio.SocketSessionImpl, remote=/127.0.0.1:9879 <20120418-06:26:23, FIX.4.3:ZMH->PTE, outgoing> (8=FIX.4.39=14035=A34=249=ZMH52=20120418-06:26:23.84456=PTE58=hello141=Y553=username554=password98=0108=3010=192) <20120418-06:26:23, FIX.4.3:ZMH->PTE, event> (Initiated logon request) <20120418-06:26:33, 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) <20120418-06:26:33, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket exception (/127.0.0.1:9879): java.io.IOException: An existing connection was forcibly closed by the remote host) Thank you, Andreea -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7475964.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: Grant B. <gbi...@co...> - 2012-04-18 16:38:57
|
Those are *event* logs. We need *message* logs. Message logs contain every message sent and received by your QF application. -Grant On Wed, Apr 18, 2012 at 1:44 AM, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > I am running the quickfixj project under eclipse,jdk 7, windows on 64 > bytes. > > The acceptor log is: > > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/lib/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/lib/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/core/src/main/lib/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/core/src/main/lib/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/core/src/main/lib/java4/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/core/src/main/lib/java4/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > Apr 18, 2012 9:40:38 AM quickfix.examples.executor.Executor <init> > INFO: Acceptor registered with JMX, > name=org.quickfixj:type=Connector,role=Acceptor,id=1 > <20120418-06:40:39, FIX.4.3:PTE->ZMH, event> (Session FIX.4.3:PTE->ZMH > schedule is daily, 00:00:00-UTC - 00:00:00-UTC) > <20120418-06:40:39, FIX.4.3:PTE->ZMH, event> (Created session: > FIX.4.3:PTE->ZMH) > <20120418-06:40:39, FIX.4.3:PTE->ZMH, event> (Valid order types: [2, F, > 1]) > Apr 18, 2012 9:40:39 AM quickfix.SessionSchedule <init> > INFO: [FIX.4.3:PTE->ZMH] daily, 00:00:00-UTC - 00:00:00-UTC > Apr 18, 2012 9:40:39 AM quickfix.mina.SessionConnector startSessionTimer > INFO: SessionTimer started > Apr 18, 2012 9:40:39 AM quickfix.mina.acceptor.AbstractSocketAcceptor > installSSL > INFO: Installing SSL filter for 0.0.0.0/0.0.0.0:9879 > Apr 18, 2012 9:40:39 AM quickfix.mina.ssl.SSLContextFactory > initializeKeyStore > Apr 18, 2012 9:40:39 AM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketTcpNoDelay=true > Apr 18, 2012 9:40:39 AM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketSynchronousWrites=false > Apr 18, 2012 9:40:39 AM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketSynchronousWriteTimeout=30000 > Apr 18, 2012 9:40:39 AM quickfix.mina.acceptor.AbstractSocketAcceptor > startAcceptingConnections > INFO: Listening for connections at 0.0.0.0/0.0.0.0:9879 > press <enter> to quit > > > > > > The log from the initiator is: > > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/lib/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/lib/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/core/src/main/lib/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/core/src/main/lib/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/core/src/main/lib/java4/slf4j-jdk14-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/C:/quickfixj/core/src/main/lib/java4/optional/slf4j-log4j12-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > Apr 18, 2012 9:26:01 AM quickfix.SessionSchedule <init> > INFO: [FIX.4.3:ZMH->PTE] daily, 00:00:00-UTC - 23:59:00-UTC > <20120418-06:26:01, FIX.4.3:ZMH->PTE, event> (Session FIX.4.3:ZMH->PTE > schedule is daily, 00:00:00-UTC - 23:59:00-UTC) > <20120418-06:26:01, FIX.4.3:ZMH->PTE, event> (Session state is not > current; > resetting FIX.4.3:ZMH->PTE) > <20120418-06:26:02, FIX.4.3:ZMH->PTE, event> (Created session: > FIX.4.3:ZMH->PTE) > Apr 18, 2012 9:26:02 AM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketTcpNoDelay=true > Apr 18, 2012 9:26:02 AM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketSynchronousWrites=false > Apr 18, 2012 9:26:02 AM quickfix.mina.NetworkingOptions logOption > INFO: Socket option: SocketSynchronousWriteTimeout=30000 > Apr 18, 2012 9:26:02 AM quickfix.mina.initiator.IoSessionInitiator <init> > INFO: [FIX.4.3:ZMH->PTE] [/127.0.0.1:9879] > Apr 18, 2012 9:26:02 AM quickfix.mina.SessionConnector startSessionTimer > INFO: SessionTimer started > Apr 18, 2012 9:26:03 AM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:49534, > class org.apache.mina.transport.socket.nio.SocketSessionImpl, > remote=/127.0.0.1:9879 > <20120418-06:26:04, FIX.4.3:ZMH->PTE, outgoing> > (8=FIX.4.3 9=140 35=A 34=1 49=ZMH 52=20120418-06:26:04.362 56=PTE > 58=hello 141=Y 553=username 554=password 98=0 108=30 10=185 ) > <20120418-06:26:04, FIX.4.3:ZMH->PTE, event> (Initiated logon request) > <20120418-06:26:12, 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) > <20120418-06:26:12, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket > exception (/127.0.0.1:9879): java.io.IOException: An existing connection > was > forcibly closed by the remote host) > Apr 18, 2012 9:26:23 AM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:49541, > class org.apache.mina.transport.socket.nio.SocketSessionImpl, > remote=/127.0.0.1:9879 > <20120418-06:26:23, FIX.4.3:ZMH->PTE, outgoing> > (8=FIX.4.3 9=140 35=A 34=2 49=ZMH 52=20120418-06:26:23.844 56=PTE > 58=hello 141=Y 553=username 554=password 98=0 108=30 10=192 ) > <20120418-06:26:23, FIX.4.3:ZMH->PTE, event> (Initiated logon request) > <20120418-06:26:33, 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) > <20120418-06:26:33, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket > exception (/127.0.0.1:9879): java.io.IOException: An existing connection > was > forcibly closed by the remote host) > > > > > Thank you, > Andreea > > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7475964.html > Sent from the QuickFIX/J mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Grant Birchmeier *Connamara Systems, LLC* *Made-To-Measure Trading Solutions.* Exactly what you need. No more. No less.* * http://connamara.com |
|
From: andreea.ion <and...@lr...> - 2012-04-18 21:13:19
|
I don't know which are the message logs, how can I see them? -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7478722.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: Grant B. <gbi...@co...> - 2012-04-18 21:22:12
|
The log file would end in something like "*.messages.current.log". It will contain nothing but FIX strings. See this page: http://quickfixn.org/tutorial/creating-an-application Note how FileLogFactory is given to the Acceptor's constructor. Your config file should have FileLogPath in it, to tell where the logs should go. -Grant On Wed, Apr 18, 2012 at 4:13 PM, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > I don't know which are the message logs, how can I see them? > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7478722.html > Sent from the QuickFIX/J mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Grant Birchmeier *Connamara Systems, LLC* *Made-To-Measure Trading Solutions.* Exactly what you need. No more. No less.* * http://connamara.com |
|
From: andreea.ion <and...@lr...> - 2012-04-19 13:32:59
|
There seems to be a problem because I don't have any files in the FileLogPath. I change the path to FileStorePath and FileLogPath to see if they change (to see if I configured ok the config file). And it worked with FileStorePath. So, now the problem is that I don't have log files. They are not generated. Can you tell me how can I improve the code to generate the log files? I don't know java. So I don't know if I am running this project ok. I made the following steps: in eclipse-> new java project -> import the jars and the *.java files and then config the initiator conf file -> build-> run. I am telling this because maybe there is an error regarding this. I looked at the configuration file in the project manual but there isn't much info there. I also tried a few more things and now I get an additional error: On the initiator side: Disconnecting: Socket exception (/192.168.2.184:9879): javax.net.ssl.SSLHandshakeException: SSL handshake failed.) And on the acceptor side also: INFO: Listening for connections at 0.0.0.0/0.0.0.0:9879 press <enter> to quit Apr 19, 2012 4:25:12 PM quickfix.mina.acceptor.AcceptorIoHandler sessionCreated INFO: MINA session created: /192.168.2.105:53724 Apr 19, 2012 4:25:12 PM quickfix.mina.AbstractIoHandler exceptionCaught SEVERE: Socket (/192.168.2.105:53724): javax.net.ssl.SSLHandshakeException: SSL handshake failed. javax.net.ssl.SSLHandshakeException: SSL handshake failed. I don't know what could be the cause Regards, Andreea -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7480624.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: Grant B. <gbi...@co...> - 2012-04-19 13:38:42
|
If you don't know Java, then I don't really understand what you are hoping to do. QF/J is not an application. It's a library. If you want to use QF/J, you will have to build an application in Java that makes calls into this library. If you don't know Java, I don't see how QF/J can be of any use to you. -Grant On Thu, Apr 19, 2012 at 8:32 AM, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > There seems to be a problem because I don't have any files in the > FileLogPath. I change the path to FileStorePath and FileLogPath to see if > they change (to see if I configured ok the config file). And it worked with > FileStorePath. > > So, now the problem is that I don't have log files. They are not generated. > Can you tell me how can I improve the code to generate the log files? > > > I don't know java. So I don't know if I am running this project ok. I made > the following steps: in eclipse-> new java project -> import the jars and > the *.java files and then config the initiator conf file -> build-> run. > I am telling this because maybe there is an error regarding this. I looked > at the configuration file in the project manual but there isn't much info > there. > > > > I also tried a few more things and now I get an additional error: > On the initiator side: > Disconnecting: Socket exception (/192.168.2.184:9879): > javax.net.ssl.SSLHandshakeException: SSL handshake failed.) > > And on the acceptor side also: > INFO: Listening for connections at 0.0.0.0/0.0.0.0:9879 > press <enter> to quit > Apr 19, 2012 4:25:12 PM quickfix.mina.acceptor.AcceptorIoHandler > sessionCreated > INFO: MINA session created: /192.168.2.105:53724 > Apr 19, 2012 4:25:12 PM quickfix.mina.AbstractIoHandler exceptionCaught > SEVERE: Socket (/192.168.2.105:53724): > javax.net.ssl.SSLHandshakeException: > SSL handshake failed. > javax.net.ssl.SSLHandshakeException: SSL handshake failed. > > > I don't know what could be the cause > > Regards, > Andreea > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7480624.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 > -- Grant Birchmeier *Connamara Systems, LLC* *Made-To-Measure Trading Solutions.* Exactly what you need. No more. No less.* * http://connamara.com |
|
From: andreea.ion <and...@lr...> - 2012-04-20 06:46:48
|
I know that I must develop an application that uses QJ/J but the first thing that I am trying to do is to make the connection with the third part. To send a logon message and receive the response. Can you help me with this thing? Regards, Andreea -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7483254.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: andreea.ion <and...@lr...> - 2012-04-20 06:49:21
|
And I know that QH/J offers an example of application (banzai and exec) with which tou can make this basic connection. -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7483262.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: Phill D. <phi...@sf...> - 2012-04-20 10:20:18
|
Hi Andreaa I just looked over your log file, can I ask in which order you are starting the initiator and acceptor (banzai and executor)? Looking at the log file the Acceptor is started at 6:40 (9:40 in your actual time) the log is claiming it is listening on the socket, however your initiator seems to be trying to login from 6:26 (9:26). I may be wrong but this is from your log: Acceptor - Apr 18, 2012 9:40:38 AM quickfix.examples.executor.Executor <init> INFO: Acceptor registered with JMX, name=org.quickfixj:type=Connector,role=Acceptor,id=1 <20120418-06:40:39, FIX.4.3:PTE->ZMH, event> (Session FIX.4.3:PTE->ZMH schedule is daily, 00:00:00-UTC - 00:00:00-UTC) Initiator - <20120418-06:26:04, FIX.4.3:ZMH->PTE, outgoing> (8=FIX.4.3 9=140 35=A 34=1 49=ZMH 52=20120418-06:26:04.362 56=PTE 58=hello 141=Y 553=username 554=password 98=0 108=30 10=185 ) <20120418-06:26:04, FIX.4.3:ZMH->PTE, event> (Initiated logon request) <20120418-06:26:12, 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) <20120418-06:26:12, FIX.4.3:ZMH->PTE, event> (Already disconnected: Socket exception (/127.0.0.1:9879): java.io.IOException: An existing connection was forcibly closed by the remote host) Apr 18, 2012 9:26:23 AM quickfix.mina.initiator.InitiatorIoHandler sessionCreated The initiator cannot login until the acceptor is ready. On 20 April 2012 07:49, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > And I know that QH/J offers an example of application (banzai and exec) > with > which tou can make this basic connection. > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7483262.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 ***************************************** |
|
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 ***************************************** |
|
From: andreea.ion <and...@lr...> - 2012-04-20 13:00:29
|
I have in Banzai.java the line that you mentioned: LogFactory logFactory = new ScreenLogFactory(true, true, true, logHeartbeats); I don't know why I am not geting any log files. Is there any place where i should set this (beside banzai.java -what you told me and config file where is set the FileLogPath)? Regards, Andreea -- View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7484274.html Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: Grant B. <gbi...@co...> - 2012-04-20 13:47:22
|
Change ScreenLogFactory to FileLogFactory. http://quickfixj.org/quickfixj/javadoc/1.5.1/quickfix/FileLogFactory.html On Fri, Apr 20, 2012 at 8:00 AM, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > I have in Banzai.java the line that you mentioned: > LogFactory logFactory = new ScreenLogFactory(true, true, true, > logHeartbeats); > > I don't know why I am not geting any log files. Is there any place where i > should set this (beside banzai.java -what you told me and config file where > is set the FileLogPath)? > > Regards, > Andreea > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7484274.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 > -- Grant Birchmeier *Connamara Systems, LLC* *Made-To-Measure Trading Solutions.* Exactly what you need. No more. No less.* * http://connamara.com |
|
From: Phill D. <phi...@sf...> - 2012-04-24 09:20:29
|
To create a custom application you would need to create a new class that implements the Application class. If you are familiar with Java this shouldn't be too difficult, see BanzaiApplication object for an example of this. If all you want to do is test a couple of messages and not have to write an application just add the extra functionality to the BanzaiApplication and add an extra button onto the Banzai Swing GUI However Banzai should work out of the box, which is puzzling that it is throwing this error (I am assuming you checked the FIX4.3.xml on the executor is the same as that on the server running banzai). Can you please give details of what was sent to the Executor from Banzai. * * On 24 April 2012 10:02, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Well I am not creating a message. I simply use that basic gui that banzai > has > in QF/J. Just for testing between my computers. > If I want to send a custom message do you know where should I write that > custom code? I will read in details the documentation but can you tell me > an > idea or give me an advice where to start. > > Regards, > Andreea > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7495096.html > Sent from the QuickFIX/J mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > 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 ***************************************** |
|
From: andreea.ion <and...@lr...> - 2012-04-24 10:39:58
|
Thanks for the advice.
Regarding the error: 58=Missing required field 453 for message type D
(dictionary:FX2B-FIX.4.3)
The default settings for FIX43.xml for the NewSingleOrder is regarding this
tag is:
<message name="NewOrderSingle" msgtype="D" msgcat="app">
<field name="ClOrdID" required="Y" />
<field name="SecondaryClOrdID" required="N" />
<field name="ClOrdLinkID" required="Y" />
<component name="Parties" required="N" />
........ and so on
And I change the last line with: <component name="Parties" required="Y" />
so I suppose that all the components from "Parties" are set to Y also
.Right?
<component name="Parties">
<group name="NoPartyIDs" required="N">
<field name="PartyID" required="N" />
<field name="PartyIDSource" required="N" />
<field name="PartyRole" required="N" />
<field name="PartySubID" required="N" />
</group>
</component>
And the message is not send. Is rejected with this description :
58=Missing required field 453 for message type D (dictionary:FX2B-FIX.4.3)
Regards,
Andreea
--
View this message in context: http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7495392.html
Sent from the QuickFIX/J mailing list archive at Nabble.com.
|
|
From: Phill D. <phi...@sf...> - 2012-04-20 11:32:16
|
Hi Andreea Does the acceptor generate a log file - what are the contents, we are only seeing one side of this connection yet both are running on your server. We need to know if the acceptor is receiving the logon message and what is happening on both sides. Also in that last error the message was invalid as there was no delimiter between the password and encrypt method tags (554 and 98 fields). Really we need to see a log file from the initiator and then one from the acceptor. Also just for neatness please change the acceptor config endtime to something other than 00:00:00 ie 23:59:59. The puzzling thing is before you got a response to your login. On 20 April 2012 12:19, andreea.ion <and...@lr...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Sorry for the confusion, but yes we are back to the original error. I > always > start the acceptor first and then the initiator. What I 'he changed in the > initiator config file where some logging settings but I remove them because > I thought that I can make the app generate the log files (logs that are not > generated in the FileLogPath that I set). > > I have made some tests and yes this is the error that appears constantly (I > have also added tag 141=Y): > Apr 20, 2012 2:17:53 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created for FIX.4.3:ZMH->PTE: local=/127.0.0.1:57078, > class org.apache.mina.transport.socket.nio.SocketSessionImpl, > remote=/127.0.0.1:9879 > <20120420-11:17:53, FIX.4.3:ZMH->PTE, outgoing> > (8=FIX.4.3 9=131 35=A 34=1 49=ZMH 52=20120420-11:17:53.422 56=PTE > 553=username 554=pass98=0 108=30 141=Y 10=240 ) > <20120420-11:17:53, FIX.4.3:ZMH->PTE, event> (Initiated logon request) > <20120420-11:17:53, 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) > > > -- > View this message in context: > http://quickfix-j.364392.n2.nabble.com/58-Conditionally-Required-Field-Missing-35-tp5647317p7484019.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 ***************************************** |
|
From: andreea.ion <and...@lr...> - 2012-04-20 11:59:29
|
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.39=13135=A34=149=ZMH52=20120420-11:50:47.48456=PTE553=username554=pass98=0108=30141=Y10=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. |