Re: [Quickfix-developers] Problem running banzai
Brought to you by:
orenmnero
From: <ap...@ds...> - 2003-03-18 17:03:46
|
Hi Oren, Quoting Oren Miller <ore...@ya...>: > > > I am just getting to learn more about quickfix. I > > have built it > > (quickfix-1.4.0) on Linux (RedhLinux version > > 2.4.9-e.8enterprise > > (bhc...@da...) (gcc version 2.96 > > 20000731 (Red Hat Linux 7.2 > > 2.96-108.1)) using gcc 2.95.3 and both java 1.3.1 > > and 1.4. > > One thing, be careful compiling with gcc 2.9.6. > Please see the warning on our download page pertaining > to this: > http://quickfix.thoughtworks.com/download.html > > There are known problems with this compiler, and known > problems when compiling QuickFIX with it. I actually compiled with gcc-2.95.3! The kernel was built with 2.96! > > > - had to set the LTCONFIG_VERSION env variable to > > 3.??? (can't remember by > > heart, I will look it up). I had never used > > libtool, etc, so it took me a while > > to figure this out. > > Usually problems like this can be resolved by just > running the ./bootstrap script before running > ./configure. Unfortunately the autotools generated > scripts arn't always compatible with every system and > regenerating them is often the bost option. > Did not try that! Will do again to verify my build. > > - Had to use the notestxml option. Could not get it > > to see my libxml lib. > > This is ussually a result of an incomplete > installation of libxml2. You may want to check to see > if that installation was done properly. > I did not install the libxml at this server. I guess that is the problem. > > - Had to modify some makefiles (ie. > > executor/C++/Makefile) to see the include > > and lib dirs for quickfix (basically to add > > -Ixxx/quickfix-1.4.0/include) etc. > > Hmmm. How did your directory structure end up like > that? The tar file should set up the directory to be > quickfix/include, not quickfix-1.4.0/include. > What happened is that I ran configure with --prefix=xxx/quickfix-1.4.0 When I tried to build the java stuff, it failed. I then added the above (which was the target of the "make install" runs... The tree is actually /quickfix/examples/executor/java. I think that since I gave a prefix, it should have added it to the Makefile? > > - Had to build the src/java directory separately, > > i.e., it was not built during > > the main make. Threw me off trying to build the > > samples first :-( > > This would happen if the build script is unable to > detect the presenct of JNI. Is your JAVA_HOME > environment set up correctly? > > > > > Otherwise, great stuff! > > > > I enclose the single nasty problem I could not > > resolve, ie, whenever I run the > > run_banzai script I get the sessions showing up on > > the console, the gui's main > > frame shows up blank and then an fatal jni > > execption, whose log I enclose. This > > did not happen when I ran the run_executor_java > > script! > > Don't know the answer to this straight away. Will > have to investigate this. No problem. Thanks. > > > > > I have several questions about the architecture of > > quickfix (ie threading, > > resilience (I have seen some mails in the archive > > about it and I am digesting > > them), administration etc). Is this the right forum > > to ask them? > > Yes, it is. > > Let me have a play with the examples. But to start, what is the threading model. Basically, an app derives from a base class and implements an interface which gets called on different fix events. How many threads (if any) are making these callbacks? Is there a thread per Fix Session or a pool? What is the synchronization scheme? Do the callbacks have to be re-entrant? Is there a way to connect to the application to issue admin commands (ie the app listens on a command port to which I can connect to and get a list of available admin commands such as "list sessions", "kill session", "connect", or whatever? I saw something about Admins but did not get a chance to read further. Can my app have its own pool of threads for handling events? Can the app receive (and process) another fix message (from a different session) while I am handling a callback, ie, more than one thread...? Anyways, just a question or two? ;-) Is there a way to download all the archives for "homework"? Thanks David PS I am being rude! My name is David Monheit and I work for Morgan Stanley IT, based in London, UK. I will be replying to mails from this (my personal email account) and/or the office account (dav...@mo...). > __________________________________________________ > Do you Yahoo!? > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > http://platinum.yahoo.com > |