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-05-02 19:46:08
|
Hi Chris, Have you looked at a Java thread dump to see if there are any clues there? Steve > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...]On Behalf Of Chris > Audley > Sent: Wednesday, May 02, 2007 3:14 PM > To: qui...@li... > Subject: [Quickfixj-users] QuickFIX/J seizes up under load > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > I have a FIX based system that was developed on QuickFIX/C++ with Java > bindings. I'm interested in using QuickFIX/J for a number of reasons, > but I've had problems with it that I don't have with the native > Quickfix. > > The most severe problem I have is with QuickFIX/J locking up during > heavy loads. I have a reproducible case where the client program tries > to send nearly 500 QuoteRequest messages through a FIX router, both > running QuickFIX. With native QuickFIX, the test runs without a hitch, > however with QuickFIX/J it will fail every time. Anywhere between 10 to > 60 messages will get through successfully but then the FIX router just > stops. > > There is no indication of an error in any logs, I've been specifically > looking for any logging that may have come from > AbstractIoHandler.exceptionCaught(). > > Once this error has occurred, no FIX traffic will go through the > connection between the client and the router. The socket is still open, > but the router doesn't seem to recognize it. Eventually the client will > report the session is closed because the heart beat and TEST messages > are missing. > > Without any indications of a problem in the logs, I don't know where to > begin looking for a solution. Does anyone have an idea what could be > causing this behavior? > > Thanks > Chris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Chris A. <chr...@be...> - 2007-05-02 19:14:19
|
I have a FIX based system that was developed on QuickFIX/C++ with Java bindings. I'm interested in using QuickFIX/J for a number of reasons, but I've had problems with it that I don't have with the native Quickfix. The most severe problem I have is with QuickFIX/J locking up during heavy loads. I have a reproducible case where the client program tries to send nearly 500 QuoteRequest messages through a FIX router, both running QuickFIX. With native QuickFIX, the test runs without a hitch, however with QuickFIX/J it will fail every time. Anywhere between 10 to 60 messages will get through successfully but then the FIX router just stops. There is no indication of an error in any logs, I've been specifically looking for any logging that may have come from AbstractIoHandler.exceptionCaught(). Once this error has occurred, no FIX traffic will go through the connection between the client and the router. The socket is still open, but the router doesn't seem to recognize it. Eventually the client will report the session is closed because the heart beat and TEST messages are missing. Without any indications of a problem in the logs, I don't know where to begin looking for a solution. Does anyone have an idea what could be causing this behavior? Thanks Chris |
|
From: Steve B. <st...@te...> - 2007-05-02 18:51:09
|
Robert, The message about exceeding the connection "throttling" limit is very strange. This is an internal Proxool message. The Proxool throttle limit default is 10, but the message indicates it is 0 for some reason. It's a configurable parameter, but I don't modify it. I have no idea how it would be set to 0 and nobody else has reported a similar problem. I also can't imagine how it would be related to Oracle specifically. Steve > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...]On Behalf Of > Robert Brueckmann > Sent: Wednesday, May 02, 2007 1:35 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] jdbc logging > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Toli, > > You said in your message below that the recursive error was repaired in > 1.1.0 but I cannot for the life of me get the JDBC logging to work > against an Oracle database. > > Is anyone out there successfully running JDBC logging against an Oracle > database? > > I tried with the included proxool-0.9.0RC2.jar and I even got the latest > version proxool-0.9.0RC3.jar and tried it with those as well. The engine > fires up and this is what I see and then the engine just hangs: > > running FIX engine... > beginning initiator... > 2007-05-02 13:24:08,821 DEBUG [main] proxool.ShutdownHook > (ShutdownHook.java:73) - Registered shutdownHook > 2007-05-02 13:24:08,836 DEBUG [main] proxool.HouseKeeperController > (HouseKeeperController.java:84) - Registering 'quickfixj-1' house keeper > 2007-05-02 13:24:08,836 DEBUG [main] proxool.HouseKeeperController > (HouseKeeperController.java:92) - Starting a house keeper thread > 2007-05-02 13:24:08,915 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: isReadOnly() > = false > 2007-05-02 13:24:08,930 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: > getHoldability() = 1 > 2007-05-02 13:24:08,930 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: > getTransactionIsolation() = 2 > 2007-05-02 13:24:08,946 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: getTypeMap() > = {SYS.XMLTYPE=class oracle.xdb.XMLTypeFactory} > 2007-05-02 13:24:08,946 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: getCatalog() > = null > 2007-05-02 13:24:08,946 INFO [main] proxool.ConnectionPool > (ConnectionPool.java:623) - Proxool statistics legend: "s - r (a/t/o)" > > s=served, r=refused (only shown if non-zero), a=active, t=total, > o=offline (being tested) > 2007-05-02 13:24:08,946 DEBUG [main] proxool.Prototyper > (Prototyper.java:204) - 000000 (01/01/00) - Connection #1 created on > demand = ACTIVE > 2007-05-02 13:24:09,086 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface java.sql.Connection > 2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > oracle.jdbc.internal.OracleConnection > 2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface oracle.sql.ClobDBAccess > 2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > oracle.jdbc.OracleConnection > 2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface oracle.sql.BlobDBAccess > 2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > oracle.sql.BfileDBAccess > 2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > oracle.jdbc.internal.ClientDataSupport > 2007-05-02 13:24:09,680 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > java.sql.PreparedStatement > 2007-05-02 13:24:09,680 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface java.sql.Statement > 2007-05-02 13:24:09,696 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > oracle.jdbc.internal.OraclePreparedStatement > 2007-05-02 13:24:09,696 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > oracle.jdbc.OraclePreparedStatement > 2007-05-02 13:24:09,696 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > oracle.jdbc.internal.OracleStatement > 2007-05-02 13:24:09,696 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:171) - Implementing interface > oracle.jdbc.OracleStatement > May 2, 2007 1:24:13 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created: /10.68.5.33:4593 > JdbcLog cannot log SQLException due to recursive log errors! > java.sql.SQLException: We are already in the process of making 1 > connections and the number of simultaneous builds has been throttled to > 0 > at > org.logicalcobwebs.proxool.Prototyper.checkSimultaneousBuildThrottle(Pro > totyper.java:260) > at > org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.j > ava:170) > at > org.logicalcobwebs.proxool.ProxoolDataSource.getConnection(ProxoolDataSo > urce.java:97) > at quickfix.JdbcLog.insert(JdbcLog.java:79) > at quickfix.JdbcLog.onEvent(JdbcLog.java:51) > at quickfix.Session.next(Session.java:1247) > at > quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.jav > a: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(Fu > tureTask.java:198) > at > edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecut > or$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:189) > at > edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecut > or$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(Thread.java:534) > 2007-05-02 13:24:15,008 DEBUG [SocketConnectorIoProcessor-0.0] > proxool.Prototyper (Prototyper.java:204) - 000007 (01/02/00) - > Connection #2 created on demand = ACTIVE > 2007-05-02 13:24:15,118 DEBUG [QF/J Session dispatcher: > FIX.4.2:MERL_DROP->NEOV] fix.Application (Application.java:198) - > logging off... > May 2, 2007 1:24:43 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created: /10.68.5.33:4600 > 2007-05-02 13:24:45,024 DEBUG [QF/J Session dispatcher: > FIX.4.2:MERL_DROP->NEOV] fix.Application (Application.java:198) - > logging off... > May 2, 2007 1:25:14 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created: /10.68.5.33:4613 > > > > Merlin Securities - #1 Prime Broker North America, #1 Prime > Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M - > Global Custodian 2007 > > > From: qui...@li... > [mailto:qui...@li...] On Behalf Of Toli > Kuznets > Sent: Monday, April 30, 2007 11:58 AM > To: qui...@li... > Subject: Re: [Quickfixj-users] jdbc logging > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Robert, > > I believe i know what the problem may be. in QFJ 1.1.0 we fixed a bug > where an error connecting to the Jdbc store caused teh JdbcLog to go > into an infinite recursion and print out the log below: > > java.sql.SQLException: We are already in the process of making 1 > connections and the number of simultaneous builds has been throttled to > 0 > > essentially, it catch an exception making the first db entry, then > would try to log the exception, and never stop. you get the idea. > > > I'm still baffled though why my FileStoreFactory code (no JDBC > logging) will not work with the 1.1.0 libraries though... > > in that case, you are not dealing with JdbcLog so everything worked > fine - your system worked correctly and the above situation didn't > happen. > > If you look at the output of QFJ 1.1, you should see somewhere a line > saying something about encountering a "write to Jdbc" failure and > quitting the JdbcLog. > > Still not sure why your app will quit completely in case of a JdbcLog > failure - it should just not log, but the app itself should keep > working. > > So see if your database is setup correctly, make sure you can log on > to it with the credentials supplied in the SessionSettings, etc. > > Also, if you can, try to run it in the debugger and trap all > Errors/Exceptions, maybe for some reason JdbcLog throws some error > that kills your entire app? > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > -------------------------------------------------------- > > This message contains information from Merlin Securities, LLC, or > from one of its affiliates, that may be confidential and > privileged. If you are not an intended recipient, please refrain > from any disclosure, copying, distribution or use of this > information and note that such actions are prohibited. If you > have received this transmission in error, please notify the > sender immediately by telephone or by replying to this transmission. > > Merlin Securities, LLC is a registered broker-dealer. Services > offered through Merlin Securities, LLC are not insured by the > FDIC or any other Federal Government Agency, are not deposits of > or guaranteed by Merlin Securities, LLC and may lose value. > Nothing in this communication shall constitute a solicitation or > recommendation to buy or sell a particular security. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Robert B. <rbr...@me...> - 2007-05-02 18:49:57
|
No worries, Toli!=20=20 Thank you so much for the time you spent on that reply...the minute I have a free...uh...minute, I will batten down the hatches and get behind what's going on here. I have a sneaking suspicion the Proxool libraries are the culprit in conjunction with Oracle....hopefully I'll be able to tell you soon. This definitely was not working with 1.0.3...and I migrated to 1.1.0 in the hopes that it was fixed. I have been meaning to install mysql on my machine and attempt to connect to that and see what happens...this email is the kick in the butt I needed. Thanks again for all your help and detailed reply...much appreciated beyond belief! Rob Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:qui...@li...] On Behalf Of Toli Kuznets Sent: Wednesday, May 02, 2007 2:37 PM To: qui...@li... Subject: Re: [Quickfixj-users] jdbc logging QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Robert, When i said that the JdbcLog was "fixed", I meant that it stopped going into the recursive death spiral of printing stacktraces, so that you get this instead: > JdbcLog cannot log SQLException due to recursive log errors! Truth be told, i'm at a loss what your problem may be. i'm not seeing anything useful in the log. I saw that kind of exception when the QFJ engine couldn't make the connection to the database: it was either not running, the tables were not present, the user/password was incorrect, it didn't have perms to write, etc. In that case, the underlying proxool cashing code would go crazy, trying to keep creating connections. But it doesn't look like that's the case with you. I haven't tried QFJ with Oracle - we don't have it in-house, we use MySQL. I can't remember if you said that it worked for you with 1.0.3, or if it was the other problem (app exiting w/out an explicit wait() call). There are 3 approaches i can suggest: 1. Try something other than Oracle - maybe MySQL. it's fairly easy to setup, and you can see if it's an Oracle or a general Jdbc problem you have. 2. The error comes from Proxool - which is a transparent JDBC pooling framework. If you feel comfortable modifying QFJ, you can check out the source and try to disable Proxool altogether, but changing the quickfix.JdbcUtil.getDataSource() function not create a Proxool pool. Perhaps that'll give you a better error that somehow gets masked by Proxool. 3. Another thing i may suggest for debugging is for you to download our Marketcetera OMS and configure it to point to your Oracle database and see if you get the same problem. If you don't, then you can perhaps isolate the problem to your app setup. Otherwise, we are much more likely seeing a bug in QFJ itself, and then I can work on getting an Oracle setup and trying to reproduce your setup. http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/OMSInstallation I'd be happy to walk you through the Marketcetera setup to save you time if you want. Just let me know. I realize that all of these suggestions are a lot of work and may be asking too much. If you can isolate the error to QuickfixJ. then you can post the SQL create scripts for Oracle database, and we'll try to reproduce the problem locally. --=20 Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. |
|
From: Toli K. <to...@ma...> - 2007-05-02 18:36:55
|
Robert, When i said that the JdbcLog was "fixed", I meant that it stopped going into the recursive death spiral of printing stacktraces, so that you get this instead: > JdbcLog cannot log SQLException due to recursive log errors! Truth be told, i'm at a loss what your problem may be. i'm not seeing anything useful in the log. I saw that kind of exception when the QFJ engine couldn't make the connection to the database: it was either not running, the tables were not present, the user/password was incorrect, it didn't have perms to write, etc. In that case, the underlying proxool cashing code would go crazy, trying to keep creating connections. But it doesn't look like that's the case with you. I haven't tried QFJ with Oracle - we don't have it in-house, we use MySQL. I can't remember if you said that it worked for you with 1.0.3, or if it was the other problem (app exiting w/out an explicit wait() call). There are 3 approaches i can suggest: 1. Try something other than Oracle - maybe MySQL. it's fairly easy to setup, and you can see if it's an Oracle or a general Jdbc problem you have. 2. The error comes from Proxool - which is a transparent JDBC pooling framework. If you feel comfortable modifying QFJ, you can check out the source and try to disable Proxool altogether, but changing the quickfix.JdbcUtil.getDataSource() function not create a Proxool pool. Perhaps that'll give you a better error that somehow gets masked by Proxool. 3. Another thing i may suggest for debugging is for you to download our Marketcetera OMS and configure it to point to your Oracle database and see if you get the same problem. If you don't, then you can perhaps isolate the problem to your app setup. Otherwise, we are much more likely seeing a bug in QFJ itself, and then I can work on getting an Oracle setup and trying to reproduce your setup. http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/OMSInstallation I'd be happy to walk you through the Marketcetera setup to save you time if you want. Just let me know. I realize that all of these suggestions are a lot of work and may be asking too much. If you can isolate the error to QuickfixJ. then you can post the SQL create scripts for Oracle database, and we'll try to reproduce the problem locally. -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Robert B. <rbr...@me...> - 2007-05-02 17:35:31
|
Toli,
You said in your message below that the recursive error was repaired in
1.1.0 but I cannot for the life of me get the JDBC logging to work
against an Oracle database.
Is anyone out there successfully running JDBC logging against an Oracle
database?
I tried with the included proxool-0.9.0RC2.jar and I even got the latest
version proxool-0.9.0RC3.jar and tried it with those as well. The engine
fires up and this is what I see and then the engine just hangs:
running FIX engine...
beginning initiator...
2007-05-02 13:24:08,821 DEBUG [main] proxool.ShutdownHook
(ShutdownHook.java:73) - Registered shutdownHook
2007-05-02 13:24:08,836 DEBUG [main] proxool.HouseKeeperController
(HouseKeeperController.java:84) - Registering 'quickfixj-1' house keeper
2007-05-02 13:24:08,836 DEBUG [main] proxool.HouseKeeperController
(HouseKeeperController.java:92) - Starting a house keeper thread
2007-05-02 13:24:08,915 DEBUG [main] proxool.ConnectionResetter
(ConnectionResetter.java:168) - Remembering default value: isReadOnly()
=3D false
2007-05-02 13:24:08,930 DEBUG [main] proxool.ConnectionResetter
(ConnectionResetter.java:168) - Remembering default value:
getHoldability() =3D 1
2007-05-02 13:24:08,930 DEBUG [main] proxool.ConnectionResetter
(ConnectionResetter.java:168) - Remembering default value:
getTransactionIsolation() =3D 2
2007-05-02 13:24:08,946 DEBUG [main] proxool.ConnectionResetter
(ConnectionResetter.java:168) - Remembering default value: getTypeMap()
=3D {SYS.XMLTYPE=3Dclass oracle.xdb.XMLTypeFactory}
2007-05-02 13:24:08,946 DEBUG [main] proxool.ConnectionResetter
(ConnectionResetter.java:168) - Remembering default value: getCatalog()
=3D null
2007-05-02 13:24:08,946 INFO [main] proxool.ConnectionPool
(ConnectionPool.java:623) - Proxool statistics legend: "s - r (a/t/o)"
> s=3Dserved, r=3Drefused (only shown if non-zero), a=3Dactive, t=3Dtotal,
o=3Doffline (being tested)
2007-05-02 13:24:08,946 DEBUG [main] proxool.Prototyper
(Prototyper.java:204) - 000000 (01/01/00) - Connection #1 created on
demand =3D ACTIVE
2007-05-02 13:24:09,086 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface java.sql.Connection
2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
oracle.jdbc.internal.OracleConnection
2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface oracle.sql.ClobDBAccess
2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
oracle.jdbc.OracleConnection
2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface oracle.sql.BlobDBAccess
2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
oracle.sql.BfileDBAccess
2007-05-02 13:24:09,102 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
oracle.jdbc.internal.ClientDataSupport
2007-05-02 13:24:09,680 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
java.sql.PreparedStatement
2007-05-02 13:24:09,680 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface java.sql.Statement
2007-05-02 13:24:09,696 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
oracle.jdbc.internal.OraclePreparedStatement
2007-05-02 13:24:09,696 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
oracle.jdbc.OraclePreparedStatement
2007-05-02 13:24:09,696 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
oracle.jdbc.internal.OracleStatement
2007-05-02 13:24:09,696 DEBUG [main] proxool.ProxyFactory
(ProxyFactory.java:171) - Implementing interface
oracle.jdbc.OracleStatement
May 2, 2007 1:24:13 PM quickfix.mina.initiator.InitiatorIoHandler
sessionCreated
INFO: MINA session created: /10.68.5.33:4593
JdbcLog cannot log SQLException due to recursive log errors!
java.sql.SQLException: We are already in the process of making 1
connections and the number of simultaneous builds has been throttled to
0
at
org.logicalcobwebs.proxool.Prototyper.checkSimultaneousBuildThrottle(Pro
totyper.java:260)
at
org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.j
ava:170)
at
org.logicalcobwebs.proxool.ProxoolDataSource.getConnection(ProxoolDataSo
urce.java:97)
at quickfix.JdbcLog.insert(JdbcLog.java:79)
at quickfix.JdbcLog.onEvent(JdbcLog.java:51)
at quickfix.Session.next(Session.java:1247)
at
quickfix.mina.SessionConnector$SessionTimerTask.run(SessionConnector.jav
a: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(Fu
tureTask.java:198)
at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecut
or$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:189)
at
edu.emory.mathcs.backport.java.util.concurrent.ScheduledThreadPoolExecut
or$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(Thread.java:534)
2007-05-02 13:24:15,008 DEBUG [SocketConnectorIoProcessor-0.0]
proxool.Prototyper (Prototyper.java:204) - 000007 (01/02/00) -
Connection #2 created on demand =3D ACTIVE
2007-05-02 13:24:15,118 DEBUG [QF/J Session dispatcher:
FIX.4.2:MERL_DROP->NEOV] fix.Application (Application.java:198) -
logging off...
May 2, 2007 1:24:43 PM quickfix.mina.initiator.InitiatorIoHandler
sessionCreated
INFO: MINA session created: /10.68.5.33:4600
2007-05-02 13:24:45,024 DEBUG [QF/J Session dispatcher:
FIX.4.2:MERL_DROP->NEOV] fix.Application (Application.java:198) -
logging off...
May 2, 2007 1:25:14 PM quickfix.mina.initiator.InitiatorIoHandler
sessionCreated
INFO: MINA session created: /10.68.5.33:4613
Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S=
trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007
From: qui...@li...
[mailto:qui...@li...] On Behalf Of Toli
Kuznets
Sent: Monday, April 30, 2007 11:58 AM
To: qui...@li...
Subject: Re: [Quickfixj-users] jdbc logging
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Robert,
I believe i know what the problem may be. in QFJ 1.1.0 we fixed a bug
where an error connecting to the Jdbc store caused teh JdbcLog to go
into an infinite recursion and print out the log below:
> java.sql.SQLException: We are already in the process of making 1
connections and the number of simultaneous builds has been throttled to
0
essentially, it catch an exception making the first db entry, then
would try to log the exception, and never stop. you get the idea.
> I'm still baffled though why my FileStoreFactory code (no JDBC
logging) will not work with the 1.1.0 libraries though...
in that case, you are not dealing with JdbcLog so everything worked
fine - your system worked correctly and the above situation didn't
happen.
If you look at the output of QFJ 1.1, you should see somewhere a line
saying something about encountering a "write to Jdbc" failure and
quitting the JdbcLog.
Still not sure why your app will quit completely in case of a JdbcLog
failure - it should just not log, but the app itself should keep
working.
So see if your database is setup correctly, make sure you can log on
to it with the credentials supplied in the SessionSettings, etc.
Also, if you can, try to run it in the debugger and trap all
Errors/Exceptions, maybe for some reason JdbcLog throws some error
that kills your entire app?
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
=20
--------------------------------------------------------
This message contains information from Merlin Securities, LLC, or from one =
of its affiliates, that may be confidential and privileged. If you are not =
an intended recipient, please refrain from any disclosure, copying, distrib=
ution or use of this information and note that such actions are prohibited.=
If you have received this transmission in error, please notify the sender =
immediately by telephone or by replying to this transmission.
=20
Merlin Securities, LLC is a registered broker-dealer. Services offered thro=
ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal=
Government Agency, are not deposits of or guaranteed by Merlin Securities,=
LLC and may lose value. Nothing in this communication shall constitute a s=
olicitation or recommendation to buy or sell a particular security.
|
|
From: Alex M. <ale...@eu...> - 2007-05-02 15:18:47
|
Hi, =20 I'm getting the following messages in my log: my QFJ is SCBFX which keeps sending Resend Requests even though there are no gaps. Can anyone tell me what's going on? =20 8=3DFIX.4.49=3D7035=3DA49=3DHedgeFund156=3DSCBFX34=3D152=3D20070502-14:07= :37.296108=3D60 98=3D010=3D024 8=3DFIX.4.49=3D7035=3DA34=3D149=3DSCBFX52=3D20070502-14:07:35.86956=3DHed= geFund198=3D010 8=3D6010=3D028 8=3DFIX.4.49=3D14535=3DR49=3DHedgeFund156=3DSCBFX34=3D252=3D20070502-14:0= 7:37.765131=3DQ uoteRequestId1178114857718146=3D155=3DUSD/JPY80303=3D2537=3D138=3D1000000= 063=3D015=3DJ PY10=3D056 8=3DFIX.4.49=3D5835=3D034=3D249=3DSCBFX52=3D20070502-14:08:36.08956=3DHed= geFund110=3D242 8=3DFIX.4.49=3D5835=3D049=3DHedgeFund156=3DSCBFX34=3D352=3D20070502-14:08= :37.76510=3D245 8=3DFIX.4.49=3D6735=3D234=3D349=3DSCBFX52=3D20070502-14:08:36.29356=3DHed= geFund17=3D216=3D 010=3D110 8=3DFIX.4.49=3D17635=3DR49=3DHedgeFund156=3DSCBFX34=3D252=3D20070502-14:0= 8:38.20343=3DY1 22=3D20070502-14:07:37.765131=3DQuoteRequestId1178114857718146=3D155=3DUS= D/JPY80 303=3D2537=3D138=3D1000000063=3D015=3DJPY10=3D057 8=3DFIX.4.49=3D7435=3D449=3DHedgeFund156=3DSCBFX34=3D352=3D20070502-14:08= :38.20343=3DY12 3=3DY36=3D410=3D241 8=3DFIX.4.49=3D6735=3D234=3D449=3DSCBFX52=3D20070502-14:08:36.93956=3DHed= geFund17=3D216=3D 010=3D118 8=3DFIX.4.49=3D17635=3DR49=3DHedgeFund156=3DSCBFX34=3D252=3D20070502-14:0= 8:38.64043=3DY1 22=3D20070502-14:07:37.765131=3DQuoteRequestId1178114857718146=3D155=3DUS= D/JPY80 303=3D2537=3D138=3D1000000063=3D015=3DJPY10=3D062 8=3DFIX.4.49=3D7435=3D449=3DHedgeFund156=3DSCBFX34=3D352=3D20070502-14:08= :38.64043=3DY12 3=3DY36=3D410=3D246 8=3DFIX.4.49=3D6735=3D234=3D549=3DSCBFX52=3D20070502-14:08:37.42456=3DHed= geFund17=3D216=3D 010=3D109 8=3DFIX.4.49=3D17635=3DR49=3DHedgeFund156=3DSCBFX34=3D252=3D20070502-14:0= 8:39.12543=3DY1 22=3D20070502-14:07:37.765131=3DQuoteRequestId1178114857718146=3D155=3DUS= D/JPY80 303=3D2537=3D138=3D1000000063=3D015=3DJPY10=3D061 8=3DFIX.4.49=3D7435=3D449=3DHedgeFund156=3DSCBFX34=3D352=3D20070502-14:08= :39.12543=3DY12 3=3DY36=3D410=3D245 8=3DFIX.4.49=3D6735=3D234=3D649=3DSCBFX52=3D20070502-14:08:37.91056=3DHed= geFund17=3D216=3D 010=3D110 8=3DFIX.4.49=3D17635=3DR49=3DHedgeFund156=3DSCBFX34=3D252=3D20070502-14:0= 8:39.62543=3DY1 22=3D20070502-14:07:37.765131=3DQuoteRequestId1178114857718146=3D155=3DUS= D/JPY80 303=3D2537=3D138=3D1000000063=3D015=3DJPY10=3D066 8=3DFIX.4.49=3D7435=3D449=3DHedgeFund156=3DSCBFX34=3D352=3D20070502-14:08= :39.62543=3DY12 3=3DY36=3D410=3D250 8=3DFIX.4.49=3D6735=3D234=3D749=3DSCBFX52=3D20070502-14:08:38.39656=3DHed= geFund17=3D216=3D 010=3D120 8=3DFIX.4.49=3D17635=3DR49=3DHedgeFund156=3DSCBFX34=3D252=3D20070502-14:0= 8:40.10943=3DY1 22=3D20070502-14:07:37.765131=3DQuoteRequestId1178114857718146=3D155=3DUS= D/JPY80 303=3D2537=3D138=3D1000000063=3D015=3DJPY10=3D055 8=3DFIX.4.49=3D7435=3D449=3DHedgeFund156=3DSCBFX34=3D352=3D20070502-14:08= :40.10943=3DY12 3=3DY36=3D410=3D239 8=3DFIX.4.49=3D6735=3D234=3D849=3DSCBFX52=3D20070502-14:08:38.88256=3DHed= geFund17=3D216=3D 010=3D121 8=3DFIX.4.49=3D17635=3DR49=3DHedgeFund156=3DSCBFX34=3D252=3D20070502-14:0= 8:40.59343=3DY1 22=3D20070502-14:07:37.765131=3DQuoteRequestId1178114857718146=3D155=3DUS= D/JPY80 303=3D2537=3D138=3D1000000063=3D015=3DJPY10=3D062 8=3DFIX.4.49=3D7435=3D449=3DHedgeFund156=3DSCBFX34=3D352=3D20070502-14:08= :40.59343=3DY12 3=3DY36=3D410=3D246 8=3DFIX.4.49=3D6735=3D234=3D949=3DSCBFX52=3D20070502-14:08:39.36856=3DHed= geFund17=3D216=3D 010=3D122 =20 ... continues looping. =20 Thanks in advance, Alex Eurobase International Limited and its subsidiaries (Eurobase) are = unable to exercise control over the content of information in E-Mails. = Any views and opinions expressed may be personal to the sender and are = not necessarily those of Eurobase. Eurobase will not enter into any = contractual obligations in respect of any part of its business in any = E-mail.=20 Privileged / confidential information may be contained in this message = and /or any attachments. This E-mail is intended for the use of the = addressee(s) only and may contain confidential information. If you are = not the / an intended recipient, you are hereby notified that any use or = dissemination of this communication is strictly prohibited. If you = receive this transmission in error, please notify us immediately, and = then delete this E-mail.=20 Neither the sender nor Eurobase accepts any liability whatsoever for any = defects of any kind either in or arising from this E-mail transmission. = E-Mail transmission cannot be guaranteed to be secure or error-free, as = messages can be intercepted, lost, corrupted, destroyed, contain = viruses, or arrive late or incomplete. Eurobase does not accept any = responsibility for viruses and it is your responsibility to scan any = attachments. Eurobase Systems Limited is the main trading company in the Eurobase = International Group; registered in England and Wales as company number = 02251162; registered address: Essex House, 2 County Place, Chelmsford, = Essex CM2 0RE, UK. |
|
From: Alexander G. <ago...@ac...> - 2007-05-01 14:08:05
|
Hello, My quickfix/j 1.0.5 application runs into a deadlock. I'm using the = onLogout() callback to count the sessions that are still logged on. The = method Session.disconnect() from where the onLogout() is called is = synchronized by the Session instance. Inside the onLogout() I'm calling = the sess=3DSession.lookupSession() followed by the sess.isLoggedOn() for = every section that is returned by the SessionSettings.sectionIterator(). = The problem arises when there are 2 concurrent onLogout() calls from 2 = different Session instances. The session1 thread is calling = session2_instance.isLoggedOn() while the session2 thread is calling = session1_instance.isLoggedOn(). Since isLoggedOn() is also synchronized = by the Session instance, and since both instances are already locked, = both threads will be waiting for their locks forever. Can this be = fixed/workarrounded?=20 Thank you, Alexander Gorbachev. |
|
From: drizztzhao <s20...@st...> - 2007-05-01 03:42:31
|
i tried parcus software from the recommendation and I found it to be really useful!! www.parcusgroup.com/index.html -- View this message in context: http://www.nabble.com/iluvparcus-tf3673297.html#a10264250 Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: drizztzhao <s20...@st...> - 2007-05-01 03:37:59
|
hi guys this is a new personal finance software which is easy to use. it can help you do budgeting, taxation, insurance... detail in www.parcusgroup.com -- View this message in context: http://www.nabble.com/parcus-tf3673273.html#a10264207 Sent from the QuickFIX/J mailing list archive at Nabble.com. |
|
From: Robert B. <rbr...@me...> - 2007-04-30 19:23:40
|
Yeah...since my last post I rewrote my main initiator class and instead of putting everything in the main method, functioned all of it out and I create an instance of my initiator class in the main method and call .wait() on it after starting up the initiator and that got the actual engine up and running. I'm still only able to use the file store for my message logging though...even with the latest release of qf/j, connecting to Oracle for the jdbc store results in the: JdbcLog cannot log SQLException due to recursive log errors! java.sql.SQLException: We are already in the process of making 1 connections and the number of simultaneous builds has been throttled to 0 at org.logicalcobwebs.proxool.Prototyper.checkSimultaneousBuildThrottle(Pro totyper.java:260)...etc. Thanks again for your help and sorry again for all the emails today! Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:qui...@li...] On Behalf Of Steve Bate Sent: Monday, April 30, 2007 3:18 PM To: qui...@li... Subject: Re: [Quickfixj-users] upgrading engine QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Robert, This means all the JVM threads are "daemon" threads. That's why I was asking if there was a System.exit call or if the main function was exiting. With a SocketAcceptor, the only QFJ-created threads are timer threads and those are created as daemon threads. If the MINA communication threads are also daemon threads, then main() will exit unless you block the main thread (e.g., with Object.wait() or console input) or create a nondaemon thread. It's possible the MINA thread configuration has changed in the last several versions of the library (maybe they weren't daemon threads in earlier versions of the software). Steve > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...]On Behalf Of > Robert Brueckmann > Sent: Monday, April 30, 2007 2:17 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] upgrading engine > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > I'm sorry for the deluge of emails today, I'm "THAT" guy today...I'm > deeply sorry...but I was doing a little more tinkering and I simply > added: > > System.out.println("press <enter> to quit"); > System.in.read(); > initiator.stop(); > > to my TestInitiator class right after the initiator.start() and now all > library versions work. Why do I have to have a System.in listener in > order for the engine to initialize and function properly in any version > greater than 1.0.3? How can I avoid this? > > Thanks for your patience...I'm sorry > > > > Merlin Securities - #1 Prime Broker North America, #1 Prime > Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M - > Global Custodian 2007 > > > From: qui...@li... > [mailto:qui...@li...] On Behalf Of > Robert Brueckmann > Sent: Monday, April 30, 2007 1:53 PM > To: qui...@li... > Subject: [Quickfixj-users] upgrading engine > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Here's my TestInitiator class: > > ---- > > package com.merlin.pb.fix; > > import java.io.InputStream; > > import quickfix.DefaultMessageFactory; > import quickfix.FileStoreFactory; > import quickfix.Initiator; > import quickfix.LogFactory; > import quickfix.MessageFactory; > import quickfix.MessageStoreFactory; > import quickfix.ScreenLogFactory; > import quickfix.SessionSettings; > import quickfix.ThreadedSocketInitiator; > > public class TestInitiator { > private static Initiator initiator =3D null; > > public static void main(String args[]) { > try { > System.out.println("running FIX engine..."); > > InputStream inputStream =3D > > MerlinFIXInitiator.class.getResourceAsStream("initiator.cfg"); > > SessionSettings settings =3D new > SessionSettings(inputStream); > TestApplication application =3D new TestApplication(); > > MessageStoreFactory messageStoreFactory =3D new > FileStoreFactory(settings); > LogFactory logFactory =3D new ScreenLogFactory(true, true, > true, true); > > MessageFactory messageFactory =3D new DefaultMessageFactory(); > > System.out.println("beginning initiator..."); > > initiator =3D new ThreadedSocketInitiator(application, > messageStoreFactory, > settings, > logFactory, > messageFactory); > > initiator.start(); > } catch(Exception e) { > e.printStackTrace(System.out); > } > } > } > > ---- > > Here's my TestApplication class: > > ---- > > package com.merlin.pb.fix; > > import quickfix.Application; > import quickfix.DoNotSend; > import quickfix.FieldNotFound; > import quickfix.IncorrectDataFormat; > import quickfix.IncorrectTagValue; > import quickfix.Message; > import quickfix.MessageCracker; > import quickfix.RejectLogon; > import quickfix.SessionID; > import quickfix.UnsupportedMessageType; > > public class TestApplication extends MessageCracker implements > Application { > public TestApplication() {} > > /* (non-Javadoc) > * @see quickfix.Application#fromAdmin(quickfix.Message, > quickfix.SessionID) > */ > public void fromAdmin(Message arg0, SessionID arg1) throws > FieldNotFound, > IncorrectDataFormat, IncorrectTagValue, > RejectLogon { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#fromApp(quickfix.Message, > quickfix.SessionID) > */ > public void fromApp(Message arg0, SessionID arg1) throws > FieldNotFound, > IncorrectDataFormat, IncorrectTagValue, > UnsupportedMessageType { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#onCreate(quickfix.SessionID) > */ > public void onCreate(SessionID arg0) { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#onLogon(quickfix.SessionID) > */ > public void onLogon(SessionID arg0) { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#onLogout(quickfix.SessionID) > */ > public void onLogout(SessionID arg0) { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#toAdmin(quickfix.Message, > quickfix.SessionID) > */ > public void toAdmin(Message arg0, SessionID arg1) { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#toApp(quickfix.Message, > quickfix.SessionID) > */ > public void toApp(Message arg0, SessionID arg1) throws DoNotSend > { > // TODO Auto-generated method stub > > } > } > > ---- > > You can clearly see NOTHING is going on...I'm not doing anything with > incoming messages...just testing connectivity pretty much: > > Test results: > > Using qfj-1.0.3/mina-core-0.9.3/slfj-jdk14-1.0.1: > > running FIX engine... > beginning initiator... > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Session > FIX.4.2:MERL_DROP->NEOV schedule is daily, 00:00:00 UTC - 00:00:00 UTC) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Created session: > FIX.4.2:MERL_DROP->NEOV) > Apr 30, 2007 1:44:59 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created: /10.68.5.33:1550 > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, outgoing> > (8=3DFIX.4.2=019=3D69=0135=3DA=0134=3D27=0149=3DMERL_DROP=0152=3D20070430-1= 7:44:59.905=0156=3DNEOV > =0198=3D0=01108=3D30=0110=3D067=01) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Initiated logon > request) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, incoming> > (8=3DFIX.4.2=019=3D0065=0135=3DA=0134=3D33=0149=3DNEOV=0156=3DMERL_DROP=015= 2=3D20070430-17:44:59=019 > 8=3D0=01108=3D30=0110=3D208=01) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Received logon > response) > <20070430-17:45:29, FIX.4.2:MERL_DROP->NEOV, incoming> > (8=3DFIX.4.2=019=3D0053=0135=3D0=0134=3D34=0149=3DNEOV=0156=3DMERL_DROP=015= 2=3D20070430-17:45:29=011 > 0=3D162=01) > <20070430-17:45:29, FIX.4.2:MERL_DROP->NEOV, outgoing> > (8=3DFIX.4.2=019=3D57=0135=3D0=0134=3D28=0149=3DMERL_DROP=0152=3D20070430-1= 7:45:29.936=0156=3DNEOV > =0110=3D025=01) > > ...and so on and so forth...regular continuous and uninterrupted > heartbeats... > > Using qfj-1.0.5/mina-core-1.0.0/slf-jdk14-1.0.1 OR using > qfj-1.0.1/mina-core-1.0.1/mina-sources-1.0.1/slf-api-1.3.0/slf-jdk14-1.3 > .0: > > running FIX engine... > beginning initiator... > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Session > FIX.4.2:MERL_DROP->NEOV schedule is daily, 00:00:00 UTC - 00:00:00 UTC) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Created session: > FIX.4.2:MERL_DROP->NEOV) > > ...engine stops. That's it. No message, nothing. > > What the heck could I possibly be doing wrong with the code above...it's > empty shell code...why would it work for 1.0.3 and no version greater? > > Merlin Securities - #1 Prime Broker North America, #1 Prime Broker > Single Strategy Funds, #1 Prime Broker Funds Under $100M - Global > Custodian 2007 > > > > > -------------------------------------------------------- > > This message contains information from Merlin Securities, LLC, or from > one of its affiliates, that may be confidential and privileged. If you > are not an intended recipient, please refrain from any disclosure, > copying, distribution or use of this information and note that such > actions are prohibited. If you have received this transmission in error, > please notify the sender immediately by telephone or by replying to this > transmission. > > Merlin Securities, LLC is a registered broker-dealer. Services offered > through Merlin Securities, LLC are not insured by the FDIC or any other > Federal Government Agency, are not deposits of or guaranteed by Merlin > Securities, LLC and may lose value. Nothing in this communication shall > constitute a solicitation or recommendation to buy or sell a particular > security. > > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > -------------------------------------------------------- > > This message contains information from Merlin Securities, LLC, or > from one of its affiliates, that may be confidential and > privileged. If you are not an intended recipient, please refrain > from any disclosure, copying, distribution or use of this > information and note that such actions are prohibited. If you > have received this transmission in error, please notify the > sender immediately by telephone or by replying to this transmission. > > Merlin Securities, LLC is a registered broker-dealer. Services > offered through Merlin Securities, LLC are not insured by the > FDIC or any other Federal Government Agency, are not deposits of > or guaranteed by Merlin Securities, LLC and may lose value. > Nothing in this communication shall constitute a solicitation or > recommendation to buy or sell a particular security. > > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. |
|
From: Steve B. <st...@te...> - 2007-04-30 19:17:35
|
Hi Robert, This means all the JVM threads are "daemon" threads. That's why I was asking if there was a System.exit call or if the main function was exiting. With a SocketAcceptor, the only QFJ-created threads are timer threads and those are created as daemon threads. If the MINA communication threads are also daemon threads, then main() will exit unless you block the main thread (e.g., with Object.wait() or console input) or create a nondaemon thread. It's possible the MINA thread configuration has changed in the last several versions of the library (maybe they weren't daemon threads in earlier versions of the software). Steve > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...]On Behalf Of > Robert Brueckmann > Sent: Monday, April 30, 2007 2:17 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] upgrading engine > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > I'm sorry for the deluge of emails today, I'm "THAT" guy today...I'm > deeply sorry...but I was doing a little more tinkering and I simply > added: > > System.out.println("press <enter> to quit"); > System.in.read(); > initiator.stop(); > > to my TestInitiator class right after the initiator.start() and now all > library versions work. Why do I have to have a System.in listener in > order for the engine to initialize and function properly in any version > greater than 1.0.3? How can I avoid this? > > Thanks for your patience...I'm sorry > > > > Merlin Securities - #1 Prime Broker North America, #1 Prime > Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M - > Global Custodian 2007 > > > From: qui...@li... > [mailto:qui...@li...] On Behalf Of > Robert Brueckmann > Sent: Monday, April 30, 2007 1:53 PM > To: qui...@li... > Subject: [Quickfixj-users] upgrading engine > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Here's my TestInitiator class: > > ---- > > package com.merlin.pb.fix; > > import java.io.InputStream; > > import quickfix.DefaultMessageFactory; > import quickfix.FileStoreFactory; > import quickfix.Initiator; > import quickfix.LogFactory; > import quickfix.MessageFactory; > import quickfix.MessageStoreFactory; > import quickfix.ScreenLogFactory; > import quickfix.SessionSettings; > import quickfix.ThreadedSocketInitiator; > > public class TestInitiator { > private static Initiator initiator = null; > > public static void main(String args[]) { > try { > System.out.println("running FIX engine..."); > > InputStream inputStream = > > MerlinFIXInitiator.class.getResourceAsStream("initiator.cfg"); > > SessionSettings settings = new > SessionSettings(inputStream); > TestApplication application = new TestApplication(); > > MessageStoreFactory messageStoreFactory = new > FileStoreFactory(settings); > LogFactory logFactory = new ScreenLogFactory(true, true, > true, true); > > MessageFactory messageFactory = new DefaultMessageFactory(); > > System.out.println("beginning initiator..."); > > initiator = new ThreadedSocketInitiator(application, > messageStoreFactory, > settings, > logFactory, > messageFactory); > > initiator.start(); > } catch(Exception e) { > e.printStackTrace(System.out); > } > } > } > > ---- > > Here's my TestApplication class: > > ---- > > package com.merlin.pb.fix; > > import quickfix.Application; > import quickfix.DoNotSend; > import quickfix.FieldNotFound; > import quickfix.IncorrectDataFormat; > import quickfix.IncorrectTagValue; > import quickfix.Message; > import quickfix.MessageCracker; > import quickfix.RejectLogon; > import quickfix.SessionID; > import quickfix.UnsupportedMessageType; > > public class TestApplication extends MessageCracker implements > Application { > public TestApplication() {} > > /* (non-Javadoc) > * @see quickfix.Application#fromAdmin(quickfix.Message, > quickfix.SessionID) > */ > public void fromAdmin(Message arg0, SessionID arg1) throws > FieldNotFound, > IncorrectDataFormat, IncorrectTagValue, > RejectLogon { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#fromApp(quickfix.Message, > quickfix.SessionID) > */ > public void fromApp(Message arg0, SessionID arg1) throws > FieldNotFound, > IncorrectDataFormat, IncorrectTagValue, > UnsupportedMessageType { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#onCreate(quickfix.SessionID) > */ > public void onCreate(SessionID arg0) { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#onLogon(quickfix.SessionID) > */ > public void onLogon(SessionID arg0) { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#onLogout(quickfix.SessionID) > */ > public void onLogout(SessionID arg0) { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#toAdmin(quickfix.Message, > quickfix.SessionID) > */ > public void toAdmin(Message arg0, SessionID arg1) { > // TODO Auto-generated method stub > > } > > /* (non-Javadoc) > * @see quickfix.Application#toApp(quickfix.Message, > quickfix.SessionID) > */ > public void toApp(Message arg0, SessionID arg1) throws DoNotSend > { > // TODO Auto-generated method stub > > } > } > > ---- > > You can clearly see NOTHING is going on...I'm not doing anything with > incoming messages...just testing connectivity pretty much: > > Test results: > > Using qfj-1.0.3/mina-core-0.9.3/slfj-jdk14-1.0.1: > > running FIX engine... > beginning initiator... > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Session > FIX.4.2:MERL_DROP->NEOV schedule is daily, 00:00:00 UTC - 00:00:00 UTC) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Created session: > FIX.4.2:MERL_DROP->NEOV) > Apr 30, 2007 1:44:59 PM quickfix.mina.initiator.InitiatorIoHandler > sessionCreated > INFO: MINA session created: /10.68.5.33:1550 > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, outgoing> > (8=FIX.4.29=6935=A34=2749=MERL_DROP52=20070430-17:44:59.90556=NEOV > 98=0108=3010=067) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Initiated logon > request) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, incoming> > (8=FIX.4.29=006535=A34=3349=NEOV56=MERL_DROP52=20070430-17:44:599 > 8=0108=3010=208) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Received logon > response) > <20070430-17:45:29, FIX.4.2:MERL_DROP->NEOV, incoming> > (8=FIX.4.29=005335=034=3449=NEOV56=MERL_DROP52=20070430-17:45:291 > 0=162) > <20070430-17:45:29, FIX.4.2:MERL_DROP->NEOV, outgoing> > (8=FIX.4.29=5735=034=2849=MERL_DROP52=20070430-17:45:29.93656=NEOV > 10=025) > > ...and so on and so forth...regular continuous and uninterrupted > heartbeats... > > Using qfj-1.0.5/mina-core-1.0.0/slf-jdk14-1.0.1 OR using > qfj-1.0.1/mina-core-1.0.1/mina-sources-1.0.1/slf-api-1.3.0/slf-jdk14-1.3 > .0: > > running FIX engine... > beginning initiator... > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Session > FIX.4.2:MERL_DROP->NEOV schedule is daily, 00:00:00 UTC - 00:00:00 UTC) > <20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Created session: > FIX.4.2:MERL_DROP->NEOV) > > ...engine stops. That's it. No message, nothing. > > What the heck could I possibly be doing wrong with the code above...it's > empty shell code...why would it work for 1.0.3 and no version greater? > > Merlin Securities - #1 Prime Broker North America, #1 Prime Broker > Single Strategy Funds, #1 Prime Broker Funds Under $100M - Global > Custodian 2007 > > > > > -------------------------------------------------------- > > This message contains information from Merlin Securities, LLC, or from > one of its affiliates, that may be confidential and privileged. If you > are not an intended recipient, please refrain from any disclosure, > copying, distribution or use of this information and note that such > actions are prohibited. If you have received this transmission in error, > please notify the sender immediately by telephone or by replying to this > transmission. > > Merlin Securities, LLC is a registered broker-dealer. Services offered > through Merlin Securities, LLC are not insured by the FDIC or any other > Federal Government Agency, are not deposits of or guaranteed by Merlin > Securities, LLC and may lose value. Nothing in this communication shall > constitute a solicitation or recommendation to buy or sell a particular > security. > > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > -------------------------------------------------------- > > This message contains information from Merlin Securities, LLC, or > from one of its affiliates, that may be confidential and > privileged. If you are not an intended recipient, please refrain > from any disclosure, copying, distribution or use of this > information and note that such actions are prohibited. If you > have received this transmission in error, please notify the > sender immediately by telephone or by replying to this transmission. > > Merlin Securities, LLC is a registered broker-dealer. Services > offered through Merlin Securities, LLC are not insured by the > FDIC or any other Federal Government Agency, are not deposits of > or guaranteed by Merlin Securities, LLC and may lose value. > Nothing in this communication shall constitute a solicitation or > recommendation to buy or sell a particular security. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |
|
From: Robert B. <rbr...@me...> - 2007-04-30 18:16:51
|
I'm sorry for the deluge of emails today, I'm "THAT" guy today...I'm
deeply sorry...but I was doing a little more tinkering and I simply
added:
System.out.println("press <enter> to quit");
System.in.read();
initiator.stop();
to my TestInitiator class right after the initiator.start() and now all
library versions work. Why do I have to have a System.in listener in
order for the engine to initialize and function properly in any version
greater than 1.0.3? How can I avoid this?
Thanks for your patience...I'm sorry
Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S=
trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007
From: qui...@li...
[mailto:qui...@li...] On Behalf Of
Robert Brueckmann
Sent: Monday, April 30, 2007 1:53 PM
To: qui...@li...
Subject: [Quickfixj-users] upgrading engine
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Here's my TestInitiator class:
----
package com.merlin.pb.fix;
import java.io.InputStream;
import quickfix.DefaultMessageFactory;
import quickfix.FileStoreFactory;
import quickfix.Initiator;
import quickfix.LogFactory;
import quickfix.MessageFactory;
import quickfix.MessageStoreFactory;
import quickfix.ScreenLogFactory;
import quickfix.SessionSettings;
import quickfix.ThreadedSocketInitiator;
public class TestInitiator {
private static Initiator initiator =3D null;
public static void main(String args[]) {
try {
System.out.println("running FIX engine...");
=09=20=20=20=20=09
InputStream inputStream =3D
=09
MerlinFIXInitiator.class.getResourceAsStream("initiator.cfg");
=09
SessionSettings settings =3D new
SessionSettings(inputStream);
TestApplication application =3D new TestApplication();
=20=20=20=20=20=20=20=20=20=20=20=20
MessageStoreFactory messageStoreFactory =3D new
FileStoreFactory(settings);
LogFactory logFactory =3D new ScreenLogFactory(true, true,
true, true);
=20=20=20=20=20=20=20=20=20=20=20=20
MessageFactory messageFactory =3D new DefaultMessageFactory();
=20=20=20=20=20=20=20=20=20=20=20=20
System.out.println("beginning initiator...");
initiator =3D new ThreadedSocketInitiator(application,
messageStoreFactory,
settings,
logFactory,
messageFactory);
initiator.start();
} catch(Exception e) {
e.printStackTrace(System.out);
}
}
}
----
Here's my TestApplication class:
----
package com.merlin.pb.fix;
import quickfix.Application;
import quickfix.DoNotSend;
import quickfix.FieldNotFound;
import quickfix.IncorrectDataFormat;
import quickfix.IncorrectTagValue;
import quickfix.Message;
import quickfix.MessageCracker;
import quickfix.RejectLogon;
import quickfix.SessionID;
import quickfix.UnsupportedMessageType;
public class TestApplication extends MessageCracker implements
Application {
public TestApplication() {}
/* (non-Javadoc)
* @see quickfix.Application#fromAdmin(quickfix.Message,
quickfix.SessionID)
*/
public void fromAdmin(Message arg0, SessionID arg1) throws
FieldNotFound,
IncorrectDataFormat, IncorrectTagValue,
RejectLogon {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#fromApp(quickfix.Message,
quickfix.SessionID)
*/
public void fromApp(Message arg0, SessionID arg1) throws
FieldNotFound,
IncorrectDataFormat, IncorrectTagValue,
UnsupportedMessageType {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#onCreate(quickfix.SessionID)
*/
public void onCreate(SessionID arg0) {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#onLogon(quickfix.SessionID)
*/
public void onLogon(SessionID arg0) {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#onLogout(quickfix.SessionID)
*/
public void onLogout(SessionID arg0) {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#toAdmin(quickfix.Message,
quickfix.SessionID)
*/
public void toAdmin(Message arg0, SessionID arg1) {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#toApp(quickfix.Message,
quickfix.SessionID)
*/
public void toApp(Message arg0, SessionID arg1) throws DoNotSend
{
// TODO Auto-generated method stub
}
}
----
You can clearly see NOTHING is going on...I'm not doing anything with
incoming messages...just testing connectivity pretty much:
Test results:
Using qfj-1.0.3/mina-core-0.9.3/slfj-jdk14-1.0.1:
running FIX engine...
beginning initiator...
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Session
FIX.4.2:MERL_DROP->NEOV schedule is daily, 00:00:00 UTC - 00:00:00 UTC)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Created session:
FIX.4.2:MERL_DROP->NEOV)
Apr 30, 2007 1:44:59 PM quickfix.mina.initiator.InitiatorIoHandler
sessionCreated
INFO: MINA session created: /10.68.5.33:1550
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, outgoing>
(8=3DFIX.4.2=019=3D69=0135=3DA=0134=3D27=0149=3DMERL_DROP=0152=3D20070430-1=
7:44:59.905=0156=3DNEOV
=0198=3D0=01108=3D30=0110=3D067=01)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Initiated logon
request)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, incoming>
(8=3DFIX.4.2=019=3D0065=0135=3DA=0134=3D33=0149=3DNEOV=0156=3DMERL_DROP=015=
2=3D20070430-17:44:59=019
8=3D0=01108=3D30=0110=3D208=01)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Received logon
response)
<20070430-17:45:29, FIX.4.2:MERL_DROP->NEOV, incoming>
(8=3DFIX.4.2=019=3D0053=0135=3D0=0134=3D34=0149=3DNEOV=0156=3DMERL_DROP=015=
2=3D20070430-17:45:29=011
0=3D162=01)
<20070430-17:45:29, FIX.4.2:MERL_DROP->NEOV, outgoing>
(8=3DFIX.4.2=019=3D57=0135=3D0=0134=3D28=0149=3DMERL_DROP=0152=3D20070430-1=
7:45:29.936=0156=3DNEOV
=0110=3D025=01)
...and so on and so forth...regular continuous and uninterrupted
heartbeats...
Using qfj-1.0.5/mina-core-1.0.0/slf-jdk14-1.0.1 OR using
qfj-1.0.1/mina-core-1.0.1/mina-sources-1.0.1/slf-api-1.3.0/slf-jdk14-1.3
.0:
running FIX engine...
beginning initiator...
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Session
FIX.4.2:MERL_DROP->NEOV schedule is daily, 00:00:00 UTC - 00:00:00 UTC)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Created session:
FIX.4.2:MERL_DROP->NEOV)
...engine stops. That's it. No message, nothing.
What the heck could I possibly be doing wrong with the code above...it's
empty shell code...why would it work for 1.0.3 and no version greater?
Merlin Securities - #1 Prime Broker North America, #1 Prime Broker
Single Strategy Funds, #1 Prime Broker Funds Under $100M - Global
Custodian 2007
=20
--------------------------------------------------------
This message contains information from Merlin Securities, LLC, or from
one of its affiliates, that may be confidential and privileged. If you
are not an intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error,
please notify the sender immediately by telephone or by replying to this
transmission.
=20
Merlin Securities, LLC is a registered broker-dealer. Services offered
through Merlin Securities, LLC are not insured by the FDIC or any other
Federal Government Agency, are not deposits of or guaranteed by Merlin
Securities, LLC and may lose value. Nothing in this communication shall
constitute a solicitation or recommendation to buy or sell a particular
security.
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
=20
--------------------------------------------------------
This message contains information from Merlin Securities, LLC, or from one =
of its affiliates, that may be confidential and privileged. If you are not =
an intended recipient, please refrain from any disclosure, copying, distrib=
ution or use of this information and note that such actions are prohibited.=
If you have received this transmission in error, please notify the sender =
immediately by telephone or by replying to this transmission.
=20
Merlin Securities, LLC is a registered broker-dealer. Services offered thro=
ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal=
Government Agency, are not deposits of or guaranteed by Merlin Securities,=
LLC and may lose value. Nothing in this communication shall constitute a s=
olicitation or recommendation to buy or sell a particular security.
|
|
From: Robert B. <rbr...@me...> - 2007-04-30 17:53:18
|
Here's my TestInitiator class:
----
package com.merlin.pb.fix;
import java.io.InputStream;
import quickfix.DefaultMessageFactory;
import quickfix.FileStoreFactory;
import quickfix.Initiator;
import quickfix.LogFactory;
import quickfix.MessageFactory;
import quickfix.MessageStoreFactory;
import quickfix.ScreenLogFactory;
import quickfix.SessionSettings;
import quickfix.ThreadedSocketInitiator;
public class TestInitiator {
private static Initiator initiator =3D null;
public static void main(String args[]) {
try {
System.out.println("running FIX engine...");
=09=20=20=20=20=09
InputStream inputStream =3D
=09
MerlinFIXInitiator.class.getResourceAsStream("initiator.cfg");
=09
SessionSettings settings =3D new
SessionSettings(inputStream);
TestApplication application =3D new TestApplication();
=20=20=20=20=20=20=20=20=20=20=20=20
MessageStoreFactory messageStoreFactory =3D new
FileStoreFactory(settings);
LogFactory logFactory =3D new ScreenLogFactory(true, true,
true, true);
=20=20=20=20=20=20=20=20=20=20=20=20
MessageFactory messageFactory =3D new DefaultMessageFactory();
=20=20=20=20=20=20=20=20=20=20=20=20
System.out.println("beginning initiator...");
initiator =3D new ThreadedSocketInitiator(application,
messageStoreFactory,
settings,
logFactory,
messageFactory);
initiator.start();
} catch(Exception e) {
e.printStackTrace(System.out);
}
}
}
----
Here's my TestApplication class:
----
package com.merlin.pb.fix;
import quickfix.Application;
import quickfix.DoNotSend;
import quickfix.FieldNotFound;
import quickfix.IncorrectDataFormat;
import quickfix.IncorrectTagValue;
import quickfix.Message;
import quickfix.MessageCracker;
import quickfix.RejectLogon;
import quickfix.SessionID;
import quickfix.UnsupportedMessageType;
public class TestApplication extends MessageCracker implements
Application {
public TestApplication() {}
/* (non-Javadoc)
* @see quickfix.Application#fromAdmin(quickfix.Message,
quickfix.SessionID)
*/
public void fromAdmin(Message arg0, SessionID arg1) throws
FieldNotFound,
IncorrectDataFormat, IncorrectTagValue,
RejectLogon {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#fromApp(quickfix.Message,
quickfix.SessionID)
*/
public void fromApp(Message arg0, SessionID arg1) throws
FieldNotFound,
IncorrectDataFormat, IncorrectTagValue,
UnsupportedMessageType {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#onCreate(quickfix.SessionID)
*/
public void onCreate(SessionID arg0) {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#onLogon(quickfix.SessionID)
*/
public void onLogon(SessionID arg0) {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#onLogout(quickfix.SessionID)
*/
public void onLogout(SessionID arg0) {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#toAdmin(quickfix.Message,
quickfix.SessionID)
*/
public void toAdmin(Message arg0, SessionID arg1) {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see quickfix.Application#toApp(quickfix.Message,
quickfix.SessionID)
*/
public void toApp(Message arg0, SessionID arg1) throws DoNotSend
{
// TODO Auto-generated method stub
}
}
----
You can clearly see NOTHING is going on...I'm not doing anything with
incoming messages...just testing connectivity pretty much:
Test results:
Using qfj-1.0.3/mina-core-0.9.3/slfj-jdk14-1.0.1:
running FIX engine...
beginning initiator...
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Session
FIX.4.2:MERL_DROP->NEOV schedule is daily, 00:00:00 UTC - 00:00:00 UTC)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Created session:
FIX.4.2:MERL_DROP->NEOV)
Apr 30, 2007 1:44:59 PM quickfix.mina.initiator.InitiatorIoHandler
sessionCreated
INFO: MINA session created: /10.68.5.33:1550
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, outgoing>
(8=3DFIX.4.2=019=3D69=0135=3DA=0134=3D27=0149=3DMERL_DROP=0152=3D20070430-1=
7:44:59.905=0156=3DNEOV
=0198=3D0=01108=3D30=0110=3D067=01)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Initiated logon
request)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, incoming>
(8=3DFIX.4.2=019=3D0065=0135=3DA=0134=3D33=0149=3DNEOV=0156=3DMERL_DROP=015=
2=3D20070430-17:44:59=019
8=3D0=01108=3D30=0110=3D208=01)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Received logon
response)
<20070430-17:45:29, FIX.4.2:MERL_DROP->NEOV, incoming>
(8=3DFIX.4.2=019=3D0053=0135=3D0=0134=3D34=0149=3DNEOV=0156=3DMERL_DROP=015=
2=3D20070430-17:45:29=011
0=3D162=01)
<20070430-17:45:29, FIX.4.2:MERL_DROP->NEOV, outgoing>
(8=3DFIX.4.2=019=3D57=0135=3D0=0134=3D28=0149=3DMERL_DROP=0152=3D20070430-1=
7:45:29.936=0156=3DNEOV
=0110=3D025=01)
...and so on and so forth...regular continuous and uninterrupted
heartbeats...
Using qfj-1.0.5/mina-core-1.0.0/slf-jdk14-1.0.1 OR using
qfj-1.0.1/mina-core-1.0.1/mina-sources-1.0.1/slf-api-1.3.0/slf-jdk14-1.3
.0:
running FIX engine...
beginning initiator...
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Session
FIX.4.2:MERL_DROP->NEOV schedule is daily, 00:00:00 UTC - 00:00:00 UTC)
<20070430-17:44:59, FIX.4.2:MERL_DROP->NEOV, event> (Created session:
FIX.4.2:MERL_DROP->NEOV)
...engine stops. That's it. No message, nothing.
What the heck could I possibly be doing wrong with the code above...it's
empty shell code...why would it work for 1.0.3 and no version greater?
Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S=
trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007
=20
--------------------------------------------------------
This message contains information from Merlin Securities, LLC, or from one =
of its affiliates, that may be confidential and privileged. If you are not =
an intended recipient, please refrain from any disclosure, copying, distrib=
ution or use of this information and note that such actions are prohibited.=
If you have received this transmission in error, please notify the sender =
immediately by telephone or by replying to this transmission.
=20
Merlin Securities, LLC is a registered broker-dealer. Services offered thro=
ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal=
Government Agency, are not deposits of or guaranteed by Merlin Securities,=
LLC and may lose value. Nothing in this communication shall constitute a s=
olicitation or recommendation to buy or sell a particular security.
|
|
From: Robert B. <rbr...@me...> - 2007-04-30 16:18:54
|
Toli, Thanks...that explains why I can't get jdbc logging to work in 1.0.3...but my code which simply logs to the FileStoreFactory works perfectly in 1.0.3 but all I do is update the libraries in the classpath to the libraries from the 1.1.0 release and this is what the screen shows: <20070430-15:58:45, FIX.4.2:MERL_DROP->NEOV, event> (Session FIX.4.2:MERL_DROP->NEOV schedule is daily, 10:30:00 UTC - 23:00:00 UTC) <20070430-15:58:45, FIX.4.2:MERL_DROP->NEOV, event> (Created session: FIX.4.2:MERL_DROP->NEOV) <20070430-15:58:45, FIX.4.2:MERL_DROP->NEOV, event> (Valid order types: [2]) Then the engine stops. I have try/catches with everything being printed to the log...nothing...no exception is being thrown, nothing at all. I'm at a loss. Revert the libraries back to 1.0.3 and it fires up...heartbeats run like clockwork and the incoming FIX messages get stored in the database. I'm going to start removing lines of code bit by bit and see if there's something in my initialization of my application to gain access to the queue that's causing this to break in 1.1.0...but you would think that some sort of exception would be thrown...NOTHING happens...the engine code just stops. No message, nothing. Bizarre. robert l. brueckmann vice president merlin securities 712 fifth avenue new york, ny 10019 p: 212.822.4821 f: 212.822.4820 Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:qui...@li...] On Behalf Of Toli Kuznets Sent: Monday, April 30, 2007 11:58 AM To: qui...@li... Subject: Re: [Quickfixj-users] jdbc logging QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Robert, I believe i know what the problem may be. in QFJ 1.1.0 we fixed a bug where an error connecting to the Jdbc store caused teh JdbcLog to go into an infinite recursion and print out the log below: > java.sql.SQLException: We are already in the process of making 1 connections and the number of simultaneous builds has been throttled to 0 essentially, it catch an exception making the first db entry, then would try to log the exception, and never stop. you get the idea. > I'm still baffled though why my FileStoreFactory code (no JDBC logging) will not work with the 1.1.0 libraries though... in that case, you are not dealing with JdbcLog so everything worked fine - your system worked correctly and the above situation didn't happen. If you look at the output of QFJ 1.1, you should see somewhere a line saying something about encountering a "write to Jdbc" failure and quitting the JdbcLog. Still not sure why your app will quit completely in case of a JdbcLog failure - it should just not log, but the app itself should keep working. So see if your database is setup correctly, make sure you can log on to it with the credentials supplied in the SessionSettings, etc. Also, if you can, try to run it in the debugger and trap all Errors/Exceptions, maybe for some reason JdbcLog throws some error that kills your entire app? ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. |
|
From: Toli K. <to...@ma...> - 2007-04-30 15:58:07
|
Robert, I believe i know what the problem may be. in QFJ 1.1.0 we fixed a bug where an error connecting to the Jdbc store caused teh JdbcLog to go into an infinite recursion and print out the log below: > java.sql.SQLException: We are already in the process of making 1 connections and the number of simultaneous builds has been throttled to 0 essentially, it catch an exception making the first db entry, then would try to log the exception, and never stop. you get the idea. > I'm still baffled though why my FileStoreFactory code (no JDBC logging) will not work with the 1.1.0 libraries though... in that case, you are not dealing with JdbcLog so everything worked fine - your system worked correctly and the above situation didn't happen. If you look at the output of QFJ 1.1, you should see somewhere a line saying something about encountering a "write to Jdbc" failure and quitting the JdbcLog. Still not sure why your app will quit completely in case of a JdbcLog failure - it should just not log, but the app itself should keep working. So see if your database is setup correctly, make sure you can log on to it with the credentials supplied in the SessionSettings, etc. Also, if you can, try to run it in the debugger and trap all Errors/Exceptions, maybe for some reason JdbcLog throws some error that kills your entire app? |
|
From: Robert B. <rbr...@me...> - 2007-04-30 15:50:20
|
Ok...I was just kidding about the composite logging with JDBC using qfj-1.0= .3...it starts up ok and then once the heartbeats begin I get 100s of the f= ollowing exception: (We are already in the process of making 1 connections and the number of si= multaneous builds has been throttled to 0 java.sql.SQLException: We are already in the process of making 1 connection= s and the number of simultaneous builds has been throttled to 0 Not sure what the heck is going on...at least I'm getting an exception with= qfj-1.0.3 though...1.1.0 just dies with no explanation. I'm beginning to think that maybe jdbc logging just isn't meant to play nic= e with Oracle?=20=20 I'm still baffled though why my FileStoreFactory code (no JDBC logging) wil= l not work with the 1.1.0 libraries though... robert l. brueckmann vice president merlin securities 712 fifth avenue new york, ny 10019 p: 212.822.4821 f: 212.822.4820 Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:quickfixj-users= -bo...@li...] On Behalf Of Robert Brueckmann Sent: Monday, April 30, 2007 11:30 AM To: qui...@li... Subject: Re: [Quickfixj-users] jdbc logging QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ To clarify, in my first paragraph I typed the wrong versions of the min and= slfj libraries...I'm definitely using the min and slfj libraries that come= with the 1.1.0 qfj download...and when I reverted to qfj-1.0.3, I reverted= the min and slfj libraries as well...I was very careful about this... Thanks! =20 robert l. brueckmann vice president merlin securities 712 fifth avenue new york, ny 10019 p: 212.822.4821 f: 212.822.4820 Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:quickfixj-users= -bo...@li...] On Behalf Of Robert Brueckmann Sent: Monday, April 30, 2007 11:26 AM To: qui...@li... Subject: Re: [Quickfixj-users] jdbc logging QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ J=F6rg, Ok...oddest thing...when I switched to JdbcLogging, I also simultaneously u= pgraded my QuickFix/j library from 1.0.3 to 1.1.0. So with the 1.1.0 libra= ries (including min-0.9.3 and slf4j-1.0.1), I am having the problems I illu= strated in my previous emails...so I reverted my code to use: MessageStoreFactory messageStoreFactory =3D new FileStoreFactory(settings); LogFactory logFactory =3D new ScreenLogFactory(true, true, true, true); Fired it up...same behavior...the runtime just exits. So then I left my code in it's original state and reverted the libraries ba= ck to quickfixj-1.0.3 (and reverted to min-0.9.3 and slf4j-1.0.1 as well), = fired up my code...same code, came config file)...engine is up and running = fine...heart beats every 30 seconds, not a problem. So then I left the 1.0.3 libraries in place and used your suggestion of the= CompositeLogFactory: MessageStoreFactory messageStoreFactory =3D new JdbcStoreFactory(settings); LogFactory[] logFactories =3D {new JdbcLogFactory(settings), new ScreenLogFactory(true, true, true, true)}; LogFactory logFactory =3D new CompositeLogFactory(logFactories); Magically fires up without a hitch...logging to database and screen...no pr= oblems. Same code, same config files but the 1.1.0 libraries...engine just dies. I= looked at the Banzai example that came with the 1.1.0 src download to see = if my Initiator class is missing something that 1.1.0 needs that 1.0.3 wasn= 't doing...or that I personally was doing something crazy, likewise with my= custom Application class...both are plain vanilla...the only custom thing = we're doing in the Application class is creating a connection to an Oracle = queue in the init() method triggered in the main class of the Initiator and= then simply passing the xml-converted FIX messages to the Oracle queue...w= orks with qfj-1.0.3...not so much with 1.1.0...I even tried 1.0.5 and those= don't work either. Can you think of anything that I might be doing that could cause these libr= aries to not be backwards compatible with my code? Thanks for any help! Rob Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:quickfixj-users= -bo...@li...] On Behalf Of Joerg Thoennes Sent: Monday, April 30, 2007 10:34 AM To: qui...@li... Subject: Re: [Quickfixj-users] jdbc logging QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Robert, actually it would be helpful to have some more logging. Therefore, I sugges= t to use the CompositeLogFactory to log *both* to the file (which works as you say) and = to the JDBC. Would be good to see all the logging output in one file. Do you use log4j? Then put the appropriate slf* jar in your CLASSPATH. Cheers, J=F6rg On 04/30/07 15:48, Robert Brueckmann wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi Steve, >=20 > In the 'sessions' table a record is inserted with the seq numbers, begin > string, comp and target ids, etc (session_qualifier is NULL)...then > immediately afterwards, the 'event_log' table gets 3 messages inserted > (session_qualifier is NULL here as well) and the 3 text messages of the > 3 records indicate the session information with the start and end times, > then a message claiming the session was created, then the final message > explaining the valid order types. Then the engine quietly shuts down as > you see in the log I pasted below. There are NO System.exit()s anywhere > in my code...the only way this code can exit is by someone hitting > ctrl+c on the command-line...there's no programmatic exiting in my > code...and being the log below gives no explanation...and if I switch > back to the standard file-based logging, this works fine and the engine > starts processing incoming messages, I'm a little perplexed. >=20 > Any further insight? >=20 > Thanks! >=20 >=20 >=20 > Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single= Strategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 >=20 >=20 > From: qui...@li... > [mailto:qui...@li...] On Behalf Of > Steve Bate > Sent: Friday, April 27, 2007 4:43 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] jdbc logging >=20 > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > This looks like something is either calling System.exit() or > the main function is exiting. I'd look there first. Is there any=20 > related information in your session-specific log or does it not > get that far?=20 >=20 >> -----Original Message----- >> From: qui...@li... >> [mailto:qui...@li...]On Behalf Of >> Robert Brueckmann >> Sent: Friday, April 27, 2007 1:45 PM >> To: qui...@li... >> Subject: Re: [Quickfixj-users] jdbc logging >> >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> We've removed the NOT NULL constraint (kind of weird since this olumn > is >> part of the primary key and by oracle standards a column in the > primary >> key can't be not null so we had to remove that constraint as well...so >> we removed these constraints and fired it up...no exceptions now but > now >> the engine starts up...logs a few messages to the screen which I'll >> paste below and then immediately shuts down with no exception or > message >> of why it's immediately shutting down. >> >> Any thoughts?!? >> >> Here's the console output: >> >> 2007-04-27 13:38:24,215 DEBUG [main] proxool.ShutdownHook >> (ShutdownHook.java:73) - Registered shutdownHook >> 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController >> (HouseKeeperController.java:84) - Registering 'quickfixj-1' house > keeper >> 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController >> (HouseKeeperController.java:92) - Starting a house keeper thread >> 2007-04-27 13:38:26,855 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > isReadOnly() >> =3D false >> 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: >> getHoldability() =3D 1 >> 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: >> getTransactionIsolation() =3D 2 >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > getTypeMap() >> =3D {SYS.XMLTYPE=3Dclass oracle.xdb.XMLTypeFactory} >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > getCatalog() >> =3D null >> 2007-04-27 13:38:26,886 INFO [main] proxool.ConnectionPool >> (ConnectionPool.java:623) - Proxool statistics legend: "s - r > (a/t/o)" >>> s=3Dserved, r=3Drefused (only shown if non-zero), a=3Dactive, t=3Dtotal, >> o=3Doffline (being tested) >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.Prototyper >> (Prototyper.java:204) - 000000 (01/01/00) - Connection #1 created on >> demand =3D ACTIVE >> 2007-04-27 13:38:27,074 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.ClientDataSupport >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OracleConnection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OracleConnection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface java.sql.Connection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface > oracle.sql.ClobDBAccess >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface > oracle.sql.BlobDBAccess >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.sql.BfileDBAccess >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface java.sql.Statement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OracleStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OraclePreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> java.sql.PreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OraclePreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OracleStatement >> 2007-04-27 13:38:28,574 DEBUG [ShutdownHook] proxool.ShutdownHook >> (ShutdownHook.java:93) - Running ShutdownHook >> 2007-04-27 13:38:28,574 INFO [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:490) - Shutting down 'quickfixj-1' pool > immediately >> [Shutdown Hook] >> 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:447) - 000004 (00/00/00) - #0001 removed because > of >> shutdown. >> 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:553) - Connection #1 closed >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:570) - 'quickfixj-1' pool has been closed down by >> Shutdown Hook in 15 milliseconds. >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] >> proxool.PrototyperController (PrototyperController.java:100) - > Stopping >> Prototyper thread >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] >> proxool.HouseKeeperController (HouseKeeperController.java:107) - >> Stopping HouseKeeper thread >> >> Merlin Securities - #1 Prime Broker North America, #1 Prime=20 >> Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M -=20 >> Global Custodian 2007 >> >> >>=20=20 >> >> -------------------------------------------------------- >> >> This message contains information from Merlin Securities, LLC, or=20 >> from one of its affiliates, that may be confidential and=20 >> privileged. If you are not an intended recipient, please refrain=20 >> from any disclosure, copying, distribution or use of this=20 >> information and note that such actions are prohibited. If you=20 >> have received this transmission in error, please notify the=20 >> sender immediately by telephone or by replying to this transmission. >>=20=20 >> Merlin Securities, LLC is a registered broker-dealer. Services=20 >> offered through Merlin Securities, LLC are not insured by the=20 >> FDIC or any other Federal Government Agency, are not deposits of=20 >> or guaranteed by Merlin Securities, LLC and may lose value.=20 >> Nothing in this communication shall constitute a solicitation or=20 >> recommendation to buy or sell a particular security. >> >> >> >> > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >=20 > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users >=20=20 >=20 > -------------------------------------------------------- >=20 > This message contains information from Merlin Securities, LLC, or from on= e of its affiliates, that may be confidential and privileged. If you are no= t an intended recipient, please refrain from any disclosure, copying, distr= ibution or use of this information and note that such actions are prohibite= d. If you have received this transmission in error, please notify the sende= r immediately by telephone or by replying to this transmission. >=20=20 > Merlin Securities, LLC is a registered broker-dealer. Services offered th= rough Merlin Securities, LLC are not insured by the FDIC or any other Feder= al Government Agency, are not deposits of or guaranteed by Merlin Securitie= s, LLC and may lose value. Nothing in this communication shall constitute a= solicitation or recommendation to buy or sell a particular security. >=20 >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users --=20 Joerg Thoennes http://www.macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Gesch=E4ftsf=FChrer: Roger Macdonald Lothringer Str. 52, D-52070 Aachen Amtsgericht Aachen, HRB 8151, Ust.-Id D= E813021663 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. |
|
From: Robert B. <rbr...@me...> - 2007-04-30 15:30:26
|
To clarify, in my first paragraph I typed the wrong versions of the min and= slfj libraries...I'm definitely using the min and slfj libraries that come= with the 1.1.0 qfj download...and when I reverted to qfj-1.0.3, I reverted= the min and slfj libraries as well...I was very careful about this... Thanks! =20 robert l. brueckmann vice president merlin securities 712 fifth avenue new york, ny 10019 p: 212.822.4821 f: 212.822.4820 Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:quickfixj-users= -bo...@li...] On Behalf Of Robert Brueckmann Sent: Monday, April 30, 2007 11:26 AM To: qui...@li... Subject: Re: [Quickfixj-users] jdbc logging QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ J=F6rg, Ok...oddest thing...when I switched to JdbcLogging, I also simultaneously u= pgraded my QuickFix/j library from 1.0.3 to 1.1.0. So with the 1.1.0 libra= ries (including min-0.9.3 and slf4j-1.0.1), I am having the problems I illu= strated in my previous emails...so I reverted my code to use: MessageStoreFactory messageStoreFactory =3D new FileStoreFactory(settings); LogFactory logFactory =3D new ScreenLogFactory(true, true, true, true); Fired it up...same behavior...the runtime just exits. So then I left my code in it's original state and reverted the libraries ba= ck to quickfixj-1.0.3 (and reverted to min-0.9.3 and slf4j-1.0.1 as well), = fired up my code...same code, came config file)...engine is up and running = fine...heart beats every 30 seconds, not a problem. So then I left the 1.0.3 libraries in place and used your suggestion of the= CompositeLogFactory: MessageStoreFactory messageStoreFactory =3D new JdbcStoreFactory(settings); LogFactory[] logFactories =3D {new JdbcLogFactory(settings), new ScreenLogFactory(true, true, true, true)}; LogFactory logFactory =3D new CompositeLogFactory(logFactories); Magically fires up without a hitch...logging to database and screen...no pr= oblems. Same code, same config files but the 1.1.0 libraries...engine just dies. I= looked at the Banzai example that came with the 1.1.0 src download to see = if my Initiator class is missing something that 1.1.0 needs that 1.0.3 wasn= 't doing...or that I personally was doing something crazy, likewise with my= custom Application class...both are plain vanilla...the only custom thing = we're doing in the Application class is creating a connection to an Oracle = queue in the init() method triggered in the main class of the Initiator and= then simply passing the xml-converted FIX messages to the Oracle queue...w= orks with qfj-1.0.3...not so much with 1.1.0...I even tried 1.0.5 and those= don't work either. Can you think of anything that I might be doing that could cause these libr= aries to not be backwards compatible with my code? Thanks for any help! Rob Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:quickfixj-users= -bo...@li...] On Behalf Of Joerg Thoennes Sent: Monday, April 30, 2007 10:34 AM To: qui...@li... Subject: Re: [Quickfixj-users] jdbc logging QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Hi Robert, actually it would be helpful to have some more logging. Therefore, I sugges= t to use the CompositeLogFactory to log *both* to the file (which works as you say) and = to the JDBC. Would be good to see all the logging output in one file. Do you use log4j? Then put the appropriate slf* jar in your CLASSPATH. Cheers, J=F6rg On 04/30/07 15:48, Robert Brueckmann wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi Steve, >=20 > In the 'sessions' table a record is inserted with the seq numbers, begin > string, comp and target ids, etc (session_qualifier is NULL)...then > immediately afterwards, the 'event_log' table gets 3 messages inserted > (session_qualifier is NULL here as well) and the 3 text messages of the > 3 records indicate the session information with the start and end times, > then a message claiming the session was created, then the final message > explaining the valid order types. Then the engine quietly shuts down as > you see in the log I pasted below. There are NO System.exit()s anywhere > in my code...the only way this code can exit is by someone hitting > ctrl+c on the command-line...there's no programmatic exiting in my > code...and being the log below gives no explanation...and if I switch > back to the standard file-based logging, this works fine and the engine > starts processing incoming messages, I'm a little perplexed. >=20 > Any further insight? >=20 > Thanks! >=20 >=20 >=20 > Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single= Strategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 >=20 >=20 > From: qui...@li... > [mailto:qui...@li...] On Behalf Of > Steve Bate > Sent: Friday, April 27, 2007 4:43 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] jdbc logging >=20 > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > This looks like something is either calling System.exit() or > the main function is exiting. I'd look there first. Is there any=20 > related information in your session-specific log or does it not > get that far?=20 >=20 >> -----Original Message----- >> From: qui...@li... >> [mailto:qui...@li...]On Behalf Of >> Robert Brueckmann >> Sent: Friday, April 27, 2007 1:45 PM >> To: qui...@li... >> Subject: Re: [Quickfixj-users] jdbc logging >> >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> We've removed the NOT NULL constraint (kind of weird since this olumn > is >> part of the primary key and by oracle standards a column in the > primary >> key can't be not null so we had to remove that constraint as well...so >> we removed these constraints and fired it up...no exceptions now but > now >> the engine starts up...logs a few messages to the screen which I'll >> paste below and then immediately shuts down with no exception or > message >> of why it's immediately shutting down. >> >> Any thoughts?!? >> >> Here's the console output: >> >> 2007-04-27 13:38:24,215 DEBUG [main] proxool.ShutdownHook >> (ShutdownHook.java:73) - Registered shutdownHook >> 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController >> (HouseKeeperController.java:84) - Registering 'quickfixj-1' house > keeper >> 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController >> (HouseKeeperController.java:92) - Starting a house keeper thread >> 2007-04-27 13:38:26,855 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > isReadOnly() >> =3D false >> 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: >> getHoldability() =3D 1 >> 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: >> getTransactionIsolation() =3D 2 >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > getTypeMap() >> =3D {SYS.XMLTYPE=3Dclass oracle.xdb.XMLTypeFactory} >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > getCatalog() >> =3D null >> 2007-04-27 13:38:26,886 INFO [main] proxool.ConnectionPool >> (ConnectionPool.java:623) - Proxool statistics legend: "s - r > (a/t/o)" >>> s=3Dserved, r=3Drefused (only shown if non-zero), a=3Dactive, t=3Dtotal, >> o=3Doffline (being tested) >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.Prototyper >> (Prototyper.java:204) - 000000 (01/01/00) - Connection #1 created on >> demand =3D ACTIVE >> 2007-04-27 13:38:27,074 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.ClientDataSupport >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OracleConnection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OracleConnection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface java.sql.Connection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface > oracle.sql.ClobDBAccess >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface > oracle.sql.BlobDBAccess >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.sql.BfileDBAccess >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface java.sql.Statement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OracleStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OraclePreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> java.sql.PreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OraclePreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OracleStatement >> 2007-04-27 13:38:28,574 DEBUG [ShutdownHook] proxool.ShutdownHook >> (ShutdownHook.java:93) - Running ShutdownHook >> 2007-04-27 13:38:28,574 INFO [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:490) - Shutting down 'quickfixj-1' pool > immediately >> [Shutdown Hook] >> 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:447) - 000004 (00/00/00) - #0001 removed because > of >> shutdown. >> 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:553) - Connection #1 closed >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:570) - 'quickfixj-1' pool has been closed down by >> Shutdown Hook in 15 milliseconds. >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] >> proxool.PrototyperController (PrototyperController.java:100) - > Stopping >> Prototyper thread >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] >> proxool.HouseKeeperController (HouseKeeperController.java:107) - >> Stopping HouseKeeper thread >> >> Merlin Securities - #1 Prime Broker North America, #1 Prime=20 >> Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M -=20 >> Global Custodian 2007 >> >> >>=20=20 >> >> -------------------------------------------------------- >> >> This message contains information from Merlin Securities, LLC, or=20 >> from one of its affiliates, that may be confidential and=20 >> privileged. If you are not an intended recipient, please refrain=20 >> from any disclosure, copying, distribution or use of this=20 >> information and note that such actions are prohibited. If you=20 >> have received this transmission in error, please notify the=20 >> sender immediately by telephone or by replying to this transmission. >>=20=20 >> Merlin Securities, LLC is a registered broker-dealer. Services=20 >> offered through Merlin Securities, LLC are not insured by the=20 >> FDIC or any other Federal Government Agency, are not deposits of=20 >> or guaranteed by Merlin Securities, LLC and may lose value.=20 >> Nothing in this communication shall constitute a solicitation or=20 >> recommendation to buy or sell a particular security. >> >> >> >> > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >=20 > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users >=20=20 >=20 > -------------------------------------------------------- >=20 > This message contains information from Merlin Securities, LLC, or from on= e of its affiliates, that may be confidential and privileged. If you are no= t an intended recipient, please refrain from any disclosure, copying, distr= ibution or use of this information and note that such actions are prohibite= d. If you have received this transmission in error, please notify the sende= r immediately by telephone or by replying to this transmission. >=20=20 > Merlin Securities, LLC is a registered broker-dealer. Services offered th= rough Merlin Securities, LLC are not insured by the FDIC or any other Feder= al Government Agency, are not deposits of or guaranteed by Merlin Securitie= s, LLC and may lose value. Nothing in this communication shall constitute a= solicitation or recommendation to buy or sell a particular security. >=20 >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users --=20 Joerg Thoennes http://www.macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Gesch=E4ftsf=FChrer: Roger Macdonald Lothringer Str. 52, D-52070 Aachen Amtsgericht Aachen, HRB 8151, Ust.-Id D= E813021663 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. |
|
From: Robert B. <rbr...@me...> - 2007-04-30 15:26:58
|
J=F6rg,
Ok...oddest thing...when I switched to JdbcLogging, I also simultaneously u=
pgraded my QuickFix/j library from 1.0.3 to 1.1.0. So with the 1.1.0 libra=
ries (including min-0.9.3 and slf4j-1.0.1), I am having the problems I illu=
strated in my previous emails...so I reverted my code to use:
MessageStoreFactory messageStoreFactory =3D new FileStoreFactory(settings);
LogFactory logFactory =3D new ScreenLogFactory(true, true, true, true);
Fired it up...same behavior...the runtime just exits.
So then I left my code in it's original state and reverted the libraries ba=
ck to quickfixj-1.0.3 (and reverted to min-0.9.3 and slf4j-1.0.1 as well), =
fired up my code...same code, came config file)...engine is up and running =
fine...heart beats every 30 seconds, not a problem.
So then I left the 1.0.3 libraries in place and used your suggestion of the=
CompositeLogFactory:
MessageStoreFactory messageStoreFactory =3D new JdbcStoreFactory(settings);
LogFactory[] logFactories =3D {new JdbcLogFactory(settings),
new ScreenLogFactory(true, true, true, true)};
LogFactory logFactory =3D new CompositeLogFactory(logFactories);
Magically fires up without a hitch...logging to database and screen...no pr=
oblems.
Same code, same config files but the 1.1.0 libraries...engine just dies. I=
looked at the Banzai example that came with the 1.1.0 src download to see =
if my Initiator class is missing something that 1.1.0 needs that 1.0.3 wasn=
't doing...or that I personally was doing something crazy, likewise with my=
custom Application class...both are plain vanilla...the only custom thing =
we're doing in the Application class is creating a connection to an Oracle =
queue in the init() method triggered in the main class of the Initiator and=
then simply passing the xml-converted FIX messages to the Oracle queue...w=
orks with qfj-1.0.3...not so much with 1.1.0...I even tried 1.0.5 and those=
don't work either.
Can you think of anything that I might be doing that could cause these libr=
aries to not be backwards compatible with my code?
Thanks for any help!
Rob
Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S=
trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007
From: qui...@li... [mailto:quickfixj-users=
-bo...@li...] On Behalf Of Joerg Thoennes
Sent: Monday, April 30, 2007 10:34 AM
To: qui...@li...
Subject: Re: [Quickfixj-users] jdbc logging
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/
Hi Robert,
actually it would be helpful to have some more logging. Therefore, I sugges=
t to use the
CompositeLogFactory to log *both* to the file (which works as you say) and =
to the JDBC.
Would be good to see all the logging output in one file. Do you use log4j?
Then put the appropriate slf* jar in your CLASSPATH.
Cheers, J=F6rg
On 04/30/07 15:48, Robert Brueckmann wrote:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> Hi Steve,
>=20
> In the 'sessions' table a record is inserted with the seq numbers, begin
> string, comp and target ids, etc (session_qualifier is NULL)...then
> immediately afterwards, the 'event_log' table gets 3 messages inserted
> (session_qualifier is NULL here as well) and the 3 text messages of the
> 3 records indicate the session information with the start and end times,
> then a message claiming the session was created, then the final message
> explaining the valid order types. Then the engine quietly shuts down as
> you see in the log I pasted below. There are NO System.exit()s anywhere
> in my code...the only way this code can exit is by someone hitting
> ctrl+c on the command-line...there's no programmatic exiting in my
> code...and being the log below gives no explanation...and if I switch
> back to the standard file-based logging, this works fine and the engine
> starts processing incoming messages, I'm a little perplexed.
>=20
> Any further insight?
>=20
> Thanks!
>=20
>=20
>=20
> Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single=
Strategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007
>=20
>=20
> From: qui...@li...
> [mailto:qui...@li...] On Behalf Of
> Steve Bate
> Sent: Friday, April 27, 2007 4:43 PM
> To: qui...@li...
> Subject: Re: [Quickfixj-users] jdbc logging
>=20
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> This looks like something is either calling System.exit() or
> the main function is exiting. I'd look there first. Is there any=20
> related information in your session-specific log or does it not
> get that far?=20
>=20
>> -----Original Message-----
>> From: qui...@li...
>> [mailto:qui...@li...]On Behalf Of
>> Robert Brueckmann
>> Sent: Friday, April 27, 2007 1:45 PM
>> To: qui...@li...
>> Subject: Re: [Quickfixj-users] jdbc logging
>>
>>
>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
>> QuickFIX/J Support: http://www.quickfixj.org/support/
>> We've removed the NOT NULL constraint (kind of weird since this olumn
> is
>> part of the primary key and by oracle standards a column in the
> primary
>> key can't be not null so we had to remove that constraint as well...so
>> we removed these constraints and fired it up...no exceptions now but
> now
>> the engine starts up...logs a few messages to the screen which I'll
>> paste below and then immediately shuts down with no exception or
> message
>> of why it's immediately shutting down.
>>
>> Any thoughts?!?
>>
>> Here's the console output:
>>
>> 2007-04-27 13:38:24,215 DEBUG [main] proxool.ShutdownHook
>> (ShutdownHook.java:73) - Registered shutdownHook
>> 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController
>> (HouseKeeperController.java:84) - Registering 'quickfixj-1' house
> keeper
>> 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController
>> (HouseKeeperController.java:92) - Starting a house keeper thread
>> 2007-04-27 13:38:26,855 DEBUG [main] proxool.ConnectionResetter
>> (ConnectionResetter.java:168) - Remembering default value:
> isReadOnly()
>> =3D false
>> 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter
>> (ConnectionResetter.java:168) - Remembering default value:
>> getHoldability() =3D 1
>> 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter
>> (ConnectionResetter.java:168) - Remembering default value:
>> getTransactionIsolation() =3D 2
>> 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter
>> (ConnectionResetter.java:168) - Remembering default value:
> getTypeMap()
>> =3D {SYS.XMLTYPE=3Dclass oracle.xdb.XMLTypeFactory}
>> 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter
>> (ConnectionResetter.java:168) - Remembering default value:
> getCatalog()
>> =3D null
>> 2007-04-27 13:38:26,886 INFO [main] proxool.ConnectionPool
>> (ConnectionPool.java:623) - Proxool statistics legend: "s - r
> (a/t/o)"
>>> s=3Dserved, r=3Drefused (only shown if non-zero), a=3Dactive, t=3Dtotal,
>> o=3Doffline (being tested)
>> 2007-04-27 13:38:26,886 DEBUG [main] proxool.Prototyper
>> (Prototyper.java:204) - 000000 (01/01/00) - Connection #1 created on
>> demand =3D ACTIVE
>> 2007-04-27 13:38:27,074 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> oracle.jdbc.internal.ClientDataSupport
>> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> oracle.jdbc.OracleConnection
>> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> oracle.jdbc.internal.OracleConnection
>> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface java.sql.Connection
>> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
> oracle.sql.ClobDBAccess
>> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
> oracle.sql.BlobDBAccess
>> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> oracle.sql.BfileDBAccess
>> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface java.sql.Statement
>> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> oracle.jdbc.OracleStatement
>> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> oracle.jdbc.OraclePreparedStatement
>> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> java.sql.PreparedStatement
>> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> oracle.jdbc.internal.OraclePreparedStatement
>> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory
>> (ProxyFactory.java:209) - Implementing interface
>> oracle.jdbc.internal.OracleStatement
>> 2007-04-27 13:38:28,574 DEBUG [ShutdownHook] proxool.ShutdownHook
>> (ShutdownHook.java:93) - Running ShutdownHook
>> 2007-04-27 13:38:28,574 INFO [Shutdown Hook] proxool.ConnectionPool
>> (ConnectionPool.java:490) - Shutting down 'quickfixj-1' pool
> immediately
>> [Shutdown Hook]
>> 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool
>> (ConnectionPool.java:447) - 000004 (00/00/00) - #0001 removed because
> of
>> shutdown.
>> 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool
>> (ConnectionPool.java:553) - Connection #1 closed
>> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] proxool.ConnectionPool
>> (ConnectionPool.java:570) - 'quickfixj-1' pool has been closed down by
>> Shutdown Hook in 15 milliseconds.
>> 2007-04-27 13:38:28,589 INFO [Shutdown Hook]
>> proxool.PrototyperController (PrototyperController.java:100) -
> Stopping
>> Prototyper thread
>> 2007-04-27 13:38:28,589 INFO [Shutdown Hook]
>> proxool.HouseKeeperController (HouseKeeperController.java:107) -
>> Stopping HouseKeeper thread
>>
>> Merlin Securities - #1 Prime Broker North America, #1 Prime=20
>> Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M -=20
>> Global Custodian 2007
>>
>>
>>=20=20
>>
>> --------------------------------------------------------
>>
>> This message contains information from Merlin Securities, LLC, or=20
>> from one of its affiliates, that may be confidential and=20
>> privileged. If you are not an intended recipient, please refrain=20
>> from any disclosure, copying, distribution or use of this=20
>> information and note that such actions are prohibited. If you=20
>> have received this transmission in error, please notify the=20
>> sender immediately by telephone or by replying to this transmission.
>>=20=20
>> Merlin Securities, LLC is a registered broker-dealer. Services=20
>> offered through Merlin Securities, LLC are not insured by the=20
>> FDIC or any other Federal Government Agency, are not deposits of=20
>> or guaranteed by Merlin Securities, LLC and may lose value.=20
>> Nothing in this communication shall constitute a solicitation or=20
>> recommendation to buy or sell a particular security.
>>
>>
>>
>>
> ------------------------------------------------------------------------
> -
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Quickfixj-users mailing list
>> Qui...@li...
>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>>
>=20
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>=20=20
>=20
> --------------------------------------------------------
>=20
> This message contains information from Merlin Securities, LLC, or from on=
e of its affiliates, that may be confidential and privileged. If you are no=
t an intended recipient, please refrain from any disclosure, copying, distr=
ibution or use of this information and note that such actions are prohibite=
d. If you have received this transmission in error, please notify the sende=
r immediately by telephone or by replying to this transmission.
>=20=20
> Merlin Securities, LLC is a registered broker-dealer. Services offered th=
rough Merlin Securities, LLC are not insured by the FDIC or any other Feder=
al Government Agency, are not deposits of or guaranteed by Merlin Securitie=
s, LLC and may lose value. Nothing in this communication shall constitute a=
solicitation or recommendation to buy or sell a particular security.
>=20
>=20
>=20
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
--=20
Joerg Thoennes
http://www.macd.com Tel.: +49 (0)241 44597-24
Macdonald Associates GmbH Gesch=E4ftsf=FChrer: Roger Macdonald
Lothringer Str. 52, D-52070 Aachen Amtsgericht Aachen, HRB 8151, Ust.-Id D=
E813021663
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Quickfixj-users mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
=20
--------------------------------------------------------
This message contains information from Merlin Securities, LLC, or from one =
of its affiliates, that may be confidential and privileged. If you are not =
an intended recipient, please refrain from any disclosure, copying, distrib=
ution or use of this information and note that such actions are prohibited.=
If you have received this transmission in error, please notify the sender =
immediately by telephone or by replying to this transmission.
=20
Merlin Securities, LLC is a registered broker-dealer. Services offered thro=
ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal=
Government Agency, are not deposits of or guaranteed by Merlin Securities,=
LLC and may lose value. Nothing in this communication shall constitute a s=
olicitation or recommendation to buy or sell a particular security.
|
|
From: Toli K. <to...@ma...> - 2007-04-30 14:41:02
|
Mohammad, If you look at the example in http://www.quickfixj.org/quickfixj/usermanual/usage/sending_messages.html, you'll see that you actually don't need to set any of the Header tags - QFJ takes care of that when you do Session.sendToTarget. So you need to make sure you setup your Session correctly with the initialization file, and then just set all of the specific fields for QuoteRequest. Then, just send it out - and QFJ will set the body length, message seq num, etc. So essentially you should only have this: > System.out.println("SENDING REQUEST FOR QUOTES"); > Message message = new Message(); > quickfix.fix44.QuoteRequest quoteRequest=new > quickfix.fix44.QuoteRequest(); > quoteRequest.setField(new QuoteReqID()); > quoteRequest.setField(new ClOrdID("Client Order ID")); > quoteRequest.setField(new NoRelatedSym(0)); > quoteRequest.setField(new NoUnderlyings(1)); > quoteRequest.setField(new Side('1')); > quoteRequest.setField(new QtyType()); > quoteRequest.setField(new Account("ACCOUNT")); > quoteRequest.setField(new NoLegs(2)); > quoteRequest.setField(new LegQty(2)); > quoteRequest.setField(new OrdType('1')); > quoteRequest.setField(new ExpireTime()); see the Repeating Groups example on how to correctly set repeating groups. You'll need to create one of these: quickfix.fix44.QuoteRequest.NoRelatedSym() Look at the thread http://www.nabble.com/Multi-leg-quote-request-exception-tf3644792.html#a10178926 for an example - keep in mind that in this example there was a missing field, see further messages. > Session.sendToTarget(quoteRequest,"client2","ifkaar"); Make sure your session is created correctly up front - otherwise, your message may not go through. Also, feel free to download and look through our OMS code as well. It's posted online, and there are lost of examples on how to create and send messages. http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/BuildingPlatform -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |
|
From: Joerg T. <Joe...@ma...> - 2007-04-30 14:34:01
|
Hi Robert, actually it would be helpful to have some more logging. Therefore, I suggest to use the CompositeLogFactory to log *both* to the file (which works as you say) and to the JDBC. Would be good to see all the logging output in one file. Do you use log4j? Then put the appropriate slf* jar in your CLASSPATH. Cheers, Jörg On 04/30/07 15:48, Robert Brueckmann wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi Steve, > > In the 'sessions' table a record is inserted with the seq numbers, begin > string, comp and target ids, etc (session_qualifier is NULL)...then > immediately afterwards, the 'event_log' table gets 3 messages inserted > (session_qualifier is NULL here as well) and the 3 text messages of the > 3 records indicate the session information with the start and end times, > then a message claiming the session was created, then the final message > explaining the valid order types. Then the engine quietly shuts down as > you see in the log I pasted below. There are NO System.exit()s anywhere > in my code...the only way this code can exit is by someone hitting > ctrl+c on the command-line...there's no programmatic exiting in my > code...and being the log below gives no explanation...and if I switch > back to the standard file-based logging, this works fine and the engine > starts processing incoming messages, I'm a little perplexed. > > Any further insight? > > Thanks! > > > > Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 > > > From: qui...@li... > [mailto:qui...@li...] On Behalf Of > Steve Bate > Sent: Friday, April 27, 2007 4:43 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] jdbc logging > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > This looks like something is either calling System.exit() or > the main function is exiting. I'd look there first. Is there any > related information in your session-specific log or does it not > get that far? > >> -----Original Message----- >> From: qui...@li... >> [mailto:qui...@li...]On Behalf Of >> Robert Brueckmann >> Sent: Friday, April 27, 2007 1:45 PM >> To: qui...@li... >> Subject: Re: [Quickfixj-users] jdbc logging >> >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> We've removed the NOT NULL constraint (kind of weird since this olumn > is >> part of the primary key and by oracle standards a column in the > primary >> key can't be not null so we had to remove that constraint as well...so >> we removed these constraints and fired it up...no exceptions now but > now >> the engine starts up...logs a few messages to the screen which I'll >> paste below and then immediately shuts down with no exception or > message >> of why it's immediately shutting down. >> >> Any thoughts?!? >> >> Here's the console output: >> >> 2007-04-27 13:38:24,215 DEBUG [main] proxool.ShutdownHook >> (ShutdownHook.java:73) - Registered shutdownHook >> 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController >> (HouseKeeperController.java:84) - Registering 'quickfixj-1' house > keeper >> 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController >> (HouseKeeperController.java:92) - Starting a house keeper thread >> 2007-04-27 13:38:26,855 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > isReadOnly() >> = false >> 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: >> getHoldability() = 1 >> 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: >> getTransactionIsolation() = 2 >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > getTypeMap() >> = {SYS.XMLTYPE=class oracle.xdb.XMLTypeFactory} >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter >> (ConnectionResetter.java:168) - Remembering default value: > getCatalog() >> = null >> 2007-04-27 13:38:26,886 INFO [main] proxool.ConnectionPool >> (ConnectionPool.java:623) - Proxool statistics legend: "s - r > (a/t/o)" >>> s=served, r=refused (only shown if non-zero), a=active, t=total, >> o=offline (being tested) >> 2007-04-27 13:38:26,886 DEBUG [main] proxool.Prototyper >> (Prototyper.java:204) - 000000 (01/01/00) - Connection #1 created on >> demand = ACTIVE >> 2007-04-27 13:38:27,074 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.ClientDataSupport >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OracleConnection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OracleConnection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface java.sql.Connection >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface > oracle.sql.ClobDBAccess >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface > oracle.sql.BlobDBAccess >> 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.sql.BfileDBAccess >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface java.sql.Statement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OracleStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.OraclePreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> java.sql.PreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OraclePreparedStatement >> 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory >> (ProxyFactory.java:209) - Implementing interface >> oracle.jdbc.internal.OracleStatement >> 2007-04-27 13:38:28,574 DEBUG [ShutdownHook] proxool.ShutdownHook >> (ShutdownHook.java:93) - Running ShutdownHook >> 2007-04-27 13:38:28,574 INFO [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:490) - Shutting down 'quickfixj-1' pool > immediately >> [Shutdown Hook] >> 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:447) - 000004 (00/00/00) - #0001 removed because > of >> shutdown. >> 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:553) - Connection #1 closed >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] proxool.ConnectionPool >> (ConnectionPool.java:570) - 'quickfixj-1' pool has been closed down by >> Shutdown Hook in 15 milliseconds. >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] >> proxool.PrototyperController (PrototyperController.java:100) - > Stopping >> Prototyper thread >> 2007-04-27 13:38:28,589 INFO [Shutdown Hook] >> proxool.HouseKeeperController (HouseKeeperController.java:107) - >> Stopping HouseKeeper thread >> >> Merlin Securities - #1 Prime Broker North America, #1 Prime >> Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M - >> Global Custodian 2007 >> >> >> >> >> -------------------------------------------------------- >> >> This message contains information from Merlin Securities, LLC, or >> from one of its affiliates, that may be confidential and >> privileged. If you are not an intended recipient, please refrain >> from any disclosure, copying, distribution or use of this >> information and note that such actions are prohibited. If you >> have received this transmission in error, please notify the >> sender immediately by telephone or by replying to this transmission. >> >> Merlin Securities, LLC is a registered broker-dealer. Services >> offered through Merlin Securities, LLC are not insured by the >> FDIC or any other Federal Government Agency, are not deposits of >> or guaranteed by Merlin Securities, LLC and may lose value. >> Nothing in this communication shall constitute a solicitation or >> recommendation to buy or sell a particular security. >> >> >> >> > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Quickfixj-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >> > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > -------------------------------------------------------- > > This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission. > > Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security. > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Joerg Thoennes http://www.macd.com Tel.: +49 (0)241 44597-24 Macdonald Associates GmbH Geschäftsführer: Roger Macdonald Lothringer Str. 52, D-52070 Aachen Amtsgericht Aachen, HRB 8151, Ust.-Id DE813021663 |
|
From: Robert B. <rbr...@me...> - 2007-04-30 13:48:56
|
Hi Steve, In the 'sessions' table a record is inserted with the seq numbers, begin string, comp and target ids, etc (session_qualifier is NULL)...then immediately afterwards, the 'event_log' table gets 3 messages inserted (session_qualifier is NULL here as well) and the 3 text messages of the 3 records indicate the session information with the start and end times, then a message claiming the session was created, then the final message explaining the valid order types. Then the engine quietly shuts down as you see in the log I pasted below. There are NO System.exit()s anywhere in my code...the only way this code can exit is by someone hitting ctrl+c on the command-line...there's no programmatic exiting in my code...and being the log below gives no explanation...and if I switch back to the standard file-based logging, this works fine and the engine starts processing incoming messages, I'm a little perplexed. Any further insight? Thanks! Merlin Securities - #1 Prime Broker North America, #1 Prime Broker Single S= trategy Funds, #1 Prime Broker Funds Under $100M - Global Custodian 2007 From: qui...@li... [mailto:qui...@li...] On Behalf Of Steve Bate Sent: Friday, April 27, 2007 4:43 PM To: qui...@li... Subject: Re: [Quickfixj-users] jdbc logging QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ This looks like something is either calling System.exit() or the main function is exiting. I'd look there first. Is there any=20 related information in your session-specific log or does it not get that far?=20 > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...]On Behalf Of > Robert Brueckmann > Sent: Friday, April 27, 2007 1:45 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] jdbc logging >=20 >=20 > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > We've removed the NOT NULL constraint (kind of weird since this olumn is > part of the primary key and by oracle standards a column in the primary > key can't be not null so we had to remove that constraint as well...so > we removed these constraints and fired it up...no exceptions now but now > the engine starts up...logs a few messages to the screen which I'll > paste below and then immediately shuts down with no exception or message > of why it's immediately shutting down. >=20 > Any thoughts?!? >=20 > Here's the console output: >=20 > 2007-04-27 13:38:24,215 DEBUG [main] proxool.ShutdownHook > (ShutdownHook.java:73) - Registered shutdownHook > 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController > (HouseKeeperController.java:84) - Registering 'quickfixj-1' house keeper > 2007-04-27 13:38:24,230 DEBUG [main] proxool.HouseKeeperController > (HouseKeeperController.java:92) - Starting a house keeper thread > 2007-04-27 13:38:26,855 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: isReadOnly() > =3D false > 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: > getHoldability() =3D 1 > 2007-04-27 13:38:26,871 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: > getTransactionIsolation() =3D 2 > 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: getTypeMap() > =3D {SYS.XMLTYPE=3Dclass oracle.xdb.XMLTypeFactory} > 2007-04-27 13:38:26,886 DEBUG [main] proxool.ConnectionResetter > (ConnectionResetter.java:168) - Remembering default value: getCatalog() > =3D null > 2007-04-27 13:38:26,886 INFO [main] proxool.ConnectionPool > (ConnectionPool.java:623) - Proxool statistics legend: "s - r (a/t/o)" > > s=3Dserved, r=3Drefused (only shown if non-zero), a=3Dactive, t=3Dtotal, > o=3Doffline (being tested) > 2007-04-27 13:38:26,886 DEBUG [main] proxool.Prototyper > (Prototyper.java:204) - 000000 (01/01/00) - Connection #1 created on > demand =3D ACTIVE > 2007-04-27 13:38:27,074 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > oracle.jdbc.internal.ClientDataSupport > 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > oracle.jdbc.OracleConnection > 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > oracle.jdbc.internal.OracleConnection > 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface java.sql.Connection > 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface oracle.sql.ClobDBAccess > 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface oracle.sql.BlobDBAccess > 2007-04-27 13:38:27,089 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > oracle.sql.BfileDBAccess > 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface java.sql.Statement > 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > oracle.jdbc.OracleStatement > 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > oracle.jdbc.OraclePreparedStatement > 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > java.sql.PreparedStatement > 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > oracle.jdbc.internal.OraclePreparedStatement > 2007-04-27 13:38:27,855 DEBUG [main] proxool.ProxyFactory > (ProxyFactory.java:209) - Implementing interface > oracle.jdbc.internal.OracleStatement > 2007-04-27 13:38:28,574 DEBUG [ShutdownHook] proxool.ShutdownHook > (ShutdownHook.java:93) - Running ShutdownHook > 2007-04-27 13:38:28,574 INFO [Shutdown Hook] proxool.ConnectionPool > (ConnectionPool.java:490) - Shutting down 'quickfixj-1' pool immediately > [Shutdown Hook] > 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool > (ConnectionPool.java:447) - 000004 (00/00/00) - #0001 removed because of > shutdown. > 2007-04-27 13:38:28,589 DEBUG [Shutdown Hook] proxool.ConnectionPool > (ConnectionPool.java:553) - Connection #1 closed > 2007-04-27 13:38:28,589 INFO [Shutdown Hook] proxool.ConnectionPool > (ConnectionPool.java:570) - 'quickfixj-1' pool has been closed down by > Shutdown Hook in 15 milliseconds. > 2007-04-27 13:38:28,589 INFO [Shutdown Hook] > proxool.PrototyperController (PrototyperController.java:100) - Stopping > Prototyper thread > 2007-04-27 13:38:28,589 INFO [Shutdown Hook] > proxool.HouseKeeperController (HouseKeeperController.java:107) - > Stopping HouseKeeper thread >=20 > Merlin Securities - #1 Prime Broker North America, #1 Prime=20 > Broker Single Strategy Funds, #1 Prime Broker Funds Under $100M -=20 > Global Custodian 2007 >=20 >=20 >=20=20 >=20 > -------------------------------------------------------- >=20 > This message contains information from Merlin Securities, LLC, or=20 > from one of its affiliates, that may be confidential and=20 > privileged. If you are not an intended recipient, please refrain=20 > from any disclosure, copying, distribution or use of this=20 > information and note that such actions are prohibited. If you=20 > have received this transmission in error, please notify the=20 > sender immediately by telephone or by replying to this transmission. >=20=20 > Merlin Securities, LLC is a registered broker-dealer. Services=20 > offered through Merlin Securities, LLC are not insured by the=20 > FDIC or any other Federal Government Agency, are not deposits of=20 > or guaranteed by Merlin Securities, LLC and may lose value.=20 > Nothing in this communication shall constitute a solicitation or=20 > recommendation to buy or sell a particular security. >=20 >=20 >=20 > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users >=20 ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users =20 -------------------------------------------------------- This message contains information from Merlin Securities, LLC, or from one = of its affiliates, that may be confidential and privileged. If you are not = an intended recipient, please refrain from any disclosure, copying, distrib= ution or use of this information and note that such actions are prohibited.= If you have received this transmission in error, please notify the sender = immediately by telephone or by replying to this transmission. =20 Merlin Securities, LLC is a registered broker-dealer. Services offered thro= ugh Merlin Securities, LLC are not insured by the FDIC or any other Federal= Government Agency, are not deposits of or guaranteed by Merlin Securities,= LLC and may lose value. Nothing in this communication shall constitute a s= olicitation or recommendation to buy or sell a particular security. |
|
From: Mohammad K. L. <kam...@gm...> - 2007-04-30 06:41:34
|
Thanks Toli it's working now but I have got another problem that's been
bothering me for quite some time now,,,this is the problem,,
*8=3D
FIX.4.4=019=3D106=0135=3D3=0134=3D88=0149=3Dclient2=0152=3D20070430-06:36:2=
1.796=0156=3Difkaar=0145=3D11=0158=3DRequiredtag
missing=01371=3D34=01372=3D2=01373=3D1=0110=3D047=01
*
Obviously,the MsgSeqNum() tag is causing problems,,here's my code,,
---------------------------------------------------------------------------=
----------
*System.out.println("SENDING REQUEST FOR QUOTES");
Message message =3D new Message();
quickfix.Message.Header header =3D message.getHeader();
header.setField(new BeginString("FIX.4.4"));
header.setField(new BodyLength());
header.setField(new MsgType("R"));
header.setField(new SenderCompID("client2"));
header.setField(new TargetCompID("ifkaar"));
message.setField(new HeartBtInt(30));
message.setField(new MsgSeqNum());
quickfix.fix44.QuoteRequest quoteRequest=3Dnew
quickfix.fix44.QuoteRequest();
quoteRequest.setField(new QuoteReqID());
quoteRequest.setField(new ClOrdID("Client Order ID"));
quoteRequest.setField(new NoRelatedSym(0));
quoteRequest.setField(new NoUnderlyings(1));
quoteRequest.setField(new Side('1'));
quoteRequest.setField(new QtyType());
quoteRequest.setField(new Account("ACCOUNT"));
quoteRequest.setField(new NoLegs(2));
quoteRequest.setField(new LegQty(2));
quoteRequest.setField(new OrdType('1'));
quoteRequest.setField(new ExpireTime());
//quoteRequest.setField(new MsgSeqNum());
header.setField(new CheckSum());
//Session.sendToTarget(message);
Session.sendToTarget(quoteRequest,"client2","ifkaar");*
**
---------------------------------------------------------------------------=
----------
can you help plz?
thanks..
*
*
On 4/30/07, Toli Kuznets <to...@ma...> wrote:
>
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
> Mohammad,
>
> can you send the rest of the code that's creating the message? Also,
> which version of FIX are you using (4.2? 4.4?)
>
> You may not need to set the NoRelatedSym field explicitly. If your
> message has repeating groups, you can take a look at the example at
> http://www.quickfixj.org/quickfixj/usermanual/usage/repeating_groups.html
>
> I think if you follow the example and just add all the groups to the
> message, the NoRelatedSym field will be set automatically for you.
>
> On 4/29/07, Mohammad Kamran Liaqat <kam...@gm...> wrote:
> > QuickFIX/J Documentation:
> > http://www.quickfixj.org/documentation/
> > QuickFIX/J Support: http://www.quickfixj.org/support/
> >
> > Hi there!
> >
> > I'm trying to send a Quote Request,all my fields are in place and are o=
k
> but
> > when I use the NoRelatedSym() field,it doesn't accept any integer
> value.I
> > try this line of code,
> >
> > quoteRequest.setField(NoRelatedSym(1));
> >
> > Thanks in advance,,
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > 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.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
|
|
From: Toli K. <to...@ma...> - 2007-04-30 06:25:09
|
Mohammad, can you send the rest of the code that's creating the message? Also, which version of FIX are you using (4.2? 4.4?) You may not need to set the NoRelatedSym field explicitly. If your message has repeating groups, you can take a look at the example at http://www.quickfixj.org/quickfixj/usermanual/usage/repeating_groups.html I think if you follow the example and just add all the groups to the message, the NoRelatedSym field will be set automatically for you. On 4/29/07, Mohammad Kamran Liaqat <kam...@gm...> wrote: > QuickFIX/J Documentation: > http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > Hi there! > > I'm trying to send a Quote Request,all my fields are in place and are ok but > when I use the NoRelatedSym() field,it doesn't accept any integer value.I > try this line of code, > > quoteRequest.setField(NoRelatedSym(1)); > > Thanks in advance,, > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > 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: Mohammad K. L. <kam...@gm...> - 2007-04-30 06:08:53
|
Hi there! I'm trying to send a Quote Request,all my fields are in place and are ok but when I use the NoRelatedSym() field,it doesn't accept any integer value.Itry this line of code, *quoteRequest.setField(NoRelatedSym(1));* ** Thanks in advance,, |