Hi Chamila, Yes I have added those files to <quickfix-home>/etc directory and also changed the FileStorePath attribute as appropriate. Though the config error is not prompted immediately. Following is the full error log that appears.
SEVERE: Logon failed quickfix.ConfigError: no initiators in settings at quickfix.mina.initiator.AbstractSocketInitiator.createSessions(AbstractSocketInitiator.java:176) at quickfix.mina.initiator.AbstractSocketInitiator.createSessionInitiators(AbstractSocketInitiator.java:84) at quickfix.SocketInitiator.initialize(SocketInitiator.java:86) at quickfix.SocketInitiator.start(SocketInitiator.java:64) at quickfix.examples.banzai.Banzai.logon(Banzai.java:96) at quickfix.examples.banzai.Banzai.main(Banzai.java:138) Thanks, On Wed, Oct 1, 2014 at 9:13 AM, Chamila De Alwis <[email protected]> wrote: > Did you write the following cfg files in the <quickfixj-home>/etc/ > directory? I checked my setup, and the FileStorePath attributes in both > executor.cfg and banzair.cfg points to their respective folders in the data > directory within <quickfixj-home>, not to the location the sample page > mentions. But I wasn't able to reproduce your error by changing values or > removing the files. Does the config error come immediately after executing > banzai.sh or is it sort of a timeout for the executor service to come > online? > > *<quickfixj-home>/etc/banzai.cfg* > > [default] > FileStorePath=../data/banzai > ConnectionType=initiator > SenderCompID=BANZAI > TargetCompID=SYNAPSE > SocketConnectHost=localhost > StartTime=00:00:00 > EndTime=00:00:00 > HeartBtInt=30 > ReconnectInterval=5 > > [session] > BeginString=FIX.4.0 > SocketConnectPort=9876 > > > *<quickfixj-home>/etc/executor.cfg* > > [default] > FileStorePath=../data/executor > ConnectionType=acceptor > StartTime=00:00:00 > EndTime=00:00:00 > HeartBtInt=30 > ValidOrderTypes=1,2,F > SenderCompID=EXEC > TargetCompID=SYNAPSE > UseDataDictionary=Y > DefaultMarketPrice=12.30 > > [session] > BeginString=FIX.4.0 > SocketAcceptPort=19876 > > > > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > > On Wed, Oct 1, 2014 at 7:29 AM, Himasha Guruge <[email protected]> wrote: > >> HI All, >> >> In ESB samples,Proxy service with FIX transport sample[1] requires some >> configurations with quickfixj. Under heading ,configuring sample FIX >> application, it states to execute the sample apps(Executor and Banzai) by >> running their .sh files. >> >> When running the command for banzai.sh, console prompts a login failure >> with the following configuration error "quickfix.ConfigError: no initiators >> in settings." >> >> I have followed the instructions of this sample and all other >> configurations are done as it is. I'm using quickfixj 1.5.3. Is this an >> issue with the session creation missing some attributes? Any solution for >> this? >> >> [1.] >> https://docs.wso2.com/display/ESB480/Sample+257%3A+Proxy+Services+with+the+FIX+Transport >> >> Thanks & Regards, >> >> Himasha Guruge >> *Software Engineer* >> WS*O2* *Inc.* >> Mobile: +94 777459299 >> [email protected] >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- Himasha Guruge *Software Engineer* WS*O2* *Inc.* Mobile: +94 777459299 [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
