[QFJ-655] How to run examples? Created: 28/Nov/11  Updated: 02/Aug/12  Resolved: 02/Aug/12

Status: Closed
Project: QuickFIX/J
Component/s: Examples
Affects Version/s: 1.5.1
Fix Version/s: None

Type: Other Priority: Default
Reporter: caowei Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: QuickfixJ
Environment:

win32/java5/eclipse3.4.2



 Description   

I run Banzai.java, no sessionID in combox and show "FIX.4.2:BANZAI->EXEC, error> (java.net.ConnectException: java.net.ConnectException: Connection refused: no further information (Next retry in 30000 milliseconds))" message in console.

[default]
FileStorePath=examples/target/data/banzai
ConnectionType=initiator
SenderCompID=BANZAI
TargetCompID=EXEC
SocketConnectHost=localhost
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=30
ReconnectInterval=30

[session]
BeginString=FIX.4.2
SocketConnectPort=9876

How to run these examples? anywhere need to change?



 Comments   
Comment by Christoph John [ 28/Nov/11 ]

The Banzai program only initiates a connection (FIX initiator). You also need to have another FIX process that listens for connections (FIX acceptor). The example program "Executor" could serve for this purpose.

Generated at Sat Nov 23 09:21:28 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.