|
From: Steve B. <st...@te...> - 2006-06-22 05:50:19
|
Hi Eddie, Are you running "Generate FIX Messages" from Eclipse's external tool menu? If not, it should be run from there for an Eclipse build. I assume you are using a relatively recent version of Eclipse if you're using Java 5. The Ant version needs to be 1.6+ but that's what is installed in newer versions of Eclipse. I haven't received any reports of the ThreadedSocketInitiator hanging during construction. The only guess I have is that maybe you are doing something in the onCreate method that is causing a thread deadlock in QFJ although it didn't cause it in the JNI version. Again, just a guess. If it is something like that, please tell me and I'll look into it from the QFJ side. As far as I know, using Java 5 should not be a problem. Regards, Steve > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...] On > Behalf Of Edde > Sent: Wednesday, June 21, 2006 3:51 PM > To: qui...@li... > Subject: [Quickfixj-users] Problems migrating to QuickFIX/J > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi Guys, > > We've been using QuickFix in our trading application and since our > application is built in Java I've been using the _jni library. Now > that QuickFIX/J 1.0 has been released I thought it was time to migrate > to the pure Java version. > >From what I understand QuickFIX/J is backwards compatible with the > _jni interface which should mean that the only thing needed is to > replace my old quickfix.jar file with the new quickfixj.jar and add > the extra dependencies (e.g backport-util-concurrent-2.1.jar). Am I > missing something here or is that all I need to do? > > Anyway this is what I tried to do and my application runs smothly > until it tries to create the ThreadedSocketInitiator when the > application just hangs when calling the constructor. Any ideas? > I've just upgraded to Java 1.5.0_7 if that could be a problem... > > Before posting to this list I thought I'd download the source and try > to compile the quickfixj.jar with some debug to give you some more > info on exactly where it hangs but I didn't succeed in this either > ;-(. > I'm using Eclipse for development so it was great that the source came > as an Eclipse project. I added the project to Eclipse which seems to > work just fine but it won't compile since all the quickfix.field.* > classes are missing. I checked out the webpage and saw that these can > easily be creating using the "Generate FIX Messages" ant script. > Unfortunately this doesn't seem to work because I get the following > error: > > "BUILD FAILED: > file:C:/Projects/Trading/FIX/QuickFix/quickfixj/build.xml:86: > Unexpected element "macrodef"" > > My experience using Ant scripts unfortunately limits to generating > Javadoc so I'm not sure what's going on here... > > Any help would be highly appreciated. > Cheers, > /Eddie > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |