You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(13) |
Jun
(21) |
Jul
(14) |
Aug
(29) |
Sep
(39) |
Oct
(47) |
Nov
(70) |
Dec
(27) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(43) |
Feb
(50) |
Mar
(90) |
Apr
(96) |
May
(84) |
Jun
(40) |
Jul
(58) |
Aug
(55) |
Sep
(55) |
Oct
(52) |
Nov
(38) |
Dec
(75) |
| 2008 |
Jan
(49) |
Feb
(72) |
Mar
(49) |
Apr
(55) |
May
(21) |
Jun
(31) |
Jul
(47) |
Aug
(59) |
Sep
(59) |
Oct
(77) |
Nov
(51) |
Dec
(54) |
| 2009 |
Jan
(52) |
Feb
(57) |
Mar
(17) |
Apr
(27) |
May
(44) |
Jun
(46) |
Jul
(69) |
Aug
(38) |
Sep
(39) |
Oct
(45) |
Nov
(38) |
Dec
(37) |
| 2010 |
Jan
(49) |
Feb
(35) |
Mar
(21) |
Apr
(33) |
May
(52) |
Jun
(28) |
Jul
(39) |
Aug
(34) |
Sep
(21) |
Oct
(82) |
Nov
(36) |
Dec
(20) |
| 2011 |
Jan
(28) |
Feb
(64) |
Mar
(93) |
Apr
(75) |
May
(151) |
Jun
(77) |
Jul
(35) |
Aug
(53) |
Sep
(56) |
Oct
(36) |
Nov
(94) |
Dec
(59) |
| 2012 |
Jan
(105) |
Feb
(43) |
Mar
(68) |
Apr
(91) |
May
(45) |
Jun
(18) |
Jul
(103) |
Aug
(77) |
Sep
(45) |
Oct
(59) |
Nov
(58) |
Dec
(43) |
| 2013 |
Jan
(48) |
Feb
(65) |
Mar
(63) |
Apr
(22) |
May
(41) |
Jun
(60) |
Jul
(43) |
Aug
(17) |
Sep
(20) |
Oct
(20) |
Nov
(42) |
Dec
(43) |
| 2014 |
Jan
(54) |
Feb
(34) |
Mar
(34) |
Apr
(20) |
May
(31) |
Jun
(39) |
Jul
(66) |
Aug
(22) |
Sep
(52) |
Oct
(22) |
Nov
(67) |
Dec
(70) |
| 2015 |
Jan
(18) |
Feb
(5) |
Mar
(40) |
Apr
(32) |
May
(62) |
Jun
(28) |
Jul
(86) |
Aug
(44) |
Sep
(61) |
Oct
(65) |
Nov
(8) |
Dec
(19) |
| 2016 |
Jan
(50) |
Feb
(22) |
Mar
(38) |
Apr
(55) |
May
(30) |
Jun
(42) |
Jul
(11) |
Aug
(9) |
Sep
(4) |
Oct
(51) |
Nov
(38) |
Dec
(31) |
| 2017 |
Jan
(40) |
Feb
(40) |
Mar
(23) |
Apr
(35) |
May
(121) |
Jun
(55) |
Jul
(37) |
Aug
(16) |
Sep
(27) |
Oct
(109) |
Nov
(67) |
Dec
(23) |
| 2018 |
Jan
(52) |
Feb
(6) |
Mar
(23) |
Apr
(28) |
May
(32) |
Jun
(20) |
Jul
(20) |
Aug
(22) |
Sep
(8) |
Oct
(33) |
Nov
(32) |
Dec
(13) |
| 2019 |
Jan
(16) |
Feb
(29) |
Mar
(17) |
Apr
(16) |
May
(1) |
Jun
(2) |
Jul
(25) |
Aug
(50) |
Sep
(17) |
Oct
(29) |
Nov
(16) |
Dec
(7) |
| 2020 |
Jan
|
Feb
|
Mar
(29) |
Apr
(64) |
May
(25) |
Jun
(49) |
Jul
(15) |
Aug
(10) |
Sep
(37) |
Oct
(20) |
Nov
(19) |
Dec
(9) |
| 2021 |
Jan
(33) |
Feb
(10) |
Mar
(67) |
Apr
(40) |
May
(70) |
Jun
(33) |
Jul
(14) |
Aug
(10) |
Sep
|
Oct
(7) |
Nov
(6) |
Dec
(16) |
| 2022 |
Jan
(27) |
Feb
(2) |
Mar
(5) |
Apr
(3) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(6) |
Oct
(2) |
Nov
|
Dec
(10) |
| 2023 |
Jan
(1) |
Feb
(2) |
Mar
(21) |
Apr
(3) |
May
(15) |
Jun
(3) |
Jul
(4) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
(1) |
| 2024 |
Jan
(7) |
Feb
(2) |
Mar
(8) |
Apr
(11) |
May
(6) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2025 |
Jan
(10) |
Feb
(4) |
Mar
(9) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Christoph J. <chr...@ma...> - 2020-03-30 12:55:43
|
I guess the solution is the same as before, but probably you need to include another JAR file. I guess quickfixj-core. On 30.03.20 13:34, Fuad Azhar wrote: > QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ > QuickFIX/J Support:http://www.quickfixj.org/support/ > > > > Hi thanks for answer that my problem about JNI... now i have different error from my apps. > i have add quickfixj-messages-fix42.2.1.1.jar but when i try run my apps i have problem like this one > > Exception in thread "main" java.lang.NoClassDefFoundError: quickfix/MessageStoreFactory > at com.dxtr.fastmatch.FastmatchMDRequest.<init>(FastmatchMDRequest.java:14) > at com.dxtr.fastmatch.FastmatchMDRequest.main(FastmatchMDRequest.java:19) > Caused by: java.lang.ClassNotFoundException: quickfix.MessageStoreFactory > at java.net.URLClassLoader.findClass(URLClassLoader.java:382) > at java.lang.ClassLoader.loadClass(ClassLoader.java:418) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) > at java.lang.ClassLoader.loadClass(ClassLoader.java:351) > ... 2 more > > how to solved my problem ? > > Pada tanggal Sen, 30 Mar 2020 pukul 18.04 Aidan Nutley <an...@fi... > <mailto:an...@fi...>> menulis: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > Hi, > > Take a look > https://stackoverflow.com/questions/22381202/a-jni-error-has-occurred-please-check-your-installation-and-try-again-in-eclips > > Thanks > Aidan > |
|
From: Fuad A. <fua...@gm...> - 2020-03-30 12:46:14
|
i have add quickfixj-message-fix42.2.1.1.jar also quickfixj-core and all of required but when i run i got that error again and again... how to fix it Pada tanggal Sen, 30 Mar 2020 pukul 19.40 Christoph John < chr...@ma...> menulis: > I guess the solution is the same as before, but probably you need to > include another JAR file. I guess quickfixj-core. > > > On 30.03.20 13:34, Fuad Azhar wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hi thanks for answer that my problem about JNI... now i have different > error from my apps. > i have add quickfixj-messages-fix42.2.1.1.jar but when i try run my apps i > have problem like this one > > Exception in thread "main" java.lang.NoClassDefFoundError: > quickfix/MessageStoreFactory > at > com.dxtr.fastmatch.FastmatchMDRequest.<init>(FastmatchMDRequest.java:14) > at > com.dxtr.fastmatch.FastmatchMDRequest.main(FastmatchMDRequest.java:19) > Caused by: java.lang.ClassNotFoundException: quickfix.MessageStoreFactory > at java.net.URLClassLoader.findClass(URLClassLoader.java:382) > at java.lang.ClassLoader.loadClass(ClassLoader.java:418) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) > at java.lang.ClassLoader.loadClass(ClassLoader.java:351) > ... 2 more > > how to solved my problem ? > > Pada tanggal Sen, 30 Mar 2020 pukul 18.04 Aidan Nutley < > an...@fi...> menulis: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >> http://www.quickfixj.org/support/ >> >> >> Hi, >> >> Take a look >> >> https://stackoverflow.com/questions/22381202/a-jni-error-has-occurred-please-check-your-installation-and-try-again-in-eclips >> >> Thanks >> Aidan >> > > |
|
From: Fuad A. <fua...@gm...> - 2020-03-30 11:34:37
|
Hi thanks for answer that my problem about JNI... now i have different
error from my apps.
i have add quickfixj-messages-fix42.2.1.1.jar but when i try run my apps i
have problem like this one
Exception in thread "main" java.lang.NoClassDefFoundError:
quickfix/MessageStoreFactory
at
com.dxtr.fastmatch.FastmatchMDRequest.<init>(FastmatchMDRequest.java:14)
at
com.dxtr.fastmatch.FastmatchMDRequest.main(FastmatchMDRequest.java:19)
Caused by: java.lang.ClassNotFoundException: quickfix.MessageStoreFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 2 more
how to solved my problem ?
Pada tanggal Sen, 30 Mar 2020 pukul 18.04 Aidan Nutley <
an...@fi...> menulis:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support:
> http://www.quickfixj.org/support/
>
>
> Hi,
>
> Take a look
>
> https://stackoverflow.com/questions/22381202/a-jni-error-has-occurred-please-check-your-installation-and-try-again-in-eclips
>
> Thanks
> Aidan
>
> -----Original Message-----
> From: Fuadazhar73 <fua...@gm...>
> Sent: 30 March 2020 04:56
> To: qui...@li...
> Subject: [Quickfixj-users] Problem with my quickfixj application for send
> market data request
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support:
> http://www.quickfixj.org/support/
>
>
> Good Morning All of member quickFixj i am new here for quickfixj.
>
> i have quickfixj project for market data request. but when i try to run my
> application there is error about [ec2-user fastmatch_server_new]$ java -jar
> fastmatchmarketdata-0.0.1-SNAPSHOT.jar
> Error: A JNI error has occurred, please check your installation and try
> again Exception in thread "main" java.lang.NoClassDefFoundError:
> quickfix/SessionNotFound
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
> at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
> at java.lang.Class.getMethod0(Class.java:3018)
> at java.lang.Class.getMethod(Class.java:1784)
> at
> sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
> at
> sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
> Caused by: java.lang.ClassNotFoundException: quickfix.SessionNotFound
> at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
> ... 7 more
>
> this is my main class for this application
>
> package com.dxtr.marketdatarequest.fastmatchmarketdata;
>
> import java.io.FileInputStream;
> import java.io.InputStream;
> import java.util.UUID;
>
> import quickfix.Initiator;
> import quickfix.*;
> import quickfix.fix42.*;
> import quickfix.LogFactory;
> import quickfix.Application;
> import quickfix.ConfigError;
> import quickfix.DefaultMessageFactory;
> import quickfix.FileLogFactory;
> import quickfix.FileStoreFactory;
> import quickfix.Message.Header;
> import quickfix.MessageFactory;
> import quickfix.Session;
> import quickfix.SessionID;
> import quickfix.SessionNotFound;
> import quickfix.SessionSettings;
> import quickfix.SocketInitiator;
> import quickfix.field.BeginString;
> import quickfix.field.HeartBtInt;
> import quickfix.field.MDEntryType;
> import quickfix.field.MDReqID;
> import quickfix.field.MarketDepth;
> import quickfix.field.MsgType;
> import quickfix.field.NoMDEntryTypes;
> import quickfix.field.ResetSeqNumFlag;
> import quickfix.field.SenderCompID;
> import quickfix.field.SubscriptionRequestType;
> import quickfix.field.Symbol;
> import quickfix.field.TargetCompID;
> import quickfix.fix42.Message;
>
> public class FastmatchMDRequest {
> public static void main(String[] args) {
> SocketInitiator socketInitiator = null;
> try {
> SessionSettings sessionSettings = new
> SessionSettings("/home/ec2-user/fastmatch_server_new/FIXQuote2.cfg");
> Application application = new TestMarketdataRequest();
> FileStoreFactory fileStoreFactory = new
> FileStoreFactory(sessionSettings);
> FileLogFactory logFactory = new
> FileLogFactory(sessionSettings);
> MessageFactory messageFactory = new DefaultMessageFactory();
> socketInitiator = new SocketInitiator(application,
> fileStoreFactory, sessionSettings, logFactory,
> messageFactory);
> socketInitiator.start();
> SessionID sessionId = socketInitiator.getSessions().get(0);
> sendMarkeDataRequest(sessionId);
> int i = 0;
> do {
> try {
> Thread.sleep(1000);
> System.out.println(socketInitiator.isLoggedOn());
> } catch (InterruptedException e) {
> e.printStackTrace();
> }
> i++;
> } while ((!socketInitiator.isLoggedOn()) && (i < 30));
> } catch (ConfigError e) {
> e.printStackTrace();
> } catch (SessionNotFound e) {
> e.printStackTrace();
> } catch (Exception exp) {
> exp.printStackTrace();
> } finally {
> if (socketInitiator != null) {
> socketInitiator.stop(true);
> }
> }
> }
> private static void sendMarkeDataRequest(SessionID sessionId)
> throws SessionNotFound {
> UUID uuid = UUID.randomUUID();
> String randomUUIDString = uuid.toString();
> Message message = new Message();
> quickfix.fix42.MarketDataRequest.NoMDEntryTypes group =
> new quickfix.fix42.MarketDataRequest.NoMDEntryTypes();
> quickfix.fix42.MarketDataRequest.NoRelatedSym group1 =
> new quickfix.fix42.MarketDataRequest.NoRelatedSym();
> MarketDataRequest marketdatarequest = new MarketDataRequest();
> Header header = marketdatarequest.getHeader();
> header.setField(new BeginString("FIX.4.2"));
> header.setField(new SenderCompID("MDValueTrade2UAT1"));
> header.setField(new TargetCompID("Fastmatch1"));
> header.setField(new MsgType("V"));
> message.setField(new MDReqID(randomUUIDString));
> message.setField(new SubscriptionRequestType((char) 1));
> message.setField(new MarketDepth(1));
> message.setField(new NoMDEntryTypes(1));
> group.setField(new MDEntryType((char) 1));
> message.addGroup(group);
> group1.setField(new Symbol("ALL"));
> message.addGroup(group1);
> try
> {
> Session.sendToTarget(message);
> System.out.println("message" + message);
> }catch (Exception ex)
> {
> System.out.println("error" + ex);
> }
> }
> }
>
>
> and this is my application for quickfixj
>
> package com.dxtr.marketdatarequest.fastmatchmarketdata;
>
> import quickfix.*;
> import quickfix.Message.Header;
> import quickfix.field.*;
> import quickfix.fix42.*;
> import quickfix.fix42.Message;
> import quickfix.MessageFactory;
>
> public class TestMarketdataRequest implements Application {
>
> public void fromAdmin(quickfix.Message message, SessionID sessionID)
> throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, RejectLogon {
> // TODO Auto-generated method stub
> System.out.println("Successfully called fromAdmin for sessionId : "
> + message);
> }
>
> public void fromApp(quickfix.Message message, SessionID sessionID)
> throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue,
> UnsupportedMessageType {
> // TODO Auto-generated method stub
> System.out.println("Successfully called fromApp for sessionId : "
> + message);
> }
> public void onCreate(SessionID sessionID) {
> // TODO Auto-generated method stub
> System.out.println("Successfully called onCreate for sessionId : "
> + sessionID);
> }
>
> public void onLogon(SessionID sessionID) {
> // TODO Auto-generated method stub
> System.out.println("Successfully logged on for sessionId : " + sessionID);
> }
>
> public void onLogout(SessionID sessionID) {
> // TODO Auto-generated method stub
> System.out.println("Successfully logged out for sessionId : " + sessionID);
> }
>
> public void toAdmin(quickfix.Message message, SessionID sessionID) {
> // TODO Auto-generated method stub
> System.out.println("Inside toAdmin");
> }
>
> public void toApp(quickfix.Message message, SessionID sessionID) throws
> DoNotSend {
> // TODO Auto-generated method stub
> System.out.println("Message : " + message + " for sessionid : " +
> sessionID);
> }
>
> public void onMessage(MarketDataIncrementalRefresh message, SessionID
> sessionID)
> throws FieldNotFound, UnsupportedMessageType,
> IncorrectTagValue {
> System.out.println("Inside onMessage for New Order Single" +
> message
> + sessionID);
> }
> public void MarketDataIncrementalRefresh (Message message, SessionID
> sessionID) throws FieldNotFound{
> try
> {
> MDReqID mdreqid = new MDReqID();
> SendingTime sendingtime = new SendingTime();
> NoMDEntries nomdentries = new NoMDEntries();
> quickfix.fix42.MarketDataIncrementalRefresh.NoMDEntries
> group
> = new
> quickfix.fix42.MarketDataIncrementalRefresh.NoMDEntries();
> MDUpdateAction mdupdateaction = new MDUpdateAction();
> DeleteReason deletereason = new DeleteReason();
> MDEntryType mdentrytype = new MDEntryType();
> MDEntryID mdentryid = new MDEntryID();
> Symbol symbol = new Symbol();
> MDEntryOriginator mdentryoriginator = new
> MDEntryOriginator();
> MDEntryPx mdentrypx = new MDEntryPx();
> Currency currency = new Currency();
> MDEntrySize mdentrysize = new MDEntrySize();
> ExpireDate expiredate = new ExpireDate();
> ExpireTime expiretime = new ExpireTime();
> NumberOfOrders numberoforders = new NumberOfOrders();
> MDEntryPositionNo mdentrypositionno = new
> MDEntryPositionNo();
>
> message.getField(nomdentries);
> message.getField(sendingtime);
>
> message.getGroup(1, group);
>
> int list = nomdentries.getValue();
> for (int i = 0; i < list; i++)
> {
> message.getGroup(i + 1, group);
> group.get(mdupdateaction);
> if (mdupdateaction.getValue() == '2')
> System.out.println("Enter");
> group.get(deletereason);
> group.get(mdentrytype);
> group.get(mdentryid);
> group.get(symbol);
> group.get(mdentryoriginator);
> if (mdupdateaction.getValue() == '0')
> group.get(mdentrypx);
> group.get(currency);
> if (mdupdateaction.getValue() == '0')
> group.get(mdentrysize);
> }
>
> System.out.printf("Got Symbol {0} Price {1}",
> symbol.getValue(), mdentrypx.getValue());
>
> }catch (Exception ex)
> {
> System.out.println("error" + ex);
> }
> }
> public void MarketDataSnapshotFullRefresh (Message message, SessionID
> sessionID) throws FieldNotFound{
>
> String Symbol = message.getField(new Symbol()).getValue();
>
> NoMDEntries noMDEntries = new NoMDEntries();
> message.getField(noMDEntries);
> quickfix.fix42.MarketDataSnapshotFullRefresh.NoMDEntries group =
> new quickfix.fix42.MarketDataSnapshotFullRefresh.NoMDEntries();
> MDEntryType MDEntryType = new MDEntryType();
> MDEntryPx MDEntryPx = new MDEntryPx();
> MDEntrySize MDEntrySize = new MDEntrySize();
> SendingTime sendingTime = new SendingTime();
>
> message.getField(sendingTime);
>
> message.getGroup(1, group);
> group.get(MDEntryType);
> group.get(MDEntryPx);
> group.get(MDEntrySize);
>
> message.getGroup(2, group);
> group.get(MDEntryType);
> group.get(MDEntryPx);
> group.get(MDEntrySize);
>
> System.out.printf("Symbol {0} Price {1}", Symbol, MDEntryPx);
> }
>
> }
>
> so how to fix my problem ? please help me for fix my problem. your help
> very appreciate
>
> best regards,
>
> Fuad
>
>
>
> --
> Sent from: http://quickfix-j.364392.n2.nabble.com/
>
>
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
> ***********************************************************************************************************************************************************************
> This email, its contents and any files attached are a confidential
> communication and are intended only for the named addressees indicated in
> the message. If you are not the named addressee or if you have received
> this email in error, you may not, without the consent of First Derivatives,
> copy, use or rely on any information or attachments in any way. Please
> notify the sender by return email and delete it from your email system.
> Unless separately agreed, First Derivatives does not accept any
> responsibility for the accuracy or completeness of the contents of this
> email or its attachments. Please note that any views, opinion or advice
> contained in this communication are those of the sending individual and not
> those of First Derivatives and First Derivatives shall have no liability
> whatsoever in relation to this communication (or its content) unless
> separately agreed.
>
> ***********************************************************************************************************************************************************************
>
>
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
|
|
From: Aidan N. <an...@fi...> - 2020-03-30 11:02:09
|
Hi, Take a look https://stackoverflow.com/questions/22381202/a-jni-error-has-occurred-please-check-your-installation-and-try-again-in-eclips Thanks Aidan -----Original Message----- From: Fuadazhar73 <fua...@gm...> Sent: 30 March 2020 04:56 To: qui...@li... Subject: [Quickfixj-users] Problem with my quickfixj application for send market data request QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Good Morning All of member quickFixj i am new here for quickfixj. i have quickfixj project for market data request. but when i try to run my application there is error about [ec2-user fastmatch_server_new]$ java -jar fastmatchmarketdata-0.0.1-SNAPSHOT.jar Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: quickfix/SessionNotFound at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetMethodRecursive(Class.java:3048) at java.lang.Class.getMethod0(Class.java:3018) at java.lang.Class.getMethod(Class.java:1784) at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526) Caused by: java.lang.ClassNotFoundException: quickfix.SessionNotFound at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 7 more this is my main class for this application package com.dxtr.marketdatarequest.fastmatchmarketdata; import java.io.FileInputStream; import java.io.InputStream; import java.util.UUID; import quickfix.Initiator; import quickfix.*; import quickfix.fix42.*; import quickfix.LogFactory; import quickfix.Application; import quickfix.ConfigError; import quickfix.DefaultMessageFactory; import quickfix.FileLogFactory; import quickfix.FileStoreFactory; import quickfix.Message.Header; import quickfix.MessageFactory; import quickfix.Session; import quickfix.SessionID; import quickfix.SessionNotFound; import quickfix.SessionSettings; import quickfix.SocketInitiator; import quickfix.field.BeginString; import quickfix.field.HeartBtInt; import quickfix.field.MDEntryType; import quickfix.field.MDReqID; import quickfix.field.MarketDepth; import quickfix.field.MsgType; import quickfix.field.NoMDEntryTypes; import quickfix.field.ResetSeqNumFlag; import quickfix.field.SenderCompID; import quickfix.field.SubscriptionRequestType; import quickfix.field.Symbol; import quickfix.field.TargetCompID; import quickfix.fix42.Message; public class FastmatchMDRequest { public static void main(String[] args) { SocketInitiator socketInitiator = null; try { SessionSettings sessionSettings = new SessionSettings("/home/ec2-user/fastmatch_server_new/FIXQuote2.cfg"); Application application = new TestMarketdataRequest(); FileStoreFactory fileStoreFactory = new FileStoreFactory(sessionSettings); FileLogFactory logFactory = new FileLogFactory(sessionSettings); MessageFactory messageFactory = new DefaultMessageFactory(); socketInitiator = new SocketInitiator(application, fileStoreFactory, sessionSettings, logFactory, messageFactory); socketInitiator.start(); SessionID sessionId = socketInitiator.getSessions().get(0); sendMarkeDataRequest(sessionId); int i = 0; do { try { Thread.sleep(1000); System.out.println(socketInitiator.isLoggedOn()); } catch (InterruptedException e) { e.printStackTrace(); } i++; } while ((!socketInitiator.isLoggedOn()) && (i < 30)); } catch (ConfigError e) { e.printStackTrace(); } catch (SessionNotFound e) { e.printStackTrace(); } catch (Exception exp) { exp.printStackTrace(); } finally { if (socketInitiator != null) { socketInitiator.stop(true); } } } private static void sendMarkeDataRequest(SessionID sessionId) throws SessionNotFound { UUID uuid = UUID.randomUUID(); String randomUUIDString = uuid.toString(); Message message = new Message(); quickfix.fix42.MarketDataRequest.NoMDEntryTypes group = new quickfix.fix42.MarketDataRequest.NoMDEntryTypes(); quickfix.fix42.MarketDataRequest.NoRelatedSym group1 = new quickfix.fix42.MarketDataRequest.NoRelatedSym(); MarketDataRequest marketdatarequest = new MarketDataRequest(); Header header = marketdatarequest.getHeader(); header.setField(new BeginString("FIX.4.2")); header.setField(new SenderCompID("MDValueTrade2UAT1")); header.setField(new TargetCompID("Fastmatch1")); header.setField(new MsgType("V")); message.setField(new MDReqID(randomUUIDString)); message.setField(new SubscriptionRequestType((char) 1)); message.setField(new MarketDepth(1)); message.setField(new NoMDEntryTypes(1)); group.setField(new MDEntryType((char) 1)); message.addGroup(group); group1.setField(new Symbol("ALL")); message.addGroup(group1); try { Session.sendToTarget(message); System.out.println("message" + message); }catch (Exception ex) { System.out.println("error" + ex); } } } and this is my application for quickfixj package com.dxtr.marketdatarequest.fastmatchmarketdata; import quickfix.*; import quickfix.Message.Header; import quickfix.field.*; import quickfix.fix42.*; import quickfix.fix42.Message; import quickfix.MessageFactory; public class TestMarketdataRequest implements Application { public void fromAdmin(quickfix.Message message, SessionID sessionID) throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, RejectLogon { // TODO Auto-generated method stub System.out.println("Successfully called fromAdmin for sessionId : " + message); } public void fromApp(quickfix.Message message, SessionID sessionID) throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, UnsupportedMessageType { // TODO Auto-generated method stub System.out.println("Successfully called fromApp for sessionId : " + message); } public void onCreate(SessionID sessionID) { // TODO Auto-generated method stub System.out.println("Successfully called onCreate for sessionId : " + sessionID); } public void onLogon(SessionID sessionID) { // TODO Auto-generated method stub System.out.println("Successfully logged on for sessionId : " + sessionID); } public void onLogout(SessionID sessionID) { // TODO Auto-generated method stub System.out.println("Successfully logged out for sessionId : " + sessionID); } public void toAdmin(quickfix.Message message, SessionID sessionID) { // TODO Auto-generated method stub System.out.println("Inside toAdmin"); } public void toApp(quickfix.Message message, SessionID sessionID) throws DoNotSend { // TODO Auto-generated method stub System.out.println("Message : " + message + " for sessionid : " + sessionID); } public void onMessage(MarketDataIncrementalRefresh message, SessionID sessionID) throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue { System.out.println("Inside onMessage for New Order Single" + message + sessionID); } public void MarketDataIncrementalRefresh (Message message, SessionID sessionID) throws FieldNotFound{ try { MDReqID mdreqid = new MDReqID(); SendingTime sendingtime = new SendingTime(); NoMDEntries nomdentries = new NoMDEntries(); quickfix.fix42.MarketDataIncrementalRefresh.NoMDEntries group = new quickfix.fix42.MarketDataIncrementalRefresh.NoMDEntries(); MDUpdateAction mdupdateaction = new MDUpdateAction(); DeleteReason deletereason = new DeleteReason(); MDEntryType mdentrytype = new MDEntryType(); MDEntryID mdentryid = new MDEntryID(); Symbol symbol = new Symbol(); MDEntryOriginator mdentryoriginator = new MDEntryOriginator(); MDEntryPx mdentrypx = new MDEntryPx(); Currency currency = new Currency(); MDEntrySize mdentrysize = new MDEntrySize(); ExpireDate expiredate = new ExpireDate(); ExpireTime expiretime = new ExpireTime(); NumberOfOrders numberoforders = new NumberOfOrders(); MDEntryPositionNo mdentrypositionno = new MDEntryPositionNo(); message.getField(nomdentries); message.getField(sendingtime); message.getGroup(1, group); int list = nomdentries.getValue(); for (int i = 0; i < list; i++) { message.getGroup(i + 1, group); group.get(mdupdateaction); if (mdupdateaction.getValue() == '2') System.out.println("Enter"); group.get(deletereason); group.get(mdentrytype); group.get(mdentryid); group.get(symbol); group.get(mdentryoriginator); if (mdupdateaction.getValue() == '0') group.get(mdentrypx); group.get(currency); if (mdupdateaction.getValue() == '0') group.get(mdentrysize); } System.out.printf("Got Symbol {0} Price {1}", symbol.getValue(), mdentrypx.getValue()); }catch (Exception ex) { System.out.println("error" + ex); } } public void MarketDataSnapshotFullRefresh (Message message, SessionID sessionID) throws FieldNotFound{ String Symbol = message.getField(new Symbol()).getValue(); NoMDEntries noMDEntries = new NoMDEntries(); message.getField(noMDEntries); quickfix.fix42.MarketDataSnapshotFullRefresh.NoMDEntries group = new quickfix.fix42.MarketDataSnapshotFullRefresh.NoMDEntries(); MDEntryType MDEntryType = new MDEntryType(); MDEntryPx MDEntryPx = new MDEntryPx(); MDEntrySize MDEntrySize = new MDEntrySize(); SendingTime sendingTime = new SendingTime(); message.getField(sendingTime); message.getGroup(1, group); group.get(MDEntryType); group.get(MDEntryPx); group.get(MDEntrySize); message.getGroup(2, group); group.get(MDEntryType); group.get(MDEntryPx); group.get(MDEntrySize); System.out.printf("Symbol {0} Price {1}", Symbol, MDEntryPx); } } so how to fix my problem ? please help me for fix my problem. your help very appreciate best regards, Fuad -- Sent from: http://quickfix-j.364392.n2.nabble.com/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users *********************************************************************************************************************************************************************** This email, its contents and any files attached are a confidential communication and are intended only for the named addressees indicated in the message. If you are not the named addressee or if you have received this email in error, you may not, without the consent of First Derivatives, copy, use or rely on any information or attachments in any way. Please notify the sender by return email and delete it from your email system. Unless separately agreed, First Derivatives does not accept any responsibility for the accuracy or completeness of the contents of this email or its attachments. Please note that any views, opinion or advice contained in this communication are those of the sending individual and not those of First Derivatives and First Derivatives shall have no liability whatsoever in relation to this communication (or its content) unless separately agreed. *********************************************************************************************************************************************************************** |
|
From: Fuadazhar73 <fua...@gm...> - 2020-03-30 03:56:05
|
Good Morning All of member quickFixj i am new here for quickfixj.
i have quickfixj project for market data request. but when i try to run my
application there is error about [ec2-user fastmatch_server_new]$ java -jar
fastmatchmarketdata-0.0.1-SNAPSHOT.jar
Error: A JNI error has occurred, please check your installation and try
again
Exception in thread "main" java.lang.NoClassDefFoundError:
quickfix/SessionNotFound
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: quickfix.SessionNotFound
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 7 more
this is my main class for this application
package com.dxtr.marketdatarequest.fastmatchmarketdata;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.UUID;
import quickfix.Initiator;
import quickfix.*;
import quickfix.fix42.*;
import quickfix.LogFactory;
import quickfix.Application;
import quickfix.ConfigError;
import quickfix.DefaultMessageFactory;
import quickfix.FileLogFactory;
import quickfix.FileStoreFactory;
import quickfix.Message.Header;
import quickfix.MessageFactory;
import quickfix.Session;
import quickfix.SessionID;
import quickfix.SessionNotFound;
import quickfix.SessionSettings;
import quickfix.SocketInitiator;
import quickfix.field.BeginString;
import quickfix.field.HeartBtInt;
import quickfix.field.MDEntryType;
import quickfix.field.MDReqID;
import quickfix.field.MarketDepth;
import quickfix.field.MsgType;
import quickfix.field.NoMDEntryTypes;
import quickfix.field.ResetSeqNumFlag;
import quickfix.field.SenderCompID;
import quickfix.field.SubscriptionRequestType;
import quickfix.field.Symbol;
import quickfix.field.TargetCompID;
import quickfix.fix42.Message;
public class FastmatchMDRequest {
public static void main(String[] args) {
SocketInitiator socketInitiator = null;
try {
SessionSettings sessionSettings = new
SessionSettings("/home/ec2-user/fastmatch_server_new/FIXQuote2.cfg");
Application application = new TestMarketdataRequest();
FileStoreFactory fileStoreFactory = new
FileStoreFactory(sessionSettings);
FileLogFactory logFactory = new FileLogFactory(sessionSettings);
MessageFactory messageFactory = new DefaultMessageFactory();
socketInitiator = new SocketInitiator(application,
fileStoreFactory, sessionSettings, logFactory,
messageFactory);
socketInitiator.start();
SessionID sessionId = socketInitiator.getSessions().get(0);
sendMarkeDataRequest(sessionId);
int i = 0;
do {
try {
Thread.sleep(1000);
System.out.println(socketInitiator.isLoggedOn());
} catch (InterruptedException e) {
e.printStackTrace();
}
i++;
} while ((!socketInitiator.isLoggedOn()) && (i < 30));
} catch (ConfigError e) {
e.printStackTrace();
} catch (SessionNotFound e) {
e.printStackTrace();
} catch (Exception exp) {
exp.printStackTrace();
} finally {
if (socketInitiator != null) {
socketInitiator.stop(true);
}
}
}
private static void sendMarkeDataRequest(SessionID sessionId)
throws SessionNotFound {
UUID uuid = UUID.randomUUID();
String randomUUIDString = uuid.toString();
Message message = new Message();
quickfix.fix42.MarketDataRequest.NoMDEntryTypes group =
new quickfix.fix42.MarketDataRequest.NoMDEntryTypes();
quickfix.fix42.MarketDataRequest.NoRelatedSym group1 =
new quickfix.fix42.MarketDataRequest.NoRelatedSym();
MarketDataRequest marketdatarequest = new MarketDataRequest();
Header header = marketdatarequest.getHeader();
header.setField(new BeginString("FIX.4.2"));
header.setField(new SenderCompID("MDValueTrade2UAT1"));
header.setField(new TargetCompID("Fastmatch1"));
header.setField(new MsgType("V"));
message.setField(new MDReqID(randomUUIDString));
message.setField(new SubscriptionRequestType((char) 1));
message.setField(new MarketDepth(1));
message.setField(new NoMDEntryTypes(1));
group.setField(new MDEntryType((char) 1));
message.addGroup(group);
group1.setField(new Symbol("ALL"));
message.addGroup(group1);
try
{
Session.sendToTarget(message);
System.out.println("message" + message);
}catch (Exception ex)
{
System.out.println("error" + ex);
}
}
}
and this is my application for quickfixj
package com.dxtr.marketdatarequest.fastmatchmarketdata;
import quickfix.*;
import quickfix.Message.Header;
import quickfix.field.*;
import quickfix.fix42.*;
import quickfix.fix42.Message;
import quickfix.MessageFactory;
public class TestMarketdataRequest implements Application {
public void fromAdmin(quickfix.Message message, SessionID sessionID)
throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, RejectLogon
{
// TODO Auto-generated method stub
System.out.println("Successfully called fromAdmin for sessionId : "
+ message);
}
public void fromApp(quickfix.Message message, SessionID sessionID)
throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue,
UnsupportedMessageType {
// TODO Auto-generated method stub
System.out.println("Successfully called fromApp for sessionId : "
+ message);
}
public void onCreate(SessionID sessionID) {
// TODO Auto-generated method stub
System.out.println("Successfully called onCreate for sessionId : "
+ sessionID);
}
public void onLogon(SessionID sessionID) {
// TODO Auto-generated method stub
System.out.println("Successfully logged on for sessionId : " + sessionID);
}
public void onLogout(SessionID sessionID) {
// TODO Auto-generated method stub
System.out.println("Successfully logged out for sessionId : " +
sessionID);
}
public void toAdmin(quickfix.Message message, SessionID sessionID) {
// TODO Auto-generated method stub
System.out.println("Inside toAdmin");
}
public void toApp(quickfix.Message message, SessionID sessionID) throws
DoNotSend {
// TODO Auto-generated method stub
System.out.println("Message : " + message + " for sessionid : " +
sessionID);
}
public void onMessage(MarketDataIncrementalRefresh message, SessionID
sessionID)
throws FieldNotFound, UnsupportedMessageType, IncorrectTagValue
{
System.out.println("Inside onMessage for New Order Single" + message
+ sessionID);
}
public void MarketDataIncrementalRefresh (Message message, SessionID
sessionID) throws FieldNotFound{
try
{
MDReqID mdreqid = new MDReqID();
SendingTime sendingtime = new SendingTime();
NoMDEntries nomdentries = new NoMDEntries();
quickfix.fix42.MarketDataIncrementalRefresh.NoMDEntries group
= new
quickfix.fix42.MarketDataIncrementalRefresh.NoMDEntries();
MDUpdateAction mdupdateaction = new MDUpdateAction();
DeleteReason deletereason = new DeleteReason();
MDEntryType mdentrytype = new MDEntryType();
MDEntryID mdentryid = new MDEntryID();
Symbol symbol = new Symbol();
MDEntryOriginator mdentryoriginator = new
MDEntryOriginator();
MDEntryPx mdentrypx = new MDEntryPx();
Currency currency = new Currency();
MDEntrySize mdentrysize = new MDEntrySize();
ExpireDate expiredate = new ExpireDate();
ExpireTime expiretime = new ExpireTime();
NumberOfOrders numberoforders = new NumberOfOrders();
MDEntryPositionNo mdentrypositionno = new
MDEntryPositionNo();
message.getField(nomdentries);
message.getField(sendingtime);
message.getGroup(1, group);
int list = nomdentries.getValue();
for (int i = 0; i < list; i++)
{
message.getGroup(i + 1, group);
group.get(mdupdateaction);
if (mdupdateaction.getValue() == '2')
System.out.println("Enter");
group.get(deletereason);
group.get(mdentrytype);
group.get(mdentryid);
group.get(symbol);
group.get(mdentryoriginator);
if (mdupdateaction.getValue() == '0')
group.get(mdentrypx);
group.get(currency);
if (mdupdateaction.getValue() == '0')
group.get(mdentrysize);
}
System.out.printf("Got Symbol {0} Price {1}",
symbol.getValue(), mdentrypx.getValue());
}catch (Exception ex)
{
System.out.println("error" + ex);
}
}
public void MarketDataSnapshotFullRefresh (Message message, SessionID
sessionID) throws FieldNotFound{
String Symbol = message.getField(new Symbol()).getValue();
NoMDEntries noMDEntries = new NoMDEntries();
message.getField(noMDEntries);
quickfix.fix42.MarketDataSnapshotFullRefresh.NoMDEntries group =
new quickfix.fix42.MarketDataSnapshotFullRefresh.NoMDEntries();
MDEntryType MDEntryType = new MDEntryType();
MDEntryPx MDEntryPx = new MDEntryPx();
MDEntrySize MDEntrySize = new MDEntrySize();
SendingTime sendingTime = new SendingTime();
message.getField(sendingTime);
message.getGroup(1, group);
group.get(MDEntryType);
group.get(MDEntryPx);
group.get(MDEntrySize);
message.getGroup(2, group);
group.get(MDEntryType);
group.get(MDEntryPx);
group.get(MDEntrySize);
System.out.printf("Symbol {0} Price {1}", Symbol, MDEntryPx);
}
}
so how to fix my problem ? please help me for fix my problem. your help very
appreciate
best regards,
Fuad
--
Sent from: http://quickfix-j.364392.n2.nabble.com/
|
|
From: Christoph J. <chr...@ma...> - 2020-03-14 11:03:27
|
I assume you followed the basic steps and tutorials that can be found by Google? E.g. https://docs.wso2.com/m/mobile.action#page/119129537/header/SettingUptheESBSamples-ConfiguringWSO2EnterpriseIntegratortousetheFIXtransport Am 14. März 2020 11:46:07 MEZ schrieb Christoph John <chr...@ma...>: >That is no QuickFIX/J specific exception.I am afraid no one on this >mailing list can help you out with this. Did you try asking in a WSO2 >or Synapse help forum? > >Cheers >Chris. > >Am 14. März 2020 05:42:31 MEZ schrieb Fuad Azhar ><fua...@gm...>: >>QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>QuickFIX/J Support: http://www.quickfixj.org/support/ |
|
From: Christoph J. <chr...@ma...> - 2020-03-14 11:03:17
|
That is no QuickFIX/J specific exception.I am afraid no one on this mailing list can help you out with this. Did you try asking in a WSO2 or Synapse help forum? Cheers Chris. Am 14. März 2020 05:42:31 MEZ schrieb Fuad Azhar <fua...@gm...>: >QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >QuickFIX/J Support: http://www.quickfixj.org/support/ |
|
From: Fuad A. <fua...@gm...> - 2020-03-14 04:42:51
|
I have questions about why my listener synapse wso2 using quickfixj cannot convert my incoming fix message become soap message... And got timeout because of cannot read fix message. Here my problem [2020-03-13 16:42:40,604] [EI-Core] WARN - TimeoutHandler Expiring message ID : urn:uuid:46df524c-31f8-426a-9d29-b81f927109d2; dropping message after GLOBAL_TIMEOUT of : 120 seconds for AnonymousEndpoint, URI : fix:// 169.33.100.15:17543?BeginString=FIX.4.2&SenderCompID=MDValueTrade2UAT1&TargetCompID=Fastmatch1, Received through Proxy service : FIXFastMatch3 <20200313-16:50:34, FIX.4.2:MDValueTrade2UAT1->Fastmatch1, incoming> (8=FIX.4.29=015035=X34=249=Fastmatch152=20200313-16:50:34.87956=MDValueTr ade2UAT1262=VT_021268=01279=055=EUR/AUD269=1278=704643076270=1.79636271=0200000010=185) Your help very appreciate. Regards Fuad |
|
From: Colin D. <co...@ma...> - 2020-03-10 16:16:47
|
Assuming you're using Java8, check this: https://stackoverflow.com/questions/38205947/sslhandshakeexception-no-appropriate-protocol On 3/10/20 8:28 AM, Walesa wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hi, > Am trying to establish connection between QuickFixJServer (Executor > from examples) and Banzai Client. > I get the following exception: > > <20200310-14:44:15, FIX.4.4:BANZAI->EXEC, event> (Pending connection > not established after 2007 ms.) > Mar 10, 2020 2:44:15 PM org.apache.mina.util.DefaultExceptionMonitor > exceptionCaught > WARNING: Unexpected exception. > org.apache.mina.core.filterchain.IoFilterLifeCycleException: > onPostAdd(): SslFilter:SSLFilter in (0x00000002: nio socket, client, > /172.20.6.65:57244 <http://172.20.6.65:57244/> => /172.20.6.64:9877 > <http://172.20.6.64:9877/>) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:476) > at > org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(DefaultIoFilterChain.java:234) > at > org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFilterChain(DefaultIoFilterChainBuilder.java:553) > at > quickfix.mina.CompositeIoFilterChainBuilder.buildFilterChain(CompositeIoFilterChainBuilder.java:42) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.addNow(AbstractPollingIoProcessor.java:832) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.handleNewSessions(AbstractPollingIoProcessor.java:752) > at > org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:652) > at > org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > Caused by: javax.net.ssl.SSLHandshakeException: No appropriate > protocol (protocol is disabled or cipher suites are inappropriate) > > Configuration: > > https://www.quickfixj.org/usermanual/2.0.0/usage/secure_communications.html > > > After reading above, > Acceptor config is as : > [default] > .... > SocketConnectProtocol=SOCKET > # SSL properties > SocketUseSSL=Y > SocketKeyStore=<Keystore location created with `keytool -genkeypair > -dname "cn=tlsagentServer, ou=Eng, o=Corvil, c=IRE" -keystore > tlsagentServer`> > SocketKeyStorePassword=<password> > CipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA > EnabledProtocols=TLSv1.2 > NeedClientAuth=Y > > Start the server with > java > -Djava.security.properties=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security > -jar quickfixj-examples-executor-2.2.0-SNAPSHOT-standalone.jar > classes/quickfix/examples/executor/executor.cfg > > Initiator Config is as: > [default] > SocketConnectProtocol=SOCKET > SocketConnectHost=<ServerIP> > LogonTimeout=30 > LogoutTimeout=30 > > # SSL properties > SocketUseSSL=Y > SocketKeyStore= <Keystore location created with `keytool -genkeypair > -dname "cn=tlsagentServer, ou=Eng, o=Corvil, c=IRE" -keystore > tlsagentClient`> > SocketKeyStorePassword=<password> > #CipherSuites=TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA > CipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA > #CipherSuites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA > EnabledProtocols=TLSv1.2 > > Start the Banzai client with > java > -Djava.security.properties=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security > -jar quickfixj-examples-banzai-2.2.0-SNAPSHOT-standalone.jar > classes/quickfix/examples/banzai/banzai.cfg > > Env: > > * Ubuntu Linux (64-bit) > * > > Any help would be greatly appreciated. > > Regards > Walesa. > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 https://www.marketcetera.com |
|
From: Walesa <wa...@gm...> - 2020-03-10 15:28:36
|
Hi, Am trying to establish connection between QuickFixJServer (Executor from examples) and Banzai Client. I get the following exception: <20200310-14:44:15, FIX.4.4:BANZAI->EXEC, event> (Pending connection not established after 2007 ms.) Mar 10, 2020 2:44:15 PM org.apache.mina.util.DefaultExceptionMonitor exceptionCaught WARNING: Unexpected exception. org.apache.mina.core.filterchain.IoFilterLifeCycleException: onPostAdd(): SslFilter:SSLFilter in (0x00000002: nio socket, client, /172.20.6.65:57244 => /172.20.6.64:9877) at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:476) at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(DefaultIoFilterChain.java:234) at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFilterChain(DefaultIoFilterChainBuilder.java:553) at quickfix.mina.CompositeIoFilterChainBuilder.buildFilterChain(CompositeIoFilterChainBuilder.java:42) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.addNow(AbstractPollingIoProcessor.java:832) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.handleNewSessions(AbstractPollingIoProcessor.java:752) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:652) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate) Configuration: https://www.quickfixj.org/usermanual/2.0.0/usage/secure_communications.html After reading above, Acceptor config is as : [default] .... SocketConnectProtocol=SOCKET # SSL properties SocketUseSSL=Y SocketKeyStore=<Keystore location created with `keytool -genkeypair -dname "cn=tlsagentServer, ou=Eng, o=Corvil, c=IRE" -keystore tlsagentServer`> SocketKeyStorePassword=<password> CipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA EnabledProtocols=TLSv1.2 NeedClientAuth=Y Start the server with java -Djava.security.properties=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security -jar quickfixj-examples-executor-2.2.0-SNAPSHOT-standalone.jar classes/quickfix/examples/executor/executor.cfg Initiator Config is as: [default] SocketConnectProtocol=SOCKET SocketConnectHost=<ServerIP> LogonTimeout=30 LogoutTimeout=30 # SSL properties SocketUseSSL=Y SocketKeyStore= <Keystore location created with `keytool -genkeypair -dname "cn=tlsagentServer, ou=Eng, o=Corvil, c=IRE" -keystore tlsagentClient`> SocketKeyStorePassword=<password> #CipherSuites=TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA CipherSuites=TLS_RSA_WITH_AES_128_CBC_SHA #CipherSuites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA EnabledProtocols=TLSv1.2 Start the Banzai client with java -Djava.security.properties=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security -jar quickfixj-examples-banzai-2.2.0-SNAPSHOT-standalone.jar classes/quickfix/examples/banzai/banzai.cfg Env: - Ubuntu Linux (64-bit) - Any help would be greatly appreciated. Regards Walesa. |
|
From: Philip W. <ph...@wh...> - 2020-03-10 10:56:05
|
Yes but the two count tags must be different Typically they would be called NoAddress and NoName to match the design of other fix messages. Best, Philip Whitehouse > On 10 Mar 2020, at 10:34, Muhammadh Aadhil <mua...@gm...> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hi All, > > I want to know is there any way to accommodate more than one group within same fix message as below. > > <message name="U13" msgtype="U13" msgcat="app"> > <field name="MemberCode" required="N"/> > <field name="AccountNumber" required="N"/> > <field name="RequestID" required="Y"/> > <field name="AccountOwnerName" required="N"/> > <group name="Count" required="N"> > <field name="Address" required="N"/> > </group> > <field name="City" required="N"/> > <field name="PostalCode" required="N"/> > <field name="UCountry" required="N"/> > <field name="Nin" required="N"/> > <field name="Gender" required="N"/> > <group name="Count" required="N"> > <field name="Name" required="N"/> > </group> > <field name="BankAcctNumber" required="N"/> > <field name="ForeignAccountNumber" required="N"/> > <field name="ForeignAccountName" required="N"/> > <field name="ForeignAccountIBAN" required="N"/> > <field name="ForeignBankName" required="N"/> > <field name="ForeignBankAddress" required="N"/> > <field name="ForeignBankSwiftBIC" required="N"/> > <field name="ForeignBankABA" required="N"/> > <field name="DeleteRetCode" required="Y"/> > </message> > > -------------------------------------------------------- > With Regards, > Muhammadh Aadhil > m:+94777777743 > > Contact me: muaadhil > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |
|
From: Muhammadh A. <mua...@gm...> - 2020-03-10 10:32:50
|
Hi All,
I want to know is there any way to accommodate more than one group within
same fix message as below.
<message name="U13" msgtype="U13" msgcat="app">
<field name="MemberCode" required="N"/>
<field name="AccountNumber" required="N"/>
<field name="RequestID" required="Y"/>
<field name="AccountOwnerName" required="N"/>
*<group name="Count" required="N"> <field name="Address"
required="N"/> </group>*
<field name="City" required="N"/>
<field name="PostalCode" required="N"/>
<field name="UCountry" required="N"/>
<field name="Nin" required="N"/>
<field name="Gender" required="N"/>
*<group name="Count" required="N"> <field name="Name"
required="N"/> </group>*
<field name="BankAcctNumber" required="N"/>
<field name="ForeignAccountNumber" required="N"/>
<field name="ForeignAccountName" required="N"/>
<field name="ForeignAccountIBAN" required="N"/>
<field name="ForeignBankName" required="N"/>
<field name="ForeignBankAddress" required="N"/>
<field name="ForeignBankSwiftBIC" required="N"/>
<field name="ForeignBankABA" required="N"/>
<field name="DeleteRetCode" required="Y"/>
</message>
--------------------------------------------------------
With Regards,
*Muhammadh Aadhil*
m:+94777777743
<https://www.facebook.com/MuhammadhAadhil>
<http://lk.linkedin.com/pub/muhammadh-aadhil-m-f/26/434/633/>
<https://twitter.com/MuhammadhAadhil>
Contact me: [image: Skype] muaadhil
|
|
From: Colin D. <co...@ma...> - 2019-12-12 20:46:12
|
Oh! Well, that makes some difference, sorry, OP. On 12/12/19 12:44 PM, Philip Whitehouse wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > I did add that in response to the email in fairness :) > > Best, > > Philip Whitehouse > >> On 12 Dec 2019, at 18:01, Colin DuPlantis <co...@ma...> wrote: >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> Can you elaborate as to why Philip's response was insufficient? >> >> On 12/12/19 8:12 AM, Starkie, Michael wrote: >>> QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support:http://www.quickfixj.org/support/ >>> >>> >>> >>> Hello, >>> >>> Can someone answer this? >>> >>> Out of order messages received on two sessions. >>> >>> https://stackoverflow.com/questions/59308635/qfj-passes-messages-in-the-wrong-order >>> >>> --Thx, Mike >>> >>> 212-821-1104 >>> >>> >>> >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> -- >> Colin DuPlantis >> Chief Architect, Marketcetera >> Download, Run, Trade >> 888.868.4884 >> https://www.marketcetera.com >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 https://www.marketcetera.com |
|
From: Philip W. <ph...@wh...> - 2019-12-12 20:44:47
|
I did add that in response to the email in fairness :) Best, Philip Whitehouse > On 12 Dec 2019, at 18:01, Colin DuPlantis <co...@ma...> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Can you elaborate as to why Philip's response was insufficient? > > On 12/12/19 8:12 AM, Starkie, Michael wrote: >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> >> >> Hello, >> Can someone answer this? >> >> Out of order messages received on two sessions. >> >> https://stackoverflow.com/questions/59308635/qfj-passes-messages-in-the-wrong-order >> >> >> --Thx, Mike >> 212-821-1104 >> >> >> >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884 > https://www.marketcetera.com > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |
|
From: Colin D. <co...@ma...> - 2019-12-12 18:00:15
|
Can you elaborate as to why Philip's response was insufficient? On 12/12/19 8:12 AM, Starkie, Michael wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hello, > > Can someone answer this? > > Out of order messages received on two sessions. > > https://stackoverflow.com/questions/59308635/qfj-passes-messages-in-the-wrong-order > > --Thx, Mike > > 212-821-1104 > > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 https://www.marketcetera.com |
|
From: Starkie, M. <mst...@aq...> - 2019-12-12 16:34:07
|
Hello, Can someone answer this? Out of order messages received on two sessions. https://stackoverflow.com/questions/59308635/qfj-passes-messages-in-the-wrong-order --Thx, Mike 212-821-1104 |
|
From: Christoph J. <chr...@ma...> - 2019-12-02 13:00:22
|
Hi Philip, never seen something similar. AFAICT the DelegatingTask is only used when you pass a custom Executor into the SessionConnector. I would expect it to be in the stack trace if you used it. It looks like the task was tried to be cancelled but that did not work. Instead the task finished its work. I think the task is trying to be cancelled and gets interrupted due to the cancel(true) but it might very well be that we do not consider the InterruptedException in all pieces of the code. Don't know if that is the problem, though. From the JDK sources it looks like cancel() only returns false when the task has been completed or cancelled before calling cancel(). Cheers, Chris. On 02.12.19 10:50, philip wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hi folks, > > I've been investigating an issue where our process is stopped on the edge of a session boundary. > > In this scenario we get the following logging: > > 17:30:01 INFO (SessionConnector.java:265) [adminthread] - SessionTimer canceled > ... > 17:30:01 ERROR (InternalLayer.java:186) [QFJ Timer] - An error occurred while writing .... > ... > at InternalLayer.reset(InternalLayer.java:658) > ... > at quickfix.SessionState.reset(SessionState.java:382) > at quickfix.Session.resetState(Session.java:2516) > at quickfix.Session.reset(Session.java:823) > at quickfix.Session.next(Session.java:1795) > at quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.java:278) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > > > As you can see from the abbreviated stack trace, the Session reset appears (subject to logging) to be passed to our internal layer after the session timer is cancelled. > > Looking at the code for Session Connector > > protected void stopSessionTimer() { > if (sessionTimerFuture != null) { > if (sessionTimerFuture.cancel(true)) > log.info("SessionTimer canceled"); > } > } > > we are cancelling the timer. But does this actually prevent the current task from executing. The combination of DelegatingTask and BlockingSupportTask make it difficult to parse. > > Has anyone else seen similar issues? > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |
|
From: philip <ph...@wh...> - 2019-12-02 09:51:01
|
Hi folks,
I've been investigating an issue where our process is stopped on the edge of a session boundary.
In this scenario we get the following logging:
17:30:01 INFO (SessionConnector.java:265) [adminthread] - SessionTimer canceled
...
17:30:01 ERROR (InternalLayer.java:186) [QFJ Timer] - An error occurred while writing ....
...
at InternalLayer.reset(InternalLayer.java:658)
...
at quickfix.SessionState.reset(SessionState.java:382)
at quickfix.Session.resetState(Session.java:2516)
at quickfix.Session.reset(Session.java:823)
at quickfix.Session.next(Session.java:1795)
at quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.java:278)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
As you can see from the abbreviated stack trace, the Session reset appears (subject to logging) to be passed to our internal layer after the session timer is cancelled.
Looking at the code for Session Connector
protected void stopSessionTimer() {
if (sessionTimerFuture != null) {
if (sessionTimerFuture.cancel(true))
log.info("SessionTimer canceled");
}
}
we are cancelling the timer. But does this actually prevent the current task from executing. The combination of DelegatingTask and BlockingSupportTask make it difficult to parse.
Has anyone else seen similar issues?
|
|
From: philip <ph...@wh...> - 2019-12-02 09:50:49
|
Hi folks,
I've been investigating an issue where our process is stopped on the edge of a session boundary.
In this scenario we get the following logging:
17:30:01 INFO (SessionConnector.java:265) [adminthread] - SessionTimer canceled
...
17:30:01 ERROR (InternalLayer.java:186) [QFJ Timer] - An error occurred while writing ....
...
at InternalLayer.reset(InternalLayer.java:658)
...
at quickfix.SessionState.reset(SessionState.java:382)
at quickfix.Session.resetState(Session.java:2516)
at quickfix.Session.reset(Session.java:823)
at quickfix.Session.next(Session.java:1795)
at quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.java:278)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
As you can see from the abbreviated stack trace, the Session reset appears (subject to logging) to be passed to our internal layer after the session timer is cancelled.
Looking at the code for Session Connector
protected void stopSessionTimer() {
if (sessionTimerFuture != null) {
if (sessionTimerFuture.cancel(true))
log.info("SessionTimer canceled");
}
}
we are cancelling the timer. But does this actually prevent the current task from executing. The combination of DelegatingTask and BlockingSupportTask make it difficult to parse.
Has anyone else seen similar issues?
|
|
From: Philip W. <ph...@wh...> - 2019-11-28 21:25:01
|
I think he wants the first field of the repeating group to not always actually exist in the group. The answer is no, it’s not allowed. It makes it hard to work out where a group starts and ends I suggest introducing a new artificial GroupID tag to use as the first tag (just set it to an ordinal value) in the group and then having the old first tag be the second tag if it exists. You’ll need to agree this with your counterparty. Best, Philip Whitehouse > On 28 Nov 2019, at 19:59, Colin DuPlantis <co...@ma...> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > I'm not sure I follow you. > > Why would you want a group created when you'll have no content? > > Can you provide two sample messages: one with the group and one without, including your desired behavior? > > On 11/28/19 4:36 AM, Aidan Nutley wrote: >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> >> >> Hi, >> >> I was wondering if anyone would be able to assist me with an issue I am having, The first field of my NoRelatedSym group is only sent in certain scenarios, I have written the logic for these scenarios of when this field gets used. However I am running into an issue where, the scenarios that don’t need this tag, the rest of the NoRelatedSym group is not created. Basically I need to be able to change the first field of the repeating group depending on the scenario at hand? >> >> Any ideas on what I can do to work round this? >> >> Thanks, >> Aidan >> *********************************************************************************************************************************************************************** >> This email, its contents and any files attached are a confidential communication and are intended only for the named addressees indicated in the message. If you are not the named addressee or if you have received this email in error, you may not, without the consent of First Derivatives, copy, use or rely on any information or attachments in any way. Please notify the sender by return email and delete it from your email system. >> Unless separately agreed, First Derivatives does not accept any responsibility for the accuracy or completeness of the contents of this email or its attachments. Please note that any views, opinion or advice contained in this communication are those of the sending individual and not those of First Derivatives and First Derivatives shall have no liability whatsoever in relation to this communication (or its content) unless separately agreed. >> *********************************************************************************************************************************************************************** >> >> >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884 > https://www.marketcetera.com > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |
|
From: Colin D. <co...@ma...> - 2019-11-28 19:58:06
|
I'm not sure I follow you. Why would you want a group created when you'll have no content? Can you provide two sample messages: one with the group and one without, including your desired behavior? On 11/28/19 4:36 AM, Aidan Nutley wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hi, > > I was wondering if anyone would be able to assist me with an issue I > am having, The first field of my NoRelatedSym group is only sent in > certain scenarios, I have written the logic for these scenarios of > when this field gets used. However I am running into an issue where, > the scenarios that don’t need this tag, the rest of the NoRelatedSym > group is not created. Basically I need to be able to change the first > field of the repeating group depending on the scenario at hand? > > Any ideas on what I can do to work round this? > > Thanks, > > Aidan > > *********************************************************************************************************************************************************************** > > This email, its contents and any files attached are a confidential > communication and are intended only for the named addressees indicated > in the message. If you are not the named addressee or if you have > received this email in error, you may not, without the consent of > First Derivatives, copy, use or rely on any information or attachments > in any way. Please notify the sender by return email and delete it > from your email system. > Unless separately agreed, First Derivatives does not accept any > responsibility for the accuracy or completeness of the contents of > this email or its attachments. Please note that any views, opinion or > advice contained in this communication are those of the sending > individual and not those of First Derivatives and First Derivatives > shall have no liability whatsoever in relation to this communication > (or its content) unless separately agreed. > *********************************************************************************************************************************************************************** > > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 https://www.marketcetera.com |
|
From: Aidan N. <an...@fi...> - 2019-11-28 16:09:50
|
Hi, I was wondering if anyone would be able to assist me with an issue I am having, The first field of my NoRelatedSym group is only sent in certain scenarios, I have written the logic for these scenarios of when this field gets used. However I am running into an issue where, the scenarios that don't need this tag, the rest of the NoRelatedSym group is not created. Basically I need to be able to change the first field of the repeating group depending on the scenario at hand? Any ideas on what I can do to work round this? Thanks, Aidan *********************************************************************************************************************************************************************** This email, its contents and any files attached are a confidential communication and are intended only for the named addressees indicated in the message. If you are not the named addressee or if you have received this email in error, you may not, without the consent of First Derivatives, copy, use or rely on any information or attachments in any way. Please notify the sender by return email and delete it from your email system. Unless separately agreed, First Derivatives does not accept any responsibility for the accuracy or completeness of the contents of this email or its attachments. Please note that any views, opinion or advice contained in this communication are those of the sending individual and not those of First Derivatives and First Derivatives shall have no liability whatsoever in relation to this communication (or its content) unless separately agreed. *********************************************************************************************************************************************************************** |
|
From: Rekha H. <rek...@or...> - 2019-11-20 10:45:15
|
Hello John, It worked with java -Duser.country=US -Duser.language=en. Thanks for the suggestions. On Tue, Nov 19, 2019 at 8:32 PM Colin DuPlantis <co...@ma...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > Just at a guess, I'm wondering if this is the problem. What is the > server OS and how did you change the calendar? > > On 11/19/19 4:31 AM, Christoph John via Quickfixj-users wrote: > > We have changed to Greogerian calendar. > > -- > Colin DuPlantis > Chief Architect, Marketcetera > Download, Run, Trade > 888.868.4884 > https://www.marketcetera.com > > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Regards Rekha Hindlekar | Sr. Technical Lead | OroSoft Solutions Pvt. Ltd. *T: +91 22 2854 0911 | *rek...@or... | www.orosoftsolutions.com <http://www.orosoftsolutions.com> DISCLAIMER: "This e-mail message including any of its attachments is intended solely for the addressee(s) and may contain privileged information. If you are not the addressee or you have received this email message in error, please notify the sender who will remove your details from its database. You are not authorized to read, copy, disseminate, distribute or use this e-mail message or any attachment to it in any manner and must delete the email and destroy any hard copies of it. This e-mail message does not contain financial instructions or commitments of any kind. Any views expressed in this message are those of the individual sender and do not necessarily reflect the views of OroSoft Solutions Pvt. Ltd., or any other related subsidiaries, entities or persons." |
|
From: Colin D. <co...@ma...> - 2019-11-19 15:00:46
|
Just at a guess, I'm wondering if this is the problem. What is the server OS and how did you change the calendar? On 11/19/19 4:31 AM, Christoph John via Quickfixj-users wrote: > We have changed to Greogerian calendar. -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 https://www.marketcetera.com |
|
From: Christoph J. <chr...@ma...> - 2019-11-19 12:31:54
|
OK, that is rather old. But then you could maybe influence the calendar by passing the following System properties when starting your application: java -Duser.country=US -Duser.language=en <insert your usual properties and JAR file here> Cheers, Chris. On 19.11.19 13:06, Rekha Hindlekar wrote: > 1.6.2 > > On Tue, Nov 19, 2019 at 5:33 PM Christoph John <chr...@ma... > <mailto:chr...@ma...>> wrote: > > OK, which version of QFJ are you using? > > > On 19.11.19 13:02, Rekha Hindlekar wrote: >> Hello John, >> >> Thanks for the reply. We have removed Thai language and now its only US. Region settings >> changed to Engish. >> Also, changed Date and Time to English. >> >> On Tue, Nov 19, 2019 at 3:12 PM Christoph John <chr...@ma... >> <mailto:chr...@ma...>> wrote: >> >> Hi, >> >> are you using a recent (i.e. 2.0+) version of QFJ? Then QFJ does not use Java Calendar >> but Java8 DateTime API. >> What did you do to change to Gregorian Calendar? Did you set the Locale differently? >> >> Our servers are not in the GMT+0 timezone and the SendingTime is set correctly in UTC. >> But maybe there is a bug in QFJ for some timezones. Never tested it with a buddhist >> calendar. :) >> >> Cheers, >> Chris. >> >> >> On 19.11.19 08:36, Rekha Hindlekar wrote: >>> QuickFIX/J Documentation:http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support:http://www.quickfixj.org/support/ >>> >>> >>> >>> We have buddhist calendar on server. We have changed to Greogerian calendar. >>> But still my fix application is picking up Buddist Calendar while sending Tag 52. >>> While writing logs time, it takes proper time. >>> Below are the fix messages: >>> >>> [DEBUG] 2019-11-19 14:17:43.608 >>> 8=FIX.4.2 9=81 35=A 34=1 49=XXX *52=25621119-07:17:43.608* 56=XXX 98=0 108=20 141=Y 10=181 >>> [DEBUG] 2019-11-19 14:17:43.936 >>> 8=FIX.4.2 9=149 35=5 34=1 49=XXX 52=20191119-07:17:44.306 56=XXXX 58=Tried to send a >>> reject while not logged on: SendingTime accuracy problem (field 0) 10=075 >>> >>> Any idea why it behaves like this. >>> -- >>> Regards >>> >>> Rekha Hindlekar | Sr. Technical Lead | OroSoft Solutions Pvt. Ltd. >>> _T: +91 22 2854 0911 | _re...@or... >>> <mailto:rek...@or...> |www.orosoftsolutions.com >>> <http://www.orosoftsolutions.com> >>> > > -- > Christoph John > Software Engineering > T +49 241 557080-28 > chr...@ma... <mailto:chr...@ma...> > > MACD GmbH > Oppenhoffallee 103 > 52066 Aachen, Germany > www.macd.com <http://www.macd.com> > > Amtsgericht Aachen: HRB 8151 > Ust.-Id: DE 813021663 > Geschäftsführer: George Macdonald > > > > -- > Regards > > Rekha Hindlekar | Sr. Technical Lead | OroSoft Solutions Pvt. Ltd. > _T: +91 22 2854 0911 | _re...@or... > <mailto:rek...@or...> |www.orosoftsolutions.com > <http://www.orosoftsolutions.com> > > DISCLAIMER: > > "This e-mail message including any of its attachments is intended solely for the addressee(s) and > may contain privileged information. If you are not the addressee or you have received this email > message in error, please notify the sender who will remove your details from its database. You are > not authorized to read, copy, disseminate, distribute or use this e-mail message or any attachment > to it in any manner and must delete the email and destroy any hard copies of it. > > This e-mail message does not contain financial instructions or commitments of any kind. Any views > expressed in this message are those of the individual sender and do not necessarily reflect the > views of OroSoft Solutions Pvt. Ltd., or any other related subsidiaries, entities or persons." > -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |