Thread: Re: [Quickfix-developers] compile problems with tradeclientgui
Brought to you by:
orenmnero
From: Krishna D. <kd...@in...> - 2002-07-09 21:06:37
|
My mistake. I was trying to configure tradeclientgui on Linux, while documentation says java support currently available for windows. When java/linux support will be available? Thanks =========== Krishna OM...@th... wrote: > > Have you compiled the quickfix JAVA API and the C JNI layer? SessionID is > compiled into quickfix.jar. This file should show up in your quickfix\lib > directory once you build it. > > --oren > > |---------+-----------------------------------------------> > | | Krishna Dagli <kd...@in...> | > | | Sent by: | > | | qui...@li...ur| > | | ceforge.net | > | | | > | | | > | | 07/09/2002 02:43 PM | > | | | > |---------+-----------------------------------------------> > >----------------------------------------------------------------------------------------------| > | | > | To: qui...@li... | > | cc: | > | Subject: [Quickfix-developers] compile problems with tradeclientgui | > >----------------------------------------------------------------------------------------------| > > Hi, > > I'm able to compile tradeclientgui application. It says name > resolution failed for SessionID etc. Is this Session.java > file missing? > ======= > Krishna. > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Stuff, things, and much much more. > http://thinkgeek.com/sf > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: <JDD...@th...> - 2002-07-09 21:30:15
|
We're not sure. Right now, expect that it won't be made available any time soon. There have been some discussions about it, whether it's currently possible, and what not. We at TW believe there is a problem with exceptions on linux preventing us from going forward with a linux port of the Java stuff. We have also heard that we may be wrong about this. This is where we left off. We anticipated that most clients using QuickFIX would have a Windows UI on a Windows or Unix back end. So far, this has been the case, but a couple of people on the list have asked about Linux Java support, and so I assume that (1) Java is being used for the overall server architecture and QuickFIX is being tied in because it is speedy, (2) Java GUIs are being used, sometimes on Linux, or (3) people think it'd be neat for all the functionality to work on all platforms. While I agree with (3) it's not the primary concern. If you need (1) then we would love to have your assistance to make it possible, and we should get our heads together about how to do it. If it's (2), then it's less of a concern for the overall market but we will help to make this happen. John Duncan Collaborative Development Group Thoughtworks, Inc +1 (312) 953 6286 Krishna Dagli <kd...@in...> Sent by: To: "qui...@li..." qui...@li...ur <qui...@li...> ceforge.net cc: Subject: Re: [Quickfix-developers] compile problems with tradeclientgui 07/09/2002 04:06 PM My mistake. I was trying to configure tradeclientgui on Linux, while documentation says java support currently available for windows. When java/linux support will be available? Thanks =========== Krishna OM...@th... wrote: > > Have you compiled the quickfix JAVA API and the C JNI layer? SessionID is > compiled into quickfix.jar. This file should show up in your quickfix\lib > directory once you build it. > > --oren > > |---------+-----------------------------------------------> > | | Krishna Dagli <kd...@in...> | > | | Sent by: | > | | qui...@li...ur| > | | ceforge.net | > | | | > | | | > | | 07/09/2002 02:43 PM | > | | | > |---------+-----------------------------------------------> > > ----------------------------------------------------------------------------------------------| > | | > | To: qui...@li... | > | cc: | > | Subject: [Quickfix-developers] compile problems with tradeclientgui | > > ----------------------------------------------------------------------------------------------| > > Hi, > > I'm able to compile tradeclientgui application. It says name > resolution failed for SessionID etc. Is this Session.java > file missing? > ======= > Krishna. > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Stuff, things, and much much more. > http://thinkgeek.com/sf > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: <OM...@th...> - 2002-07-09 21:32:24
|
Well that's a tough call. The reason we don't currently support JAVA for linux is that gcc (at least in our experience) has some issues throwing exceptions from shared objects (the JNI layer must be in a shared object for JAVA to access it). We are currently trying to isolate the problem to determine if there is something we can do. The avenues we are currently exploring are 1) gettings exceptions to work correctly in shared objects, 2) representing the logic without exceptions, 3) using some piece in the middle to isolate the JNI layer from the exceptions. We will keep everyone updated when we have found a solution. It would also be very helpful to get some assistance from anyone who has experience with exceptions in shared objects. --oren |---------+-----------------------------------------------> | | Krishna Dagli <kd...@in...> | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 07/09/2002 04:06 PM | | | | |---------+-----------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: "qui...@li..." | | <qui...@li...> | | cc: | | Subject: Re: [Quickfix-developers] compile problems with tradeclientgui | >----------------------------------------------------------------------------------------------| My mistake. I was trying to configure tradeclientgui on Linux, while documentation says java support currently available for windows. When java/linux support will be available? Thanks =========== Krishna OM...@th... wrote: > > Have you compiled the quickfix JAVA API and the C JNI layer? SessionID is > compiled into quickfix.jar. This file should show up in your quickfix\lib > directory once you build it. > > --oren > > |---------+-----------------------------------------------> > | | Krishna Dagli <kd...@in...> | > | | Sent by: | > | | qui...@li...ur| > | | ceforge.net | > | | | > | | | > | | 07/09/2002 02:43 PM | > | | | > |---------+-----------------------------------------------> > > ----------------------------------------------------------------------------------------------| > | | > | To: qui...@li... | > | cc: | > | Subject: [Quickfix-developers] compile problems with tradeclientgui | > > ----------------------------------------------------------------------------------------------| > > Hi, > > I'm able to compile tradeclientgui application. It says name > resolution failed for SessionID etc. Is this Session.java > file missing? > ======= > Krishna. > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Stuff, things, and much much more. > http://thinkgeek.com/sf > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Alex H. <al...@an...> - 2002-07-11 08:42:08
|
On Tue, 2002-07-09 at 22:32, OM...@th... wrote: > > Well that's a tough call. The reason we don't currently support JAVA for > linux is that gcc (at least in our experience) has some issues throwing > exceptions from shared objects (the JNI layer must be in a shared object > for JAVA to access it). We are currently trying to isolate the problem to > determine if there is something we can do. The avenues we are currently > exploring are 1) gettings exceptions to work correctly in shared objects, > 2) representing the logic without exceptions, 3) using some piece in the > middle to isolate the JNI layer from the exceptions. We will keep everyone > updated when we have found a solution. It would also be very helpful to > get some assistance from anyone who has experience with exceptions in > shared objects. > > --oren > Hi Oren, I recently sent a demonstration project that shows exceptions working with shared objects on linux. I assume you have seen this? There is no particular problem with shared objects on linux - for a truly massive example of their use see the ACE+TAO CORBA ORB at http://www.cs.wustl.edu/~schmidt/TAO.html. We have been using this for around three years - exceptions work fine. With quickfix 1.1 I have been able to build shared libraries and link the example C++ programs to then. They work fine. If you need further assistance I may be able to help with another exception demonstration program. Even if you still have JNI problems, perhaps you could still enable shared libs anyway - after all they are useful and working in C++ already. Cheers, Alex. |
From: Alex H. <al...@an...> - 2002-08-01 11:38:37
|
On Tue, 2002-07-09 at 22:32, OM...@th... wrote: > > Well that's a tough call. The reason we don't currently support JAVA for > linux is that gcc (at least in our experience) has some issues throwing > exceptions from shared objects (the JNI layer must be in a shared object > for JAVA to access it). We are currently trying to isolate the problem to > determine if there is something we can do. The avenues we are currently > exploring are 1) gettings exceptions to work correctly in shared objects, > 2) representing the logic without exceptions, 3) using some piece in the > middle to isolate the JNI layer from the exceptions. We will keep everyone > updated when we have found a solution. It would also be very helpful to > get some assistance from anyone who has experience with exceptions in > shared objects. > > --oren > Hi Oren, Did the Linux JNI exception example I sent work for you? Alex. |
From: <OM...@th...> - 2002-07-11 13:16:36
|
Alex, Yes, we did get it and were able to get those examples to work properly, thank you very much. However we added some new scenarios to that project that we could not get working. John and I were actually discussing this a couple days ago. I'd like to send you that project and perhaps you can give some insight on why it isn't working. One of us will post our new example sometime today. --oren Alex Hornby <al...@an... To: OM...@th... > cc: quickfix-developers <qui...@li...> Subject: Re: [Quickfix-developers] compile problems with tradeclientgui 07/11/2002 03:42 AM On Tue, 2002-07-09 at 22:32, OM...@th... wrote: > > Well that's a tough call. The reason we don't currently support JAVA for > linux is that gcc (at least in our experience) has some issues throwing > exceptions from shared objects (the JNI layer must be in a shared object > for JAVA to access it). We are currently trying to isolate the problem to > determine if there is something we can do. The avenues we are currently > exploring are 1) gettings exceptions to work correctly in shared objects, > 2) representing the logic without exceptions, 3) using some piece in the > middle to isolate the JNI layer from the exceptions. We will keep everyone > updated when we have found a solution. It would also be very helpful to > get some assistance from anyone who has experience with exceptions in > shared objects. > > --oren > Hi Oren, I recently sent a demonstration project that shows exceptions working with shared objects on linux. I assume you have seen this? There is no particular problem with shared objects on linux - for a truly massive example of their use see the ACE+TAO CORBA ORB at http://www.cs.wustl.edu/~schmidt/TAO.html. We have been using this for around three years - exceptions work fine. With quickfix 1.1 I have been able to build shared libraries and link the example C++ programs to then. They work fine. If you need further assistance I may be able to help with another exception demonstration program. Even if you still have JNI problems, perhaps you could still enable shared libs anyway - after all they are useful and working in C++ already. Cheers, Alex. |
From: Alex H. <al...@an...> - 2002-07-11 16:23:07
|
On Thu, 2002-07-11 at 14:16, OM...@th... wrote: > > Alex, > > Yes, we did get it and were able to get those examples to work properly, > thank you very much. However we added some new scenarios to that project > that we could not get working. John and I were actually discussing this a > couple days ago. I'd like to send you that project and perhaps you can > give some insight on why it isn't working. One of us will post our new > example sometime today. > > --oren > Okay, if you send it I'll have a look at. Cheers, Alex. |
From: <OM...@th...> - 2002-07-11 17:27:31
|
Alex, Correction. We do in fact have this example working correctly even with the new scenarios added. So it seems that we can go ahead and start moving the project over to shared libraries as you suggest. So I guess we can then concentrate on figuring out why you are having problems with the JNI wrapper on linux. Do you have any more insight into this? Could you also post your autotools project for the JNI library you are building? --oren |---------+-----------------------------------------------> | | Alex Hornby <al...@an...> | | | Sent by: | | | qui...@li...ur| | | ceforge.net | | | | | | | | | 07/11/2002 11:23 AM | | | | |---------+-----------------------------------------------> >----------------------------------------------------------------------------------------------| | | | To: OM...@th... | | cc: quickfix-developers <qui...@li...> | | Subject: Re: [Quickfix-developers] compile problems with tradeclientgui | >----------------------------------------------------------------------------------------------| On Thu, 2002-07-11 at 14:16, OM...@th... wrote: > > Alex, > > Yes, we did get it and were able to get those examples to work properly, > thank you very much. However we added some new scenarios to that project > that we could not get working. John and I were actually discussing this a > couple days ago. I'd like to send you that project and perhaps you can > give some insight on why it isn't working. One of us will post our new > example sometime today. > > --oren > Okay, if you send it I'll have a look at. Cheers, Alex. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
From: Alex H. <al...@an...> - 2002-07-12 10:03:06
Attachments:
JniException-1.0.tar.bz2
|
On Thu, 2002-07-11 at 18:27, OM...@th... wrote: > > Alex, > > Correction. We do in fact have this example working correctly even with > the new scenarios added. So it seems that we can go ahead and start moving > the project over to shared libraries as you suggest. So I guess we can > then concentrate on figuring out why you are having problems with the JNI > wrapper on linux. Do you have any more insight into this? Could you also > post your autotools project for the JNI library you are building? > > --oren > Hi Oren, Good news on the shared libs - I look forward to the next release. I've enclosed a working JNI and C++ exceptions example based on the earlier exception example. It assumes you have JAVA_HOME set correctly and that you have javac and javah in your path. To build it do: ./configure make Then to test it: make check The configury is a bit of a hack at the moment as I'm using an old Automake. The newer 1.6.x releases have better java support. Cheers, Alex. |
From: <OM...@th...> - 2002-08-02 17:03:14
|
Alex, We did receive it however we have not had a change to try it out yet. We are finishing our effort for our next release, which primarily focuses on the new .NET wrapper, making the current java API more consistent with the C++ one, and improving our parsing of the FIX specs. After we have completed these tasks, we will probably focus on adding support for FIX 4.3 and get the JAVA API functional under linux/solaris. --oren Alex Hornby <al...@an... To: OM...@th... > cc: kd...@in..., quickfix-developers <qui...@li...>, 08/01/2002 06:39 qui...@li... AM Subject: Re: [Quickfix-developers] compile problems with tradeclientgui On Tue, 2002-07-09 at 22:32, OM...@th... wrote: > > Well that's a tough call. The reason we don't currently support JAVA for > linux is that gcc (at least in our experience) has some issues throwing > exceptions from shared objects (the JNI layer must be in a shared object > for JAVA to access it). We are currently trying to isolate the problem to > determine if there is something we can do. The avenues we are currently > exploring are 1) gettings exceptions to work correctly in shared objects, > 2) representing the logic without exceptions, 3) using some piece in the > middle to isolate the JNI layer from the exceptions. We will keep everyone > updated when we have found a solution. It would also be very helpful to > get some assistance from anyone who has experience with exceptions in > shared objects. > > --oren > Hi Oren, Did the Linux JNI exception example I sent work for you? Alex. |