quickfix-developers Mailing List for QuickFIX (Page 122)
Brought to you by:
orenmnero
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
|
Feb
(5) |
Mar
(16) |
Apr
(15) |
May
(17) |
Jun
(33) |
Jul
(35) |
Aug
(34) |
Sep
(19) |
Oct
(40) |
Nov
(51) |
Dec
(43) |
| 2003 |
Jan
(45) |
Feb
(79) |
Mar
(124) |
Apr
(121) |
May
(132) |
Jun
(77) |
Jul
(110) |
Aug
(57) |
Sep
(48) |
Oct
(83) |
Nov
(60) |
Dec
(40) |
| 2004 |
Jan
(67) |
Feb
(72) |
Mar
(74) |
Apr
(87) |
May
(70) |
Jun
(96) |
Jul
(75) |
Aug
(147) |
Sep
(128) |
Oct
(83) |
Nov
(67) |
Dec
(42) |
| 2005 |
Jan
(110) |
Feb
(84) |
Mar
(68) |
Apr
(55) |
May
(51) |
Jun
(192) |
Jul
(111) |
Aug
(100) |
Sep
(79) |
Oct
(127) |
Nov
(73) |
Dec
(112) |
| 2006 |
Jan
(95) |
Feb
(120) |
Mar
(138) |
Apr
(127) |
May
(124) |
Jun
(97) |
Jul
(103) |
Aug
(88) |
Sep
(138) |
Oct
(91) |
Nov
(112) |
Dec
(57) |
| 2007 |
Jan
(55) |
Feb
(35) |
Mar
(56) |
Apr
(16) |
May
(20) |
Jun
(77) |
Jul
(43) |
Aug
(47) |
Sep
(29) |
Oct
(54) |
Nov
(39) |
Dec
(40) |
| 2008 |
Jan
(69) |
Feb
(79) |
Mar
(122) |
Apr
(106) |
May
(114) |
Jun
(76) |
Jul
(83) |
Aug
(71) |
Sep
(53) |
Oct
(75) |
Nov
(54) |
Dec
(43) |
| 2009 |
Jan
(32) |
Feb
(31) |
Mar
(64) |
Apr
(48) |
May
(38) |
Jun
(43) |
Jul
(35) |
Aug
(15) |
Sep
(52) |
Oct
(62) |
Nov
(62) |
Dec
(21) |
| 2010 |
Jan
(44) |
Feb
(10) |
Mar
(47) |
Apr
(22) |
May
(5) |
Jun
(54) |
Jul
(19) |
Aug
(54) |
Sep
(16) |
Oct
(15) |
Nov
(7) |
Dec
(8) |
| 2011 |
Jan
(18) |
Feb
(9) |
Mar
(5) |
Apr
(5) |
May
(41) |
Jun
(40) |
Jul
(29) |
Aug
(17) |
Sep
(12) |
Oct
(23) |
Nov
(22) |
Dec
(11) |
| 2012 |
Jan
(8) |
Feb
(24) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(5) |
Jul
(5) |
Aug
(5) |
Sep
(2) |
Oct
(9) |
Nov
(2) |
Dec
(18) |
| 2013 |
Jan
(25) |
Feb
(16) |
Mar
(8) |
Apr
(2) |
May
(16) |
Jun
(17) |
Jul
(2) |
Aug
(13) |
Sep
(3) |
Oct
(4) |
Nov
(1) |
Dec
|
| 2014 |
Jan
(2) |
Feb
|
Mar
(22) |
Apr
(9) |
May
(3) |
Jun
(1) |
Jul
(5) |
Aug
(11) |
Sep
(18) |
Oct
(4) |
Nov
(4) |
Dec
(3) |
| 2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(3) |
May
(4) |
Jun
(37) |
Jul
|
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(4) |
Dec
(2) |
| 2016 |
Jan
(9) |
Feb
(3) |
Mar
(7) |
Apr
(1) |
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(3) |
Nov
(16) |
Dec
|
| 2017 |
Jan
(1) |
Feb
(15) |
Mar
(2) |
Apr
(12) |
May
(4) |
Jun
(7) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
(23) |
Dec
(8) |
| 2018 |
Jan
(2) |
Feb
(4) |
Mar
(2) |
Apr
(8) |
May
(3) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(5) |
Nov
(3) |
Dec
|
| 2020 |
Jan
|
Feb
(4) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
(5) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
(1) |
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2026 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Sheetal C. <sch...@gm...> - 2006-12-12 18:32:26
|
I am getting the same error also. I also noticed these warning whens the various .cpp files were being compiled: ------------- CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -ansi passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wpointer-arith passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wwrite-strings passed to ld, if ld is invoked, ignored otherwise ----------- Stefan - can you please let me know if you are able to fix this? thanks QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Hi all, I try to build Quickfix 1.12.4 with the SunPro compiler . . . ..................................................................................................................................................................... Envrionment: OS: SunOS 5.9 CC: SunC++ 5.8 ..................................................................................................................................................................... Doing: Setting the environment vars CC= .... CFLAGS= .... etc. (http://www.quickfixengine.org/quickfix/doc/html/install.html) calling ./configure calling make clean calling make ..................................................................................................................................................................... Error Message: CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -ansi passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wpointer-arith passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wwrite-strings passed to ld, if ld is invoked, ignored otherwise /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- n /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- w usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) *** Error code 1 make: Fatal error: Command failed for target `at' Current working directory /export/home/hoelste/dev/quickfix/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ..................................................................................................................................................................... Has anyone a description, whats going wrong? I think configure creates an incorrect Makefile. Has anyone a solution for this issue? If I use g++ 4.02 on the same maschine, all will be fine. However, I m u s t use the sun compiler. Many Thanks Stefan -- View this message in context: http://www.nabble.com/Quickfix-and-SunPro-Compiler-tf2805901.html#a7838868 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
|
From: Abel M. <am...@bo...> - 2006-12-12 11:31:05
|
Maybe the question is that it should be an assignment or not.
The entire function is:
char* getValue( int row, int column )
{
if( m_rows.empty() )
{
MYSQL_ROW row =3D 0;
while ( row =3D mysql_fetch_row( m_result ) )
m_rows.push_back(row);
}
return m_rows[row][column];
}
so it seems to be an assignment.
This file is inside quickfix-1.12.4. No one has changed this file, or=20
are there a newer version that fix this problem?
Regards
Abel Monroy Ferrero
Thomas Rongitsch wrote:
> shouldn't it be:
> while ( row =3D=3D mysql_fetch_row( m_result ) )
> the warning complains about an assignment (row =3D ...)
> kind regards,
> Thomas
>
>
> -----Urspr=FCngliche Nachricht-----
> Von: qui...@li...
> [mailto:qui...@li...]Im Auftrag =
von
> Abel Monroy
> Gesendet: Dienstag, 12. Dezember 2006 12:12
> An: qui...@li...;
> qui...@li...
> Betreff: [Quickfix-developers] Upgrading to quickfix
> 1.12.4:C++/MySQLConnection.h:98: warning: suggest parentheses
> aroundassignment used, as truth value
>
>
> QuickFIX Documentation: =
http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
> Hi everyone,
>
> we're upgrading our quickfix applications to last version, 1.12.4, and =
> we found some problems, so maybe someone could give us a hand.
> Compiling the version, we've seen this warning:
>
> C++/MySQLConnection.h:98: warning: suggest parentheses around =
assignment=20
> used, as truth value
>
> which is this line:
> while ( row =3D mysql_fetch_row( m_result ) )
>
> We put the parentheses in order to avoid the warning, but now, we=20
> compile the application and it crashs with a core.
>
> #0 0x00c7fcdf in raise () from /lib/tls/libc.so.6
> #1 0x00c814e5 in abort () from /lib/tls/libc.so.6
> #2 0x08061b6b in Unexpected () at src/vtfix.cpp:25
> #3 0x00711567 in std::terminate () from /usr/lib/libstdc++.so.5
> #4 0x007113f5 in __cxa_call_unexpected () from =
/usr/lib/libstdc++.so.5
> #5 0x00e7e928 in Session (this=3D0x96ec7e0, application=3D@0x0,=20
> messageStoreFactory=3D@0x0, sessionID=3D@0x96f6198, =
dataDictionary=3D@0x118a2f0,
> sessionTime=3D@0x118a290, pLogFactory=3D0x0) at Mutex.h:76
> #6 0x00ea8067 in FIX::SessionFactory::create (this=3D0x118a560,=20
> sessionID=3D@0x96b90a0, settings=3D@0x96e1474) at Field.h:308
> #7 0x00eb9e23 in FIX::Acceptor::initialize (this=3D0x96cc3b0) at=20
> stl_tree.h:199
> #8 0x00eb98a0 in FIX::Acceptor::Acceptor$base () at =
stl_function.h:197
> #9 0x00ecf0fe in FIX::ThreadedSocketAcceptor::ThreadedSocketAcceptor =
()=20
> at new:89
>
> It happens when we are making the new to a ThreadadSocketAcceptor =
object.
>
> _store_factory =3D new FIX::MySQLStoreFactory( *_settings );
> _log_factory =3D new FIX::MySQLLogFactory( *_settings );
> =20
> try {
> _acceptor =3D new FIX::ThreadedSocketAcceptor (*_application,=20
> *_store_factory,
> *_settings, *_log_factory); =20
> } =20
>
> quickfix is compile with ./configure --with-mysql=3D/usr in order to =
have=20
> mysql support. It seems that we're missing something, but we are stuck =
> with this problem, so we'd appreciate your comments.
>
> Regards,
> Abel Monroy Ferrero
>
>
>
>
> ****************************** AVISO LEGAL =
******************************
> La informaci=F3n contenida en este mensaje es para uso exclusivo de su =
destinatario. No debe copiarse, transmitirse a terceros ni guardarse por =
estos =FAltimos, salvo autorizaci=F3n del remitente.
> Puede contener informaci=F3n confidencial o legalmente protegida cuyo =
r=E9gimen legal de utilizaci=F3n no se ve afectado por el hecho de que =
haya sido enviada por correo electr=F3nico.
> Su env=EDo por error a una persona distinta de su destinatario real no =
implica que se haya modificado tal destinatario ni supone renuncia a su =
eventual car=E1cter confidencial o al r=E9gimen legal que rija su =
utilizaci=F3n.
> Cualquier opini=F3n expresada en este mensaje vincular=E1 =
exclusivamente a la persona que lo haya remitido, excepto cuando el =
mensaje establezca lo contrario y el remitente est=E9 autorizado para =
establecer que dichas opiniones vincular=E1n a esta entidad.
> En el supuesto de que este correo se recibiera por error, rogamos =
procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en =
cualquier soporte y nos informen inmediatamente llamando al tel=E9fono =
34 91 7095401 o a la direcci=F3n de correo electr=F3nico remitente. =
Gracias.
> ****************************** DISCLAIMER =
******************************
> The information contained in this message is for the exclusive use of =
the named person. It can not be copied, transmitted to third parties or =
stored by the latter, except if authorised by the sender.
> It may contain confidential or legally privileged information whose =
legal regime is not affected by the fact that this information has been =
sent by e-mail.=20
> Its erroneous transmission to a person other than the real named =
person neither implies any modification of this named person nor a =
renunciation of the eventual confidentiality or legal regime affecting =
the use of concerned message.
> Any views expressed in this message are binding exclusively upon the =
individual sender, except where the message states otherwise and the =
sender is authorised to bind this entity.=20
> If you receive this message in error, please delete it without =
transmitting it to any third party or keeping it in any form and notify =
us immediately either by phone (34 91 7095401) or using the e- mail =
address of the sender. Thank You.
>
> =
-------------------------------------------------------------------------=
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to =
share your
> opinions on IT & business topics through brief surveys - and earn cash
> =
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
> _______________________________________________
> Quickfix-developers mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>
> =20
****************************** AVISO LEGAL =
******************************
La informaci=F3n contenida en este mensaje es para uso exclusivo de su =
destinatario. No debe copiarse, transmitirse a terceros ni guardarse por =
estos =FAltimos, salvo autorizaci=F3n del remitente.
Puede contener informaci=F3n confidencial o legalmente protegida cuyo =
r=E9gimen legal de utilizaci=F3n no se ve afectado por el hecho de que =
haya sido enviada por correo electr=F3nico.
Su env=EDo por error a una persona distinta de su destinatario real no =
implica que se haya modificado tal destinatario ni supone renuncia a su =
eventual car=E1cter confidencial o al r=E9gimen legal que rija su =
utilizaci=F3n.
Cualquier opini=F3n expresada en este mensaje vincular=E1 exclusivamente =
a la persona que lo haya remitido, excepto cuando el mensaje establezca =
lo contrario y el remitente est=E9 autorizado para establecer que dichas =
opiniones vincular=E1n a esta entidad.
En el supuesto de que este correo se recibiera por error, rogamos =
procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en =
cualquier soporte y nos informen inmediatamente llamando al tel=E9fono =
34 91 7095401 o a la direcci=F3n de correo electr=F3nico remitente. =
Gracias.
****************************** DISCLAIMER ******************************
The information contained in this message is for the exclusive use of =
the named person. It can not be copied, transmitted to third parties or =
stored by the latter, except if authorised by the sender.
It may contain confidential or legally privileged information whose =
legal regime is not affected by the fact that this information has been =
sent by e-mail.=20
Its erroneous transmission to a person other than the real named person =
neither implies any modification of this named person nor a renunciation =
of the eventual confidentiality or legal regime affecting the use of =
concerned message.
Any views expressed in this message are binding exclusively upon the =
individual sender, except where the message states otherwise and the =
sender is authorised to bind this entity.=20
If you receive this message in error, please delete it without =
transmitting it to any third party or keeping it in any form and notify =
us immediately either by phone (34 91 7095401) or using the e- mail =
address of the sender. Thank You.
|
|
From: Abel M. <am...@bo...> - 2006-12-12 11:12:03
|
Hi everyone,
we're upgrading our quickfix applications to last version, 1.12.4, and=20
we found some problems, so maybe someone could give us a hand.
Compiling the version, we've seen this warning:
C++/MySQLConnection.h:98: warning: suggest parentheses around assignment =
used, as truth value
which is this line:
while ( row =3D mysql_fetch_row( m_result ) )
We put the parentheses in order to avoid the warning, but now, we=20
compile the application and it crashs with a core.
#0 0x00c7fcdf in raise () from /lib/tls/libc.so.6
#1 0x00c814e5 in abort () from /lib/tls/libc.so.6
#2 0x08061b6b in Unexpected () at src/vtfix.cpp:25
#3 0x00711567 in std::terminate () from /usr/lib/libstdc++.so.5
#4 0x007113f5 in __cxa_call_unexpected () from /usr/lib/libstdc++.so.5
#5 0x00e7e928 in Session (this=3D0x96ec7e0, application=3D@0x0,=20
messageStoreFactory=3D@0x0, sessionID=3D@0x96f6198, =
dataDictionary=3D@0x118a2f0,
sessionTime=3D@0x118a290, pLogFactory=3D0x0) at Mutex.h:76
#6 0x00ea8067 in FIX::SessionFactory::create (this=3D0x118a560,=20
sessionID=3D@0x96b90a0, settings=3D@0x96e1474) at Field.h:308
#7 0x00eb9e23 in FIX::Acceptor::initialize (this=3D0x96cc3b0) at=20
stl_tree.h:199
#8 0x00eb98a0 in FIX::Acceptor::Acceptor$base () at stl_function.h:197
#9 0x00ecf0fe in FIX::ThreadedSocketAcceptor::ThreadedSocketAcceptor () =
at new:89
It happens when we are making the new to a ThreadadSocketAcceptor =
object.
_store_factory =3D new FIX::MySQLStoreFactory( *_settings );
_log_factory =3D new FIX::MySQLLogFactory( *_settings );
=20
try {
_acceptor =3D new FIX::ThreadedSocketAcceptor (*_application,=20
*_store_factory,
*_settings, *_log_factory); =20
} =20
quickfix is compile with ./configure --with-mysql=3D/usr in order to =
have=20
mysql support. It seems that we're missing something, but we are stuck=20
with this problem, so we'd appreciate your comments.
Regards,
Abel Monroy Ferrero
****************************** AVISO LEGAL =
******************************
La informaci=F3n contenida en este mensaje es para uso exclusivo de su =
destinatario. No debe copiarse, transmitirse a terceros ni guardarse por =
estos =FAltimos, salvo autorizaci=F3n del remitente.
Puede contener informaci=F3n confidencial o legalmente protegida cuyo =
r=E9gimen legal de utilizaci=F3n no se ve afectado por el hecho de que =
haya sido enviada por correo electr=F3nico.
Su env=EDo por error a una persona distinta de su destinatario real no =
implica que se haya modificado tal destinatario ni supone renuncia a su =
eventual car=E1cter confidencial o al r=E9gimen legal que rija su =
utilizaci=F3n.
Cualquier opini=F3n expresada en este mensaje vincular=E1 exclusivamente =
a la persona que lo haya remitido, excepto cuando el mensaje establezca =
lo contrario y el remitente est=E9 autorizado para establecer que dichas =
opiniones vincular=E1n a esta entidad.
En el supuesto de que este correo se recibiera por error, rogamos =
procedan a borrarlo, sin reenviarlo a terceros ni conservarlo en =
cualquier soporte y nos informen inmediatamente llamando al tel=E9fono =
34 91 7095401 o a la direcci=F3n de correo electr=F3nico remitente. =
Gracias.
****************************** DISCLAIMER ******************************
The information contained in this message is for the exclusive use of =
the named person. It can not be copied, transmitted to third parties or =
stored by the latter, except if authorised by the sender.
It may contain confidential or legally privileged information whose =
legal regime is not affected by the fact that this information has been =
sent by e-mail.=20
Its erroneous transmission to a person other than the real named person =
neither implies any modification of this named person nor a renunciation =
of the eventual confidentiality or legal regime affecting the use of =
concerned message.
Any views expressed in this message are binding exclusively upon the =
individual sender, except where the message states otherwise and the =
sender is authorised to bind this entity.=20
If you receive this message in error, please delete it without =
transmitting it to any third party or keeping it in any form and notify =
us immediately either by phone (34 91 7095401) or using the e- mail =
address of the sender. Thank You.
|
|
From: <Ste...@de...> - 2006-12-12 07:07:42
|
Hi all, I try to build Quickfix 1.12.4 with the SunPro compiler . . . ..................................................................................................................................................................... Envrionment: OS: SunOS 5.9 CC: SunC++ 5.8 ..................................................................................................................................................................... Doing: Setting the environment vars CC= .... CFLAGS= .... etc. (http://www.quickfixengine.org/quickfix/doc/html/install.html) calling ./configure calling make clean calling make ..................................................................................................................................................................... Error Message: CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -ansi passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wpointer-arith passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wwrite-strings passed to ld, if ld is invoked, ignored otherwise /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- n /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- W /usr/ccs/bin/ld: illegal option -- w usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) *** Error code 1 make: Fatal error: Command failed for target `at' Current working directory /export/home/hoelste/dev/quickfix/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ..................................................................................................................................................................... Has anyone a description, whats going wrong? I think configure creates an incorrect Makefile. Has anyone a solution for this issue? If I use g++ 4.02 on the same maschine, all will be fine. However, I m u s t use the sun compiler. Many Thanks Stefan ----------------------------------------- Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen. Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen ist nicht gestattet. The information contained in this message is confidential or protected by law. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited. |
|
From: Andrew M. <an...@nm...> - 2006-12-08 20:33:02
|
I would like it if the log viewer could be pointed at a database instead of a file. That isn't currently possible yet is it? I may add that if other people want it also. Andrew On Fri, 8 Dec 2006, Oren Miller wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > A lot of people have been asking about getting the source code to the > logviewer. We are not doing source distributions currently, however > the source is available from the subversion repository. I've added > instructions on retrieving it to the developer page. > > http://www.quickfixengine.org/developers.html > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
|
From: Jin <ji...@ti...> - 2006-12-08 19:38:21
|
This problem just occur when using multi-threading-debug library link. When using just /mt, no such problem. Jin |
|
From: Jin <ji...@ti...> - 2006-12-08 19:26:34
|
I am using visual studio 2005. I wrote a GUI program to communicate with other counterpart. But when I finish compile to link the MFC GUI to quickfix.lib, I am so frustrated.... the main problem is that: msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in FixConn.obj msvcprtd.lib(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in libcpmtd.lib(xlock.obj) I know this is because the MFC library is conflict with std c++ library I tried every method in microsoft knowledge base and some other source, but still don't work... The referrence as following: "A LNK2005 error occurs when the CRT library and MFC libraries are linked in the wrong order in Visual C++" http://support.microsoft.com/kb/148652 "Linker Errors, CString, ATL, MFC, and YOU!" http://www.codeproject.com/buglist/linkererrors.asp?df=100&forumid=15354&exp=0&select=548037 somebody can help? great thanks! Jin |
|
From: Brian C. <co...@oc...> - 2006-12-08 19:22:54
|
There's also a Java-swing log viewer/ parser called Log4FIX available at opentradingsolutions.org. You can integrate this viewer as a QuickFIX/J Log or use it as a standalone application to parse existing FIX files. The standalone application can parse any FIX engine's log file or even network sniffer log files (e.g. WireShark). Log4FIX has been sitting in beta 2 on sourceforge for a while. The code in subversion is considered 1.0. I'll eventually get a release on sourceforge. NOTE: your trading application does not need to depend on QuickFIX/J for this application to be useful. Brian Coyner On Dec 8, 2006, at 1:02 PM, Oren Miller wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/ > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > A lot of people have been asking about getting the source code to the > logviewer. We are not doing source distributions currently, however > the source is available from the subversion repository. I've added > instructions on retrieving it to the developer page. > > http://www.quickfixengine.org/developers.html > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
|
From: Oren M. <or...@qu...> - 2006-12-08 19:02:56
|
A lot of people have been asking about getting the source code to the logviewer. We are not doing source distributions currently, however the source is available from the subversion repository. I've added instructions on retrieving it to the developer page. http://www.quickfixengine.org/developers.html |
|
From: Andrew M. <an...@nm...> - 2006-12-08 14:05:38
|
Lots of people use it in production. It's reliable. On Fri, 8 Dec 2006, Frans van der Reijden wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/i= ndex.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > hi > > i'm about to use quickfix for a simple but important application. the > application should be available 7x24 hours and run on solaris (maybe > linux is an option too). being a newbie to fix (and quickfix in > specific), i was worried to see some posts that allege that quickfix is > poorly designed and not reliable at all. as i don't have the time to do > lots of tests on the reliability of the the library, i wonder whether > some of you can give me some feedback regarding their experience with > quickfix. > > i'd appreciate your comments > > regards, > frans van der reijden > > --=20 > Unitek Engineering AG Telefon +41 1 266 88 27 > M=FCnstergasse 12 Zentrale +41 1 266 88 11 > 8001 Z=FCrich Fax +41 1 266 88 10 > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |
|
From: Frans v. d. R. <fr...@un...> - 2006-12-08 13:07:20
|
hi forgot to say: i'm talking about the c++-version of quickfix. regards frans van der reijden Frans van der Reijden schrieb: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html= /index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > hi > > i'm about to use quickfix for a simple but important application. the=20 > application should be available 7x24 hours and run on solaris (maybe=20 > linux is an option too). being a newbie to fix (and quickfix in=20 > specific), i was worried to see some posts that allege that quickfix is= =20 > poorly designed and not reliable at all. as i don't have the time to do= =20 > lots of tests on the reliability of the the library, i wonder whether=20 > some of you can give me some feedback regarding their experience with=20 > quickfix. > > i'd appreciate your comments > > regards, > frans van der reijden > > =20 --=20 Unitek Engineering AG Telefon +41 1 266 88 27 M=FCnstergasse 12 Zentrale +41 1 266 88 11 8001 Z=FCrich Fax +41 1 266 88 10=20 |
|
From: Frans v. d. R. <fr...@un...> - 2006-12-08 12:52:51
|
hi i'm about to use quickfix for a simple but important application. the=20 application should be available 7x24 hours and run on solaris (maybe=20 linux is an option too). being a newbie to fix (and quickfix in=20 specific), i was worried to see some posts that allege that quickfix is=20 poorly designed and not reliable at all. as i don't have the time to do=20 lots of tests on the reliability of the the library, i wonder whether=20 some of you can give me some feedback regarding their experience with=20 quickfix. i'd appreciate your comments regards, frans van der reijden --=20 Unitek Engineering AG Telefon +41 1 266 88 27 M=FCnstergasse 12 Zentrale +41 1 266 88 11 8001 Z=FCrich Fax +41 1 266 88 10=20 |
|
From: gm-mrktc <gm...@ma...> - 2006-12-07 20:43:34
|
Nick Volpe wrote: > > In my > implementation, each FIX application message I receive needs to update > certain records in the DB behind my investment management system. I've > noticed that on rare occasions, this can take up to a minute and prevents > my application from sending heartbeat messages. > Nick, for applications like this, we have become quite enamored of the idea of a Staged Event Driven Architecture, SEDA (http://www.eecs.harvard.edu/~mdw/proj/seda/). When it comes down to it, it really is a matter of passing messages through a queue as Nick Fortescue suggested, but it's a useful abstraction that you can implement yourself, or there are many frameworks that implement it in one way or another. The basic idea is that you break up your message processing into a number of "stages", and in the most basic setup, you have one thread per stage that are connected by a thread-safe queue like the ones found in java.util.concurrent. It requires a little bit of a change in how you think about coding your application, because you need to start thinking in "message passing" terms rather than "method invoking" terms. So returning values and throwing exceptions from your stages become harder. However we find it to be a logical construct that likely has good scaling characteristics. There are several projects and libraries that will manage the staging framework for you, allowing you to implement just the "stage" logic. We were using a project called JCyclone for a while, which provided a basic framework. However we now use a "message-driven POJO" setup using ActiveMQ and Spring (a good--if a little out of date--tutorial is here: http://blog.interface21.com/main/2006/08/11/message-driven-pojos/). Other libraries like Mule, and MINA implement SEDA in their own way, but we found neither of these really fit our needs. It may be the fact that these frameworks are overkill for what you need, and you really just want to implement a simple queue-and-two-threads solution that does exactly what you need. But feel free to see how we do it. All the code for our order routing server is here http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/oms/src/main/java/org/marketcetera/oms. OutgoingMessageHandler.java implements our main "stage", with its entry point, "handleMessage". Then Spring and ActiveMQ do the heavy lifting. A sample Spring configuration can be found here http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/oms/src/main/resources/oms.xml (it includes some of the other xml files in the same directory). Anyway, hope this helps. graham -- View this message in context: http://www.nabble.com/FIX-Session-Dropped-tf2754627.html#a7746960 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
|
From: PaulVR <p.r...@gm...> - 2006-12-07 19:24:16
|
To initialise an initiator, I populate a FIX::SessionSettings object and then pass it to the initiator's constructor. Is there a way to query the information passed in in the FIX::SessionSettings object when it includes more fields than QuickFIX requires? I noticed that the Session's DataDictionary will only contain the details needed for the Session and it will not include additional fields passed in during initialisation whilst the initiator does not provide the interface to get the information back. Since when messages arrive I have a SessionID, I could look up associated read-only details such as the name of a gateway or a counterparty. At the moment I keep FIX::SessionSettings separately in addition to what I pass to the initiator's constructor and then query these but if it were possible to encapsulate required information in the Session, it would be better. Also, there may be a need for some read/write information: for example, I noticed that logoff may not necessarily be preceded by a successful logon, and we alert users by e-mail if a session has been disconnected. If I could keep the information about successful logons in the Session, I would not alert users to those logoffs that have not been material to the situation. As far as time it takes sessions to log on or log off is concerned, when one initiator (ThreadedSocketInitiator) handles many (around 13) sessions, I noticed that if I were to choose to initiate "good" (that connect without problems) sessions only, these would connect almost instantaneously but when intermingled with and hampered by "bad" ones, they may take a little while. The same goes for log-offs: is there a way to tune the engine to terminate a service as quickly as possible? I tried to experiment with calling .logout() on sessions before calling stop() on the initiator and it appeared to have some effect, although not in a predictable manner. Thank you. Paul -- View this message in context: http://www.nabble.com/Session-details-storage--time-taking-to-log-on-log-off-with-multiple-sessions-tf2776539.html#a7745872 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. |
|
From: Polina <po...@it...> - 2006-12-07 14:50:11
|
Oren Miller <oren@...> writes: > > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > Is it possible you can try this with the latest release? > --oren > > > On Oct 17, 2006, at 8:43 AM, Greg Snow wrote: > > We have an application using the QuickFix .NET API (Quickfix version 1.10.2). When trying to run unit tests using the NUnit framework, we are getting exceptions of the type ‘System.ArgumentException : Cannot pass GCHandle across app domains.’ At first, it appeared to be a bug in our code, but that doesn’t seem to be the case. This exception only occurs when unit testing with NUnit. We can compile to an executable and the same code runs without errors. > The exception is being thrown from mscorlib.dll (line 118 of the gcroot.h header). The function throwing the exception and the debugger’s stack trace are attached in a text file. > I have also come across another develop with the exact same problem (his initial post is here: http://sourceforge.net/mailarchive/message.php? msg_id=10062941). I contacted him and he said that he never came up with a solution and was forced to write his own FIX implementation. Any help on this issue would be appreciated. Thanks. > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Quickfix-developers mailing list > Quickfix-developers@... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers We have the same problem with Quickfix and NUnit. Is your problem resolved? What was a way to resolve the problem? Thanks |
|
From: Nick V. <ni...@ad...> - 2006-12-07 05:57:38
|
I'm using QF 1.11.0 for Java. and have a problem related to QuickFIX=20 sending an unexpected logout request. As you can see, in my configuration file for QuickFIX, I have a session=20 that starts at 22:40 and end as 22:35 (almost 24hrs). ConnectionType=3Dinitiator StartTime=3D22:40:00 EndTime=3D22:35:00 The counterparty that I'm connected to will send a logout message at=20 22:30. From the event log, you can see that QuickFIX receives this logout= =20 request and disconnects at 22:30, as expected. Then at 22:45, it tries to= =20 establish a connection with my counterparty, which it seems to do=20 successfully. But after 30 seconds or so, it disconnects. 20061205-22:30:00 : Received logout request 20061205-22:30:00 : Sending logout response 20061205-22:30:00 : Disconnecting 20061205-22:45:55 : Created session 20061205-22:45:55 : Connecting to xxx.xxx.xxx.xxx on port xxxx 20061205-22:45:55 : Connection succeeded 20061205-22:45:56 : Initiated logon request 20061205-22:45:56 : Received logon response 20061205-22:46:29 : Disconnecting For completeness, I've attached the message log. You can see that at=20 22:30, my counterparty sends a test request followed by a logout request,=20 which QuickFIX correctly responds to. Then at 22:46, QuickFIX sends a=20 logon message to my counterparty, which is accepted. Then around 20=20 seconds later. QuickFIX sends a logout message and the connection is lost. 8=3DFIX.4.2=019=3D64=0135=3D0=0134=3D2175=0149=3DQUICKFIX=0152=3D20061206-2= 2:29:54.223=0156=3DCOUNTERPARTY=0110=3D131=01 8=3DFIX.4.2=019=3D100=0135=3D1=0149=3DCOUNTERPARTY=0156=3DQUICKFIX=0134=3D2= 183=0152=3D20061206-22:30:00=01112=3D!@SF@!_Logout=20 20061206-22:30:00:223=0110=3D036=01 8=3DFIX.4.2=019=3D104=0135=3D0=0134=3D2176=0149=3DQUICKFIX=0152=3D20061206-= 22:30:00.536=0156=3DCOUNTERPARTY=01112=3D!@SF@!_Logout=20 20061206-22:30:00:223=0110=3D245=01 8=3DFIX.4.2=019=3D60=0135=3D5=0149=3DCOUNTERPARTY=0156=3DQUICKFIX=0134=3D21= 84=0152=3D20061206-22:30:00=0110=3D174=01 8=3DFIX.4.2=019=3D64=0135=3D5=0134=3D2177=0149=3DQUICKFIX=0152=3D20061206-2= 2:30:00.551=0156=3DCOUNTERPARTY=0110=3D125=01 8=3DFIX.4.2=019=3D73=0135=3DA=0134=3D1=0149=3DQUICKFIX=0152=3D20061206-22:4= 6:10.592=0156=3DCOUNTERPARTY=0198=3D0=01108=3D30=0110=3D015=01 8=3DFIX.4.2=019=3D69=0135=3DA=0149=3DCOUNTERPARTY=0156=3DQUICKFIX=0134=3D1= =0152=3D20061206-22:46:10=0198=3D0=01108=3D30=0110=3D070=01 8=3DFIX.4.2=019=3D61=0135=3D5=0134=3D2=0149=3DQUICKFIX=0152=3D20061206-22:4= 6:30.749=0156=3DCOUNTERPARTY=0110=3D238=01 Can anyone see where the problem is?? Could QuickFIX be confused by the=20 session start and end times? Any help would be greatly appreciated. Thanks. Nik ***************************************************************************= *********************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized use of the information contained in this email or its attachments is prohibited. If this email is received = in error, please contact the sender and delete the material from your computer systems. Do not use, copy, or disclose the contents of this email or any attachments. Abu Dhabi Investment Authority (ADIA) accepts no responsibility for the content of this email to the extent that the same consists of statements and opinions made which are the senders own and not made on behalf of ADIA. Nor does ADIA accept any liability for any errors or omissions in the content of this email caused by electronic and technical failures. Although ADIA has taken reasonable precautions to ensure that no viruses are present in this email, ADIA accepts no responsibility for any loss or damage arising from the use of this email or its attachments. ***************************************************************************= *********************************** |
|
From: Nick F. <nfo...@gm...> - 2006-12-06 10:32:18
|
A simpler way of doing this would be for the Fix application to hand each message on to a queue, which is then fetched from by a worker thread which does the work. That way you only need one extra thread. Be aware this will add a bit of latency to your application, it isn't a no brainer. If you are using java 5 there are some nice classes in java.util.concurrentto help you manage the concurrency issues. Try looking at LinkedBlockingQueue or ConcurrentLinkedQueue depending on your design. Nick On 12/4/06, Nick Volpe <ni...@ad...> wrote: > > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > > > I'm using QF 1.11.0 for Java. I've implemented a class that extends > quickfix.MessageCracker and implements quickfix.Application. In my > implementation, each FIX application message I receive needs to update > certain records in the DB behind my investment management system. I've > noticed that on rare occasions, this can take up to a minute and prevents my > application from sending heartbeat messages. This results in my > counterparty sending a test request, which I'm unable to process, since my > application is still busy trying to update my database, which then causes > the counterparty to drop the FIX session. > > Does anyone have any suggestions how to manage this? I thought of > spawning a new thread for each FIX application message I receive, which > would process the message, but is there a better way? > > Thanks > > Nik > > > ************************************************************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. Any unauthorized use of the information contained > > in this email or its attachments is prohibited. If this email is received > in > > error, please contact the sender and delete the material from your > > computer systems. Do not use, copy, or disclose the contents of this > > email or any attachments. > > Abu Dhabi Investment Authority (ADIA) accepts no responsibility for > > the content of this email to the extent that the same consists of > > statements and opinions made which are the senders own and not > > made on behalf of ADIA. Nor does ADIA accept any liability for any > > errors or omissions in the content of this email caused by electronic > > and technical failures. > > Although ADIA has taken reasonable precautions to ensure that no > > viruses are present in this email, ADIA accepts no responsibility for > > any loss or damage arising from the use of this email or its > > attachments. > > > ************************************************************************************************************** > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > |
|
From: Nick V. <ni...@ad...> - 2006-12-04 16:01:26
|
I'm using QF 1.11.0 for Java. I've implemented a class that extends quickfix.MessageCracker and implements quickfix.Application. In my implementation, each FIX application message I receive needs to update certain records in the DB behind my investment management system. I've noticed that on rare occasions, this can take up to a minute and prevents my application from sending heartbeat messages. This results in my counterparty sending a test request, which I'm unable to process, since my application is still busy trying to update my database, which then causes the counterparty to drop the FIX session. Does anyone have any suggestions how to manage this? I thought of spawning a new thread for each FIX application message I receive, which would process the message, but is there a better way? Thanks Nik ************************************************************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized use of the information contained in this email or its attachments is prohibited. If this email is received in error, please contact the sender and delete the material from your computer systems. Do not use, copy, or disclose the contents of this email or any attachments. Abu Dhabi Investment Authority (ADIA) accepts no responsibility for the content of this email to the extent that the same consists of statements and opinions made which are the senders own and not made on behalf of ADIA. Nor does ADIA accept any liability for any errors or omissions in the content of this email caused by electronic and technical failures. Although ADIA has taken reasonable precautions to ensure that no viruses are present in this email, ADIA accepts no responsibility for any loss or damage arising from the use of this email or its attachments. ************************************************************************************************************** |
|
From: Private a. C. <nn6...@gm...> - 2006-12-02 18:04:01
|
Quickfix Community, I have found a lot of good information searching through these mailing lists and am looking for someone who can provide archives of this mailing list prior to 10/1/2006. I am using Thunderbird to manage my e-mail and can utilize any files in the traditional Unix mbox format. I know about the archives on the web site, but am looking for something I can use while disconnected from the Internet. Please respond privately if you can provide any backfills. |
|
From: Kline - F. S. <s.f...@kl...> - 2006-11-30 15:54:32
|
/**************************************************************************** ** Copyright (c) quickfixengine.org All rights reserved. ** ** This file is part of the QuickFIX FIX Engine ** ** This file may be distributed under the terms of the quickfixengine.org ** license as defined by quickfixengine.org and appearing in the file ** LICENSE included in the packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.quickfixengine.org/LICENSE for licensing information. ** ** Contact as...@qu... if any conditions of this licensing are ** not clear to you. ** ****************************************************************************/ #ifdef _MSC_VER #include "stdafx.h" #else #include "config.h" #endif #include "CallStack.h" #ifdef HAVE_ODBC #include "OdbcLog.h" #include "SessionID.h" #include "SessionSettings.h" #include "Utility.h" #include "strptime.h" #include <fstream> namespace FIX { const std::string OdbcLogFactory::DEFAULT_USER = "sa"; const std::string OdbcLogFactory::DEFAULT_PASSWORD = ""; const std::string OdbcLogFactory::DEFAULT_CONNECTION_STRING = "DATABASE=quickfix;DRIVER={SQL Server};SERVER=(local);"; OdbcLog::OdbcLog ( const SessionID& s, const std::string& user, const std::string& password, const std::string& connectionString ) { m_pSessionID = new SessionID( s ); m_pConnection = new OdbcConnection( user, password, connectionString ); } OdbcLog::OdbcLog ( const std::string& user, const std::string& password, const std::string& connectionString ) : m_pSessionID( 0 ) { m_pConnection = new OdbcConnection( user, password, connectionString ); } OdbcLog::~OdbcLog() { delete m_pSessionID; delete m_pConnection; } OdbcLogFactory::OdbcLogFactory( const std::string& user, const std::string& password, const std::string& connectionString ) : m_user( user ), m_password( password ), m_connectionString( connectionString ), m_useSettings( false ) { } OdbcLogFactory::OdbcLogFactory() : m_user( DEFAULT_USER ), m_password( DEFAULT_PASSWORD ), m_connectionString( DEFAULT_CONNECTION_STRING ), m_useSettings( false ) { } OdbcLogFactory::~OdbcLogFactory() { } Log* OdbcLogFactory::create() { QF_STACK_PUSH(OdbcLogFactory::create) std::string database; std::string user; std::string connectionString; init( m_settings.get(), database, user, connectionString ); return new OdbcLog( database, user, connectionString ); QF_STACK_POP } Log* OdbcLogFactory::create( const SessionID& s ) { QF_STACK_PUSH(OdbcLogFactory::create) std::string database; std::string user; std::string connectionString; Dictionary settings; if( m_settings.has(s) ) settings = m_settings.get( s ); init( settings, database, user, connectionString ); return new OdbcLog( s, database, user, connectionString ); QF_STACK_POP } void OdbcLogFactory::init( const Dictionary& settings, std::string& user, std::string& password, std::string& connectionString ) { QF_STACK_PUSH(OdbcLogFactory::init) user = DEFAULT_USER; password = DEFAULT_PASSWORD; connectionString = DEFAULT_CONNECTION_STRING; if( m_useSettings ) { try { user = settings.getString( ODBC_LOG_USER ); } catch( ConfigError& ) {} try { password = settings.getString( ODBC_LOG_PASSWORD ); } catch( ConfigError& ) {} try { connectionString = settings.getString( ODBC_LOG_CONNECTION_STRING ); } catch( ConfigError& ) {} } else { user = m_user; password = m_password; connectionString = m_connectionString; } QF_STACK_POP } void OdbcLogFactory::destroy( Log* pLog ) { QF_STACK_PUSH(OdbcLogFactory::destroy) delete pLog; QF_STACK_POP } void OdbcLog::clear() { QF_STACK_PUSH(OdbcLog::clear) std::stringstream whereClause; std::stringstream messagesQuery; std::stringstream eventQuery; whereClause << "WHERE "; if( m_pSessionID ) { whereClause << "BeginString = '" << m_pSessionID->getBeginString().getValue() << "' " << "AND SenderCompID = '" << m_pSessionID->getSenderCompID().getValue() << "' " << "AND TargetCompID = '" << m_pSessionID->getTargetCompID().getValue() << "' "; if( m_pSessionID->getSessionQualifier().size() ) whereClause << "AND SessionQualifier = '" << m_pSessionID->getSessionQualifier() << "'"; } else { whereClause << "BeginString = NULL AND SenderCompID = NULL && TargetCompID = NULL"; } messagesQuery << "DELETE FROM messages_log " << whereClause.str(); eventQuery << "DELETE FROM event_log " << whereClause.str(); OdbcQuery messages( messagesQuery.str() ); OdbcQuery event( eventQuery.str() ); m_pConnection->execute( messages ); m_pConnection->execute( event ); QF_STACK_POP } void OdbcLog::insert( const std::string& table, const std::string value ) { QF_STACK_PUSH(OdbcLog::insert) UtcTimeStamp time; int year, month, day, hour, minute, second, millis; time.getYMD( year, month, day ); time.getHMS( hour, minute, second, millis ); char sqlTime[ 20 ]; STRING_SPRINTF( sqlTime, "%d-%02d-%02d %02d:%02d:%02d", year, month, day, hour, minute, second ); std::string valueCopy = value; string_replace( "\"", "\\\"", valueCopy ); std::stringstream queryString; queryString << "INSERT INTO " << table << " " << "(time, beginstring, sendercompid, targetcompid, session_qualifier, text) " << "VALUES (" << "{ts '" << sqlTime << "'},"; if( m_pSessionID ) { queryString << "'" << m_pSessionID->getBeginString().getValue() << "'," << "'" << m_pSessionID->getSenderCompID().getValue() << "'," << "'" << m_pSessionID->getTargetCompID().getValue() << "',"; if( m_pSessionID->getSessionQualifier() == "" ) queryString << "NULL" << ","; else queryString << "'" << m_pSessionID->getSessionQualifier() << "',"; } else { queryString << "NULL, NULL, NULL, NULL"; } queryString << "utl_raw.cast_to_raw('" << valueCopy << "'))"; OdbcQuery query( queryString.str() ); m_pConnection->execute( query ); QF_STACK_POP } } #endif |
|
From: Kline - F. S. <s.f...@kl...> - 2006-11-30 15:51:38
|
I am using QuickFix 1.12.4 with Oracle database through ODBC connection.. I have found some syntax error in the query's text.. I have modified the file and for a correct syntax with Oracle.. (see atatchment) In run-time mode, when I stop the database service.. Quickfix at executor side (that is connected with Oracle through ODBC) notify the "connection lost" with a Visual C++ runtime error.. and then kill the executor application.. In debug-mode.. the debug intercept the Visual C++ runtime error and then when the connection is reestabilish continue the normal execution of executor application.. (and the failover mechanism work well) How I can bypass the message error in the run-time mode..? In which source file is generate this error message? Thanks.. -- Ing. Stefano Facchetti** * * *KLINE srl */Via Solferino, 4/b 25024 Leno (BS) Tel. 030 9048384 Fax 02 700443977/** This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This message represents the opinion of the sender and not necessarily the opinion of the company. |
|
From: H. S. <st...@un...> - 2006-11-30 14:30:43
|
Hi Oren, I just tried the current version from svn and still file descriptors are eaten up by the QF lib. It does only happen when the connect times out. Cheers, Heri On Wed, 2006-11-29 at 11:41 -0600, Oren Miller wrote: > I believe we put a fix for this in svn. Would you be able to check > out the latest and see if the problem persists? > > --oren > > On Nov 29, 2006, at 8:13 AM, H. Steuer wrote: > > > hi oren, > > > > i just discovered an issue with QF 1.12.4. QF does not close sockets > > when connections fail. therefore it starts eating one file descriptor > > per failed connection attempt. you can easily reproduce it by using > > the > > ThreadedSocketInitiator instead of the unthreaded version in the > > tradeclient example. now configure the engine to connect to an non > > existing address (my peer does not return RST but simply times out as > > the peer is turned off). > > > > for every failed connection attempt that the screenlogfactory displays > > on the screen, there is one more file descriptor open when having a > > look > > on the process (used fstat and lsof to verify). > > > > its QF 1.12.4 on FreeBSD, maybe someone on the list can verify the > > problem. > > > > > > > > cheers, > > heri > > > > > > > > > |
|
From: Good T. <aa...@rd...> - 2006-11-30 13:40:58
|
which leads me to the question Is there an FAQ? aaron -- Those nerds are a threat to our way of life -Revenge of the Nerds On Thu, Nov 30, 2006 at 04:56:22PM +0530, Eranga Samararathna wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi, > > > > Is Quickfix support for failover? If answer is YES Then how? > > Is Quickfix support for hotbackups? If answers is YES Then how? > > Is there any way to measure (monitor) load in Quickfix server ? > > > > If anyone can answer these question, highly appreciate > > > > BR, > > > > Eranga > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users |
|
From: Eranga S. <pe...@ri...> - 2006-11-30 11:26:43
|
Hi, Is Quickfix support for failover? If answer is YES Then how? Is Quickfix support for hotbackups? If answers is YES Then how? Is there any way to measure (monitor) load in Quickfix server ? If anyone can answer these question, highly appreciate BR, Eranga |
|
From: Howard E. <how...@pi...> - 2006-11-29 21:25:21
|
When building quickfix-1.11.0 on RH Linux 4.0, gcc 3.4.3, STLPort 5.0.2 I get the build error below. Removing the with_stlport config directive allows me to build quickfix successfully. =20 Two questions: 1. Has anyone successfully built qf 1.11.x with stlport 5.0.x + gcc 3.4.3 on linux? If so, how? 2. If I do not use stlport what type of hit am I taking? =20 Thanks, =20 -Howard =20 depmode=3Dgcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=3Dcompile g++ -DHAVE_CONFIG_H -I. -I. = -I../.. -I. -I.. -I../.. -g -O2 -I/usr/local/include/stlport -I/usr/local/pgsql/include -I/usr/include/libxml2 -c -o ConfigLexer.lo `test -f 'ConfigLexer.cpp' || echo './'`ConfigLexer.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I.. -I../.. -g -O2 -I/usr/local/include/stlport -I/usr/local/pgsql/include -I/usr/include/libxml2 -c ConfigLexer.cpp -MT ConfigLexer.lo -MD -MP -MF deps/ConfigLexer.TPlo -fPIC -DPIC -o ConfigLexer.lo ConfigLexer.cpp: In member function `int yyFlexLexer::yyinput()': ConfigLexer.cpp:1133: error: `EOF' undeclared (first use this function) ConfigLexer.cpp:1133: error: (Each undeclared identifier is reported only once for each function it appears in.) make[4]: *** [ConfigLexer.lo] Error 1 make[4]: Leaving directory `/usr/local/src/quickfix-1.11.0-socktimeout/src/C++' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/quickfix-1.11.0-socktimeout/src/C++' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/quickfix-1.11.0-socktimeout/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/quickfix-1.11.0-socktimeout' make: *** [all] Error 2 Disclaimer: Any references to Pipeline performance contained herein are = based on historic performance levels which Pipeline expects to maintain = or exceed but nevertheless does not guarantee. Congested networks, price = volatility, or other extraordinary events may impede future trading = activities and degrade performance statistics. |