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: Steve B. <st...@te...> - 2007-08-15 20:03:47
|
Hi Jeff, Based on the stack trace, the error in the JdbcStore is caused by a null BeginString in the session ID. I've never seen this problem before and I don't have many ideas right now how that would happen. I don't see anything in the log file that would cause the problem. I suppose one possibility is that your application is getting a reference to a session's ID, stores it away somewhere, and then modifies it for some reason (e.g., using the fromString() method on Session ID). Just a wild guess and probably not the actual issue, but maybe it will trigger some ideas on your part. Regards, Steve > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > here is my config file: > [default] > BeginString=FIX.4.2 > ConnectionType=initiator > JdbcDriver=com.mysql.jdbc.Driver > JdbcURL=jdbc:mysql://db/quickfixdev > JdbcUser=root > JdbcPassword=password > JdbcLogHeartBeats=N > > [session] > SenderCompID=sim.cqig.com > TargetCompID=sim.calyonfinancial.com > SocketConnectHost=128.128.128.128 > SocketConnectPort=9999 > StartTime=06:00:00 > EndTime=21:30:00 > HeartBtInt=30 > ReconnectInterval=5 > > [VALIDATION] > CheckLatency=N > > yes, I am using the JdbcLog and it is working fine. > I am using JdbcStore and JdbcLog. > The database seems to be working fine. I get logging before and after > this NPE occurs. > Around this error, I had a forced logout and subsequent logon and lost > processing of some of the messages received. > > Jeff Schwartz wrote: >> Can someone tell me what this means? >> Is there some configuration I can do to make this clearer? >> At first I thought it was unimportant, but I have had forced logouts >> and socket exceptions occur at the same time as well. >> >> Thanks, >> Jeff >> >> Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn >> WARNING: #0001 was active for 5641 milliseconds and has been removed >> automaticaly. The Thread responsible was named 'QFJ Message >> Processor', but the last SQL it performed is unknown because the trace >> property is not enabled. >> Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn >> WARNING: #0002 was active for 8485 milliseconds and has been removed >> automaticaly. The Thread responsible was named 'QFJ Timer', but the >> last SQL it performed is unknown because the trace property is not >> enabled. >> Aug 15, 2007 1:56:23 PM >> quickfix.mina.SessionConnector$SessionTimerTask run >> SEVERE: Error during timer processing >> java.lang.NullPointerException >> at >> com.mysql.jdbc.ServerPreparedStatement.getBinding(ServerPreparedStatement.java:733) >> >> at >> com.mysql.jdbc.ServerPreparedStatement.setString(ServerPreparedStatement.java:1738) >> >> at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >> at java.lang.reflect.Method.invoke(Unknown Source) >> at >> org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100) >> at >> org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57) >> >> at >> $java.sql.Wrapper$$EnhancerByCGLIB$$ddcd5788.setString(<generated>) >> at quickfix.JdbcStore.set(JdbcStore.java:233) >> at quickfix.SessionState.set(SessionState.java:290) >> at quickfix.Session.sendRaw(Session.java:1637) >> at quickfix.Session.generateHeartbeat(Session.java:1328) >> at quickfix.Session.next(Session.java:1320) >> at >> quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.java:222) >> >> at >> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431) >> >> at >> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.runAndReset(FutureTask.java:198) >> >> at >> edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:189) >> >> at >> edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:213) >> >> at >> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) >> >> at >> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) >> >> at java.lang.Thread.run(Unknown Source) >> > > -- > Jeff Schwartz > Senior Programmer > Cornerstone Quantitative Investment Group > 203-327-0888 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Jeff S. <jsc...@cq...> - 2007-08-15 20:03:19
|
I did not have those config settings in use, and the defaul is N, so I don't think that is it. I have added them with a value of N. I am currently using mysql-connector-java-3.1.10-bin.jar. I see that they are up to 3.1.14 and 5.0.7 in a separate path. Which would you recommend I use? Thanks, Jeff Toli Kuznets wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Jeff, > > Looks like you DB connection maybe is getting closed when you get a > disconnect/logout message? > > Do you have ResetOnLogout/ResetOnDisconnect set to Y? maybe you can > try setting them to N if they are to see what happens, perhaps it'll > prevent the Jdbc connection from being closed. > > I found this link on the MySQL forum, it may be helpful (but it's hard > to say w/out knowing exactly which version of MySQL db/driver you are > using): > http://forums.mysql.com/read.php?39,44706,44751#msg-44751 > > > > On 8/15/07, Jeff Schwartz <jsc...@cq...> wrote: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> here is my config file: >> [default] >> BeginString=FIX.4.2 >> ConnectionType=initiator >> JdbcDriver=com.mysql.jdbc.Driver >> JdbcURL=jdbc:mysql://db/quickfixdev >> JdbcUser=root >> JdbcPassword=password >> JdbcLogHeartBeats=N >> >> [session] >> SenderCompID=sim.cqig.com >> TargetCompID=sim.calyonfinancial.com >> SocketConnectHost=128.128.128.128 >> SocketConnectPort=9999 >> StartTime=06:00:00 >> EndTime=21:30:00 >> HeartBtInt=30 >> ReconnectInterval=5 >> >> [VALIDATION] >> CheckLatency=N >> >> yes, I am using the JdbcLog and it is working fine. >> I am using JdbcStore and JdbcLog. >> The database seems to be working fine. I get logging before and after >> this NPE occurs. >> Around this error, I had a forced logout and subsequent logon and lost >> processing of some of the messages received. >> >> Jeff Schwartz wrote: >> >>> Can someone tell me what this means? >>> Is there some configuration I can do to make this clearer? >>> At first I thought it was unimportant, but I have had forced logouts >>> and socket exceptions occur at the same time as well. >>> >>> Thanks, >>> Jeff >>> >>> Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn >>> WARNING: #0001 was active for 5641 milliseconds and has been removed >>> automaticaly. The Thread responsible was named 'QFJ Message >>> Processor', but the last SQL it performed is unknown because the trace >>> property is not enabled. >>> Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn >>> WARNING: #0002 was active for 8485 milliseconds and has been removed >>> automaticaly. The Thread responsible was named 'QFJ Timer', but the >>> last SQL it performed is unknown because the trace property is not >>> enabled. >>> Aug 15, 2007 1:56:23 PM >>> quickfix.mina.SessionConnector$SessionTimerTask run >>> SEVERE: Error during timer processing >>> java.lang.NullPointerException >>> at >>> com.mysql.jdbc.ServerPreparedStatement.getBinding(ServerPreparedStatement.java:733) >>> >>> at >>> com.mysql.jdbc.ServerPreparedStatement.setString(ServerPreparedStatement.java:1738) >>> >>> at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >>> at java.lang.reflect.Method.invoke(Unknown Source) >>> at >>> org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100) >>> at >>> org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57) >>> >>> at $java.sql.Wrapper$$EnhancerByCGLIB$$ddcd5788.setString(<generated>) >>> at quickfix.JdbcStore.set(JdbcStore.java:233) >>> at quickfix.SessionState.set(SessionState.java:290) >>> at quickfix.Session.sendRaw(Session.java:1637) >>> at quickfix.Session.generateHeartbeat(Session.java:1328) >>> at quickfix.Session.next(Session.java:1320) >>> at >>> quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.java:222) >>> >>> at >>> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431) >>> >>> at >>> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.runAndReset(FutureTask.java:198) >>> >>> at >>> edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:189) >>> >>> at >>> edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:213) >>> >>> at >>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) >>> >>> at >>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) >>> >>> at java.lang.Thread.run(Unknown Source) >>> >>> >> -- >> Jeff Schwartz >> Senior Programmer >> Cornerstone Quantitative Investment Group >> 203-327-0888 >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> > > > -- Jeff Schwartz Senior Programmer Cornerstone Quantitative Investment Group 203-327-0888 |
|
From: Toli K. <to...@ma...> - 2007-08-15 19:45:05
|
Jeff, Looks like you DB connection maybe is getting closed when you get a disconnect/logout message? Do you have ResetOnLogout/ResetOnDisconnect set to Y? maybe you can try setting them to N if they are to see what happens, perhaps it'll prevent the Jdbc connection from being closed. I found this link on the MySQL forum, it may be helpful (but it's hard to say w/out knowing exactly which version of MySQL db/driver you are using): http://forums.mysql.com/read.php?39,44706,44751#msg-44751 On 8/15/07, Jeff Schwartz <jsc...@cq...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > here is my config file: > [default] > BeginString=FIX.4.2 > ConnectionType=initiator > JdbcDriver=com.mysql.jdbc.Driver > JdbcURL=jdbc:mysql://db/quickfixdev > JdbcUser=root > JdbcPassword=password > JdbcLogHeartBeats=N > > [session] > SenderCompID=sim.cqig.com > TargetCompID=sim.calyonfinancial.com > SocketConnectHost=128.128.128.128 > SocketConnectPort=9999 > StartTime=06:00:00 > EndTime=21:30:00 > HeartBtInt=30 > ReconnectInterval=5 > > [VALIDATION] > CheckLatency=N > > yes, I am using the JdbcLog and it is working fine. > I am using JdbcStore and JdbcLog. > The database seems to be working fine. I get logging before and after > this NPE occurs. > Around this error, I had a forced logout and subsequent logon and lost > processing of some of the messages received. > > Jeff Schwartz wrote: > > Can someone tell me what this means? > > Is there some configuration I can do to make this clearer? > > At first I thought it was unimportant, but I have had forced logouts > > and socket exceptions occur at the same time as well. > > > > Thanks, > > Jeff > > > > Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn > > WARNING: #0001 was active for 5641 milliseconds and has been removed > > automaticaly. The Thread responsible was named 'QFJ Message > > Processor', but the last SQL it performed is unknown because the trace > > property is not enabled. > > Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn > > WARNING: #0002 was active for 8485 milliseconds and has been removed > > automaticaly. The Thread responsible was named 'QFJ Timer', but the > > last SQL it performed is unknown because the trace property is not > > enabled. > > Aug 15, 2007 1:56:23 PM > > quickfix.mina.SessionConnector$SessionTimerTask run > > SEVERE: Error during timer processing > > java.lang.NullPointerException > > at > > com.mysql.jdbc.ServerPreparedStatement.getBinding(ServerPreparedStatement.java:733) > > > > at > > com.mysql.jdbc.ServerPreparedStatement.setString(ServerPreparedStatement.java:1738) > > > > at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > > org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100) > > at > > org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57) > > > > at $java.sql.Wrapper$$EnhancerByCGLIB$$ddcd5788.setString(<generated>) > > at quickfix.JdbcStore.set(JdbcStore.java:233) > > at quickfix.SessionState.set(SessionState.java:290) > > at quickfix.Session.sendRaw(Session.java:1637) > > at quickfix.Session.generateHeartbeat(Session.java:1328) > > at quickfix.Session.next(Session.java:1320) > > at > > quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.java:222) > > > > at > > edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431) > > > > at > > edu.emory.mathcs.backport.java.util.concurrent.FutureTask.runAndReset(FutureTask.java:198) > > > > at > > edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:189) > > > > at > > edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:213) > > > > at > > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) > > > > at > > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) > > > > at java.lang.Thread.run(Unknown Source) > > > > -- > Jeff Schwartz > Senior Programmer > Cornerstone Quantitative Investment Group > 203-327-0888 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Jeff S. <jsc...@cq...> - 2007-08-15 19:14:24
|
here is my config file: [default] BeginString=FIX.4.2 ConnectionType=initiator JdbcDriver=com.mysql.jdbc.Driver JdbcURL=jdbc:mysql://db/quickfixdev JdbcUser=root JdbcPassword=password JdbcLogHeartBeats=N [session] SenderCompID=sim.cqig.com TargetCompID=sim.calyonfinancial.com SocketConnectHost=128.128.128.128 SocketConnectPort=9999 StartTime=06:00:00 EndTime=21:30:00 HeartBtInt=30 ReconnectInterval=5 [VALIDATION] CheckLatency=N yes, I am using the JdbcLog and it is working fine. I am using JdbcStore and JdbcLog. The database seems to be working fine. I get logging before and after this NPE occurs. Around this error, I had a forced logout and subsequent logon and lost processing of some of the messages received. Jeff Schwartz wrote: > Can someone tell me what this means? > Is there some configuration I can do to make this clearer? > At first I thought it was unimportant, but I have had forced logouts > and socket exceptions occur at the same time as well. > > Thanks, > Jeff > > Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn > WARNING: #0001 was active for 5641 milliseconds and has been removed > automaticaly. The Thread responsible was named 'QFJ Message > Processor', but the last SQL it performed is unknown because the trace > property is not enabled. > Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn > WARNING: #0002 was active for 8485 milliseconds and has been removed > automaticaly. The Thread responsible was named 'QFJ Timer', but the > last SQL it performed is unknown because the trace property is not > enabled. > Aug 15, 2007 1:56:23 PM > quickfix.mina.SessionConnector$SessionTimerTask run > SEVERE: Error during timer processing > java.lang.NullPointerException > at > com.mysql.jdbc.ServerPreparedStatement.getBinding(ServerPreparedStatement.java:733) > > at > com.mysql.jdbc.ServerPreparedStatement.setString(ServerPreparedStatement.java:1738) > > at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100) > at > org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57) > > at $java.sql.Wrapper$$EnhancerByCGLIB$$ddcd5788.setString(<generated>) > at quickfix.JdbcStore.set(JdbcStore.java:233) > at quickfix.SessionState.set(SessionState.java:290) > at quickfix.Session.sendRaw(Session.java:1637) > at quickfix.Session.generateHeartbeat(Session.java:1328) > at quickfix.Session.next(Session.java:1320) > at > quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.java:222) > > at > edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431) > > at > edu.emory.mathcs.backport.java.util.concurrent.FutureTask.runAndReset(FutureTask.java:198) > > at > edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:189) > > at > edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:213) > > at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) > > at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) > > at java.lang.Thread.run(Unknown Source) > -- Jeff Schwartz Senior Programmer Cornerstone Quantitative Investment Group 203-327-0888 |
|
From: Toli K. <to...@ma...> - 2007-08-15 18:33:20
|
Jeff, Can you send us a snippet of your Quickfix/J config file that has the database connection information for the message store? Are you also using JdbcLog and if you are, is that working correctly? It looks like you are using a JdbcStore to store session information, and you get the NPE when you are creating a prepared statement to log the next seq num. Have you looked at the database? Do you get anything in there at all? Or do you get this error for all outgoing messages? -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Jeff S. <jsc...@cq...> - 2007-08-15 17:59:25
|
Can someone tell me what this means?
Is there some configuration I can do to make this clearer?
At first I thought it was unimportant, but I have had forced logouts and
socket exceptions occur at the same time as well.
Thanks,
Jeff
Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn
WARNING: #0001 was active for 5641 milliseconds and has been removed
automaticaly. The Thread responsible was named 'QFJ Message Processor',
but the last SQL it performed is unknown because the trace property is
not enabled.
Aug 15, 2007 1:56:23 PM org.apache.commons.logging.impl.SLF4JLog warn
WARNING: #0002 was active for 8485 milliseconds and has been removed
automaticaly. The Thread responsible was named 'QFJ Timer', but the last
SQL it performed is unknown because the trace property is not enabled.
Aug 15, 2007 1:56:23 PM quickfix.mina.SessionConnector$SessionTimerTask run
SEVERE: Error during timer processing
java.lang.NullPointerException
at
com.mysql.jdbc.ServerPreparedStatement.getBinding(ServerPreparedStatement.java:733)
at
com.mysql.jdbc.ServerPreparedStatement.setString(ServerPreparedStatement.java:1738)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100)
at
org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57)
at $java.sql.Wrapper$$EnhancerByCGLIB$$ddcd5788.setString(<generated>)
at quickfix.JdbcStore.set(JdbcStore.java:233)
at quickfix.SessionState.set(SessionState.java:290)
at quickfix.Session.sendRaw(Session.java:1637)
at quickfix.Session.generateHeartbeat(Session.java:1328)
at quickfix.Session.next(Session.java:1320)
at
quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.java:222)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.runAndReset(FutureTask.java:198)
at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:189)
at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:213)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Unknown Source)
--
Jeff Schwartz
Senior Programmer
Cornerstone Quantitative Investment Group
203-327-0888
|
|
From: Toli K. <to...@ma...> - 2007-08-13 21:07:58
|
David,
> I was hoping for something that let me do (in effect)
> msg.toString(Dictionary)
There actually is a quickfix.Message call you can use:
public void fromString(String messageData, DataDictionary dd,
boolean doValidation)
Will that work of you? you can create one message the "regular way",
then to a toString() on it and use the string-based FIX messgae to
re-create it using a custom dictionary.
Perhaps that may work for you?
--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
|
|
From: David B. <dbu...@gm...> - 2007-08-13 20:11:30
|
Right, but the problem I have is, there seems to be no way to generate the fix string based on a new dictionary. ie: everyone else expects tag 600 to be the first, but one guy want's 654 to be first. What's the normal way to accomplish this? Create a new message and copy all the fields one at a time? there is an "initializeFrom" field in FieldMap, but it's protected, so I can't just call it to clone the fields. I was hoping for something that let me do (in effect) msg.toString(Dictionary) which would render the fix string with a given dictionary. But I'm pretty sure there is no mechanism like that exists, at least as far as I can tell from the source. On 8/13/07, Steve Bate <st...@te...> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hello, > > The engine will order the tags in a repeating group based on the > data dictionary ordering. > > Steve > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > QuickFIX/J Support: http://www.quickfixj.org/support/ > > Hi Folks, > > > > I was wondering, is there a means to generate a fix message with tags in > a > > specific order? > > > > I have a destination I connect to that requires LegRefNo(654) to be the > > anchor tag in a multi leg order. > > > > So basically, they need 654 to be the first tag in each segment of the > > repeating group. > > > > any chance there's something built in for this? or should I start > > hacking? > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> > > http://get.splunk.com/_______________________________________________ > > Quickfixj-users mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Steve B. <st...@te...> - 2007-08-13 18:41:30
|
Hi, Use incrementalRefresh.getHeader().getSendingTime() Regards, Steve > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > All > > when i get a marketdataincremental refresh msg, i have setup my xml file > with the following. > > <message name="MarketDataIncrementalRefresh" msgtype="X" msgcat="app"> > <field name="MDReqID" required="N"/> > <group name="NoMDEntries" required="Y"> > == other tags === > <field name="SendingTime" required="N"/> > </message> > > The message incoming is > > > INCOMING [FIX.4.2:test->test] > <8=FIX.4.2|9=308|35=X|49=test|56=test|34=10980|52=20070813-13:14:34|262=1|268=7|279=0|269=1|55=LFZ > > 071200000F|270=6501.50|271=25|279=0|269=0|270=0.00|271=0|279=0|269=2|270=6501.50|271=25|273=14:14:33|279=0|269=7|270=6603.50|279=0|269=8|270=5999.50|279=0|269=5|270=0.00|279=0|269=4|270=0.00|10=155|> > > Now when i try and pull out tag 52 > > incrementalRefresh.getSendingTime().getValue() > > I get > > 2007-08-13 14:18:24,694 INFO (QF/J Session dispatcher: > FIX.4.2:test->test) [quickfixj.event] EVENT [FIX.4.2:test->test] <Message > 10991 Rejected: Conditionally Required Field Missing> > > --- > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and delete this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > Please refer to http://www.db.com/en/content/eu_disclosures.htm for > additional EU corporate and regulatory > disclosures.------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/_______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Steve B. <st...@te...> - 2007-08-13 17:53:31
|
Hello, The engine will order the tags in a repeating group based on the data dictionary ordering. Steve > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi Folks, > > I was wondering, is there a means to generate a fix message with tags in a > specific order? > > I have a destination I connect to that requires LegRefNo(654) to be the > anchor tag in a multi leg order. > > So basically, they need 654 to be the first tag in each segment of the > repeating group. > > any chance there's something built in for this? or should I start > hacking? > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/_______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: David B. <dbu...@gm...> - 2007-08-13 16:30:28
|
Hi Folks, I was wondering, is there a means to generate a fix message with tags in a specific order? I have a destination I connect to that requires LegRefNo(654) to be the anchor tag in a multi leg order. So basically, they need 654 to be the first tag in each segment of the repeating group. any chance there's something built in for this? or should I start hacking? |
|
From: Benjamin C. <ben...@db...> - 2007-08-13 13:19:13
|
All
when i get a marketdataincremental refresh msg, i have setup my xml file
with the following.
<message name="MarketDataIncrementalRefresh" msgtype="X" msgcat="app">
<field name="MDReqID" required="N"/>
<group name="NoMDEntries" required="Y">
== other tags ===
<field name="SendingTime" required="N"/>
</message>
The message incoming is
INCOMING [FIX.4.2:test->test]
<8=FIX.4.2|9=308|35=X|49=test|56=test|34=10980|52=20070813-13:14:34|262=1|268=7|279=0|269=1|55=LFZ
071200000F|270=6501.50|271=25|279=0|269=0|270=0.00|271=0|279=0|269=2|270=6501.50|271=25|273=14:14:33|279=0|269=7|270=6603.50|279=0|269=8|270=5999.50|279=0|269=5|270=0.00|279=0|269=4|270=0.00|10=155|>
Now when i try and pull out tag 52
incrementalRefresh.getSendingTime().getValue()
I get
2007-08-13 14:18:24,694 INFO (QF/J Session dispatcher:
FIX.4.2:test->test) [quickfixj.event] EVENT [FIX.4.2:test->test] <Message
10991 Rejected: Conditionally Required Field Missing>
---
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. |
|
From: Shamir Y. <sha...@gm...> - 2007-08-12 07:18:14
|
Hi all!!! i developing some aplication over the FIX protocol . one of the requirement of the "initiator side" (i am using as acceptor) who's i'm working with is that "All the time related Tags" (TransactTime , SendingTime etc.) will be in GMT time. In the begining i set the clock of the server which my FixEngine running from to GMT but then i found out that it's making problems to connect to the other side of the application (the exchange i'm working with). At start i had a problem : the initiator couldn't contact me due to - "quickfix.SessionException Tried to send a reject while not logged on: SendingTime accuracy problem (field 0)" i looked for an answer and i found the "CheckLatency" Configuration field which suppose to figgur out this problem. but now when My server is on local time - "All the time related Tags" are using the local time unlike i need to implement = PROBLEM!!!! i found the "TimeZone" Configuration field which i'm not sure what its' exact influence - please explain what exactly he refering to and if it can help me. i'll be happy to hear from anyone who has any clarification/help about this issue. AND one more thing. about all the concept of session recovery (the "ResendRequest" and the "GapFill" messages) how is it should work. can anyone direct me to the basic documentation of the FIX protocol where this issue is being explained to its' details.can i count on the QuickFixJ that it does this job properly?!?! THANK YOU ALL. |
|
From: Toli K. <to...@ma...> - 2007-08-10 22:42:36
|
Danilo, I think that'd be a good idea to propagate the entire Message to the onOutgoing call to allow for more efficient storage. Perhaps you should create an RFE in QFJ and maybe if enough people believe it'd be beneficial to update the API we could do that. On 8/10/07, Danilo Tuler <tu...@po...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > I need to store messages in a database. > > But in order to speed messages lookup I thought about storing > > some key field in individual columns, like Account, Symbol, > > ClOrdID, or whatever. > > I said store, but I wanted to say log. > But the same problem aplies. > The Log interface expects a String. > > It would be easy to change onOutgoing to handle a quickfix.Message. > Not so easy to change onIncoming, because the parsing is made in a later > step, and it can fail. > > -- Danilo > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Danilo T. <tu...@po...> - 2007-08-10 22:37:45
|
> I need to store messages in a database. > But in order to speed messages lookup I thought about storing > some key field in individual columns, like Account, Symbol, > ClOrdID, or whatever. I said store, but I wanted to say log. But the same problem aplies. The Log interface expects a String. It would be easy to change onOutgoing to handle a quickfix.Message. Not so easy to change onIncoming, because the parsing is made in a later step, and it can fail. -- Danilo |
|
From: Danilo T. <tu...@po...> - 2007-08-10 22:03:25
|
Hi, I need to store messages in a database. But in order to speed messages lookup I thought about storing some key field in individual columns, like Account, Symbol, ClOrdID, or whatever. I tried to implement my own MessageStore, similar to JDBCStore. The problem is that the 'set' method receives a String as the message, instead of a Message object. So I would need to reconstruct the object using a MessageFactory, but I'm afraid this will be very inneficient. Did anybody have the same kind of problem? Thanks, Danilo |
|
From: Danilo T. <tu...@po...> - 2007-08-09 19:22:02
|
Hi, Have you ever considered making all Exception classes inherit from a FIXException? And also sufix them with "Exception", like FieldNotFoundException instead of FieldNotFound. I guess quickfixj favors backward compatibility, so maybe these kind of changes will never comes in... -- Danilo |
|
From: Steve B. <st...@te...> - 2007-08-09 00:18:54
|
Anshu, This could be related to a open bug about the timer events not being processed in an acceptor while it's disconnected (QFJ-218). This would cause the logout with the old sequence number to be sent the first time someone connects. Subsequent connections should be ok and should use the new session's sequence numbers. If we can complete the 1.3 release soon, I'll have the fix in there. Otherwise, I'll patch 1.2.1 and release a new version of that branch. A temporary workaround is to call reset manually on the message store before the new session start time. Regards, Steve |
|
From: Toli K. <to...@ma...> - 2007-08-08 19:22:42
|
Hi, Could it be that the first Logon results in a re-negotiation of message sequence numbers? The logs you've included are only showing the outgoing messages, would it be possible to send all the messages, including both outgoing and incoming? -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: <ur...@gm...> - 2007-08-08 18:41:49
|
Hi Anshu,
Can you post more of your config?
From: Anshu Narang <anshunarang@ya...> - 2007-05-09 23:47
Hi ,
First login attempt of initiator after StartTime is
responded with logout . Subsequent logon work fine .
Any idea why does acceptor call logout on first
request .
I also noticed that logout has the old sequence number
.
=================== Fix Logs ===================
2007-05-09 21:42:23,686 INFO AnonymousIoService-1-7
FIX.4.3:staging->SalesD:
8=FIX.4.3 9=153 35=A 49=SalesD 56=staging 34=1 52=20070509-21:42:23
98=0 108=30 553=CalyonFIXTest 554=Welcome02 10=063
2007-05-09 21:42:23,687 INFO QF/J Session dispatcher:
FIX.4.3:staging->SalesD FIX.4.3:staging->SalesD:
8=FIX.4.3 9=115 35=5 34=210 49=staging 52=20070509-21:42:23.687
56=SalesD 10=123
=================== Fix Logs ===================
=================== Events Logs ===================
2007-05-09 21:42:23,687 INFO AnonymousIoService-1-7
FIX.4.3:staging->SalesD: Accepting session
FIX.4.3:staging->SalesD from /10.10.212.11:15425
2007-05-09 21:42:23,687 INFO AnonymousIoService-1-7
FIX.4.3:staging->SalesD: Acceptor heartbeat set to 30
seconds
2007-05-09 21:42:23,687 INFO QF/J Session dispatcher:
FIX.4.3:staging->SalesD FIX.4.3:staging->SalesD:
Disconnecting
=================== Events Logs ===================
I am using Quickfixj 1.0.1 .
=== Config Params ====
ResetOnDisconnect=N
ResetOnLogout=N
StartTime=21:30:00
EndTime=21:00:00
Regards,
Anshu Narang.
|
|
From: Jeff S. <jsc...@cq...> - 2007-08-07 14:39:17
|
Disregard my last message. It appears that this was fixed in 1.1 I was still using 1.0.5, but have upgraded to 1.2 and although the heartbeats still appear in the storage table, they are not in log table. Thank you, Jeff Steve Bate wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Jeff, > > You are using a JdbcStore, but not a JdbcLog. The resend and session > state storage (MessageStoreFactory) is different from the log > (LogFactory). No incoming messages are saved to the message/resend > storage since they never need to be resent. > > Because you are using a ScreenLogFactory, all logging is going to > the standard output (console). To use database logging, use the > JdbcLogFactory instead. > > Regards, > > Steve > > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> Here is my code: >> InputStream inputStream = new >> FileInputStream("res/quickfixj.cfg"); >> SessionSettings settings = new SessionSettings(inputStream); >> //MessageStoreFactory messageStoreFactory = new >> FileStoreFactory(settings); >> MessageStoreFactory messageStoreFactory = new >> JdbcStoreFactory(settings); >> LogFactory logFactory = new ScreenLogFactory(true, true, >> true); >> MessageFactory messageFactory = new DefaultMessageFactory(); >> Initiator initiator = new SocketInitiator(application, >> messageStoreFactory, settings, logFactory, >> messageFactory); >> and this is quickfixj.cfg >> [default] >> #FileStorePath=output/data/client >> BeginString=FIX.4.2 >> ConnectionType=initiator >> JdbcDriver=com.mysql.jdbc.Driver >> JdbcURL=jdbc:mysql://db/quickfixdev >> JdbcUser=user >> JdbcPassword=pass >> JdbcLogHeartBeats=N >> >> As you can see, I am not doing anything out of the ordinary. There is >> no log file. >> The database is full of my heartbeat messages and the orders I am >> placing. Nothing is being logged for incoming messages. >> >> I am willing to fix this either by configuration or by coding on the >> messageStoreFactory. >> >> thanks, >> Jeff >> Steve Bate wrote: >> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>> Hi Jeff, >>> >>> It should work. It's difficult to know what is causing your problems >>> with the limited information you've provided. You don't have any log >>> file messages from QFJ or your database that can give a hint? >>> >>> Regards, >>> >>> Steve >>> >>> >>> >>>> -----Original Message----- >>>> From: qui...@li... [mailto:quickfixj- >>>> use...@li...] On Behalf Of Jeff Schwartz >>>> Sent: Monday, August 06, 2007 1:59 PM >>>> To: qui...@li... >>>> Subject: [Quickfixj-users] JDBC storage not working properly >>>> >>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>> I am using the JDBC message store and logging. >>>> I set the JdbcLogHeartBeats to N, but I still get all the heartbeat >>>> messages stored in my DB. >>>> Also, I am only seeing my outbound messages stored. I want to record >>>> all non-heartbeat messages going out and coming into my application. >>>> Can anyone help me? >>>> >>>> Thanks, >>>> Jeff >>>> >>>> -- >>>> Jeff Schwartz >>>> Senior Programmer >>>> Cornerstone Quantitative Investment Group >>>> 203-327-0888 >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Splunk Inc. >>>> Still grepping through log files to find problems? Stop. >>>> Now Search log events and configuration files using AJAX and a browser. >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>> _______________________________________________ >>>> Quickfixj-users mailing list >>>> Qui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>> >>>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >>> >>> >> -- >> Jeff Schwartz >> Senior Programmer >> Cornerstone Quantitative Investment Group >> 203-327-0888 >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- Jeff Schwartz Senior Programmer Cornerstone Quantitative Investment Group 203-327-0888 |
|
From: Jeff S. <jsc...@cq...> - 2007-08-07 14:22:25
|
Steve, Thank you for explaining that to me. I did not understand the difference between Storage and Logging. I changed the ScreenLogFactory to a JdbcLogFactory and I am logging both incoming and outgoing messages. Now I just want to clean up all the heartbeat messages. Both the messages and messages_log tables are being filled up with the heartbeat messages. The documentation says that the default setting for JdbcLogHeartBeats is N. I am seeing these messages stored and logged both without the setting parameter specified and with it specified as N. Thanks, Jeff Steve Bate wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Jeff, > > You are using a JdbcStore, but not a JdbcLog. The resend and session > state storage (MessageStoreFactory) is different from the log > (LogFactory). No incoming messages are saved to the message/resend > storage since they never need to be resent. > > Because you are using a ScreenLogFactory, all logging is going to > the standard output (console). To use database logging, use the > JdbcLogFactory instead. > > Regards, > > Steve > > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> Here is my code: >> InputStream inputStream = new >> FileInputStream("res/quickfixj.cfg"); >> SessionSettings settings = new SessionSettings(inputStream); >> //MessageStoreFactory messageStoreFactory = new >> FileStoreFactory(settings); >> MessageStoreFactory messageStoreFactory = new >> JdbcStoreFactory(settings); >> LogFactory logFactory = new ScreenLogFactory(true, true, >> true); >> MessageFactory messageFactory = new DefaultMessageFactory(); >> Initiator initiator = new SocketInitiator(application, >> messageStoreFactory, settings, logFactory, >> messageFactory); >> and this is quickfixj.cfg >> [default] >> #FileStorePath=output/data/client >> BeginString=FIX.4.2 >> ConnectionType=initiator >> JdbcDriver=com.mysql.jdbc.Driver >> JdbcURL=jdbc:mysql://db/quickfixdev >> JdbcUser=user >> JdbcPassword=pass >> JdbcLogHeartBeats=N >> >> As you can see, I am not doing anything out of the ordinary. There is >> no log file. >> The database is full of my heartbeat messages and the orders I am >> placing. Nothing is being logged for incoming messages. >> >> I am willing to fix this either by configuration or by coding on the >> messageStoreFactory. >> >> thanks, >> Jeff >> Steve Bate wrote: >> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>> Hi Jeff, >>> >>> It should work. It's difficult to know what is causing your problems >>> with the limited information you've provided. You don't have any log >>> file messages from QFJ or your database that can give a hint? >>> >>> Regards, >>> >>> Steve >>> >>> >>> >>>> -----Original Message----- >>>> From: qui...@li... [mailto:quickfixj- >>>> use...@li...] On Behalf Of Jeff Schwartz >>>> Sent: Monday, August 06, 2007 1:59 PM >>>> To: qui...@li... >>>> Subject: [Quickfixj-users] JDBC storage not working properly >>>> >>>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>>> I am using the JDBC message store and logging. >>>> I set the JdbcLogHeartBeats to N, but I still get all the heartbeat >>>> messages stored in my DB. >>>> Also, I am only seeing my outbound messages stored. I want to record >>>> all non-heartbeat messages going out and coming into my application. >>>> Can anyone help me? >>>> >>>> Thanks, >>>> Jeff >>>> >>>> -- >>>> Jeff Schwartz >>>> Senior Programmer >>>> Cornerstone Quantitative Investment Group >>>> 203-327-0888 >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Splunk Inc. >>>> Still grepping through log files to find problems? Stop. >>>> Now Search log events and configuration files using AJAX and a browser. >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>> _______________________________________________ >>>> Quickfixj-users mailing list >>>> Qui...@li... >>>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>>> >>>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >>> >>> >> -- >> Jeff Schwartz >> Senior Programmer >> Cornerstone Quantitative Investment Group >> 203-327-0888 >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- Jeff Schwartz Senior Programmer Cornerstone Quantitative Investment Group 203-327-0888 |
|
From: Steve B. <st...@te...> - 2007-08-07 13:39:38
|
Jeff, You are using a JdbcStore, but not a JdbcLog. The resend and session state storage (MessageStoreFactory) is different from the log (LogFactory). No incoming messages are saved to the message/resend storage since they never need to be resent. Because you are using a ScreenLogFactory, all logging is going to the standard output (console). To use database logging, use the JdbcLogFactory instead. Regards, Steve > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Here is my code: > InputStream inputStream = new > FileInputStream("res/quickfixj.cfg"); > SessionSettings settings = new SessionSettings(inputStream); > //MessageStoreFactory messageStoreFactory = new > FileStoreFactory(settings); > MessageStoreFactory messageStoreFactory = new > JdbcStoreFactory(settings); > LogFactory logFactory = new ScreenLogFactory(true, true, > true); > MessageFactory messageFactory = new DefaultMessageFactory(); > Initiator initiator = new SocketInitiator(application, > messageStoreFactory, settings, logFactory, > messageFactory); > and this is quickfixj.cfg > [default] > #FileStorePath=output/data/client > BeginString=FIX.4.2 > ConnectionType=initiator > JdbcDriver=com.mysql.jdbc.Driver > JdbcURL=jdbc:mysql://db/quickfixdev > JdbcUser=user > JdbcPassword=pass > JdbcLogHeartBeats=N > > As you can see, I am not doing anything out of the ordinary. There is > no log file. > The database is full of my heartbeat messages and the orders I am > placing. Nothing is being logged for incoming messages. > > I am willing to fix this either by configuration or by coding on the > messageStoreFactory. > > thanks, > Jeff > Steve Bate wrote: >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> Hi Jeff, >> >> It should work. It's difficult to know what is causing your problems >> with the limited information you've provided. You don't have any log >> file messages from QFJ or your database that can give a hint? >> >> Regards, >> >> Steve >> >> >>> -----Original Message----- >>> From: qui...@li... [mailto:quickfixj- >>> use...@li...] On Behalf Of Jeff Schwartz >>> Sent: Monday, August 06, 2007 1:59 PM >>> To: qui...@li... >>> Subject: [Quickfixj-users] JDBC storage not working properly >>> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>> I am using the JDBC message store and logging. >>> I set the JdbcLogHeartBeats to N, but I still get all the heartbeat >>> messages stored in my DB. >>> Also, I am only seeing my outbound messages stored. I want to record >>> all non-heartbeat messages going out and coming into my application. >>> Can anyone help me? >>> >>> Thanks, >>> Jeff >>> >>> -- >>> Jeff Schwartz >>> Senior Programmer >>> Cornerstone Quantitative Investment Group >>> 203-327-0888 >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. >>> Still grepping through log files to find problems? Stop. >>> Now Search log events and configuration files using AJAX and a browser. >>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> > > -- > Jeff Schwartz > Senior Programmer > Cornerstone Quantitative Investment Group > 203-327-0888 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Jeff S. <jsc...@cq...> - 2007-08-07 12:53:45
|
Here is my code:
InputStream inputStream = new
FileInputStream("res/quickfixj.cfg");
SessionSettings settings = new SessionSettings(inputStream);
//MessageStoreFactory messageStoreFactory = new
FileStoreFactory(settings);
MessageStoreFactory messageStoreFactory = new
JdbcStoreFactory(settings);
LogFactory logFactory = new ScreenLogFactory(true, true, true);
MessageFactory messageFactory = new DefaultMessageFactory();
Initiator initiator = new SocketInitiator(application,
messageStoreFactory, settings, logFactory,
messageFactory);
and this is quickfixj.cfg
[default]
#FileStorePath=output/data/client
BeginString=FIX.4.2
ConnectionType=initiator
JdbcDriver=com.mysql.jdbc.Driver
JdbcURL=jdbc:mysql://db/quickfixdev
JdbcUser=user
JdbcPassword=pass
JdbcLogHeartBeats=N
As you can see, I am not doing anything out of the ordinary. There is
no log file.
The database is full of my heartbeat messages and the orders I am
placing. Nothing is being logged for incoming messages.
I am willing to fix this either by configuration or by coding on the
messageStoreFactory.
thanks,
Jeff
Steve Bate wrote:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> Hi Jeff,
>
> It should work. It's difficult to know what is causing your problems
> with the limited information you've provided. You don't have any log
> file messages from QFJ or your database that can give a hint?
>
> Regards,
>
> Steve
>
>
>> -----Original Message-----
>> From: qui...@li... [mailto:quickfixj-
>> use...@li...] On Behalf Of Jeff Schwartz
>> Sent: Monday, August 06, 2007 1:59 PM
>> To: qui...@li...
>> Subject: [Quickfixj-users] JDBC storage not working properly
>>
>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>> QuickFIX/J Support: http://www.quickfixj.org/support/
>> I am using the JDBC message store and logging.
>> I set the JdbcLogHeartBeats to N, but I still get all the heartbeat
>> messages stored in my DB.
>> Also, I am only seeing my outbound messages stored. I want to record
>> all non-heartbeat messages going out and coming into my application.
>> Can anyone help me?
>>
>> Thanks,
>> Jeff
>>
>> --
>> Jeff Schwartz
>> Senior Programmer
>> Cornerstone Quantitative Investment Group
>> 203-327-0888
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Quickfixj-users mailing list
>> Qui...@li...
>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>
--
Jeff Schwartz
Senior Programmer
Cornerstone Quantitative Investment Group
203-327-0888
|
|
From: Steve B. <st...@te...> - 2007-08-07 11:23:43
|
Hi Jeff, It should work. It's difficult to know what is causing your problems with the limited information you've provided. You don't have any log file messages from QFJ or your database that can give a hint? Regards, Steve > -----Original Message----- > From: qui...@li... [mailto:quickfixj- > use...@li...] On Behalf Of Jeff Schwartz > Sent: Monday, August 06, 2007 1:59 PM > To: qui...@li... > Subject: [Quickfixj-users] JDBC storage not working properly > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > I am using the JDBC message store and logging. > I set the JdbcLogHeartBeats to N, but I still get all the heartbeat > messages stored in my DB. > Also, I am only seeing my outbound messages stored. I want to record > all non-heartbeat messages going out and coming into my application. > Can anyone help me? > > Thanks, > Jeff > > -- > Jeff Schwartz > Senior Programmer > Cornerstone Quantitative Investment Group > 203-327-0888 > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |