build problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

build problem

David Tai
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



Hi. I am new to quickfixj. 

try to build quickfixj, and got errors, just wonder if I miss any steps.

Downloaded quickfixj 1.6.0 to window (win 7). Downloaded jdk1.8.0, and  apache-maven-3.3.9.

Go to src directory where:
 
quickfix-all
quickfixj-codegenerator
quickfixj-core
quickfixj-dictgenerator
quickfixj-distribution
quickfixj-examples
quickfixj-messages
pom.xml

exist.  issue command:

 mvn package

Then observed the error:

"Running quickfix.mina.SingleThreadedEventHandlingStrategyTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.511 sec <<< FAILURE! - in quickfix.mina.SingleThreadedEventHandlingStrategyTest
testDoubleStart(quickfix.mina.SingleThreadedEventHandlingStrategyTest)  Time elapsed: 0.005 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Exactly one 'QFJ Message Processor' thread expected expected:<1> but was:<2>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at quickfix.mina.SingleThreadedEventHandlingStrategyTest.checkThreads(SingleThreadedEventHandlingStrategyTest.java:94)
at quickfix.mina.SingleThreadedEventHandlingStrategyTest.testDoubleStart(SingleThreadedEventHandlingStrategyTest.java:55)"

Appreciate your help.

David


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: build problem

Colin DuPlantis
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



No comment on the failed test, but, you can bypass it to just get a build if you want:

$ mvn -DskipTests package

On 5/18/16 12:09 PM, David Tai wrote:
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/




Hi. I am new to quickfixj. 

try to build quickfixj, and got errors, just wonder if I miss any steps.

Downloaded quickfixj 1.6.0 to window (win 7). Downloaded jdk1.8.0, and  apache-maven-3.3.9.

Go to src directory where:
 
quickfix-all
quickfixj-codegenerator
quickfixj-core
quickfixj-dictgenerator
quickfixj-distribution
quickfixj-examples
quickfixj-messages
pom.xml

exist.  issue command:

 mvn package

Then observed the error:

"Running quickfix.mina.SingleThreadedEventHandlingStrategyTest
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.511 sec <<< FAILURE! - in quickfix.mina.SingleThreadedEventHandlingStrategyTest
testDoubleStart(quickfix.mina.SingleThreadedEventHandlingStrategyTest)  Time elapsed: 0.005 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Exactly one 'QFJ Message Processor' thread expected expected:<1> but was:<2>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at quickfix.mina.SingleThreadedEventHandlingStrategyTest.checkThreads(SingleThreadedEventHandlingStrategyTest.java:94)
at quickfix.mina.SingleThreadedEventHandlingStrategyTest.testDoubleStart(SingleThreadedEventHandlingStrategyTest.java:55)"

Appreciate your help.

David



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j


_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users

-- 
Colin DuPlantis
Chief Architect, Marketcetera
Download, Run, Trade
800.819.2928 x101 +1.541.306.6556
http://www.marketcetera.org

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: build problem

A. Rothman
In reply to this post by David Tai
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Hi David,

Can you try the latest master branch snapshot (1.7.0-SNAPSHOT)? I just
fixed a couple of issues that caused a bunch of build errors on Oracle
JDK 8u91 (which version are you using?), perhaps they somehow relate to
your error as well. Also, the code in your stack trace has changed since
1.6.0, so it's worth testing on the latest code.

Amichai

On 05/18/2016 10:09 PM, David Tai wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
>
>
> Hi. I am new to quickfixj.
>
> try to build quickfixj, and got errors, just wonder if I miss any steps.
>
> Downloaded quickfixj 1.6.0 to window (win 7). Downloaded jdk1.8.0, and
>  apache-maven-3.3.9.
>
> Go to src directory where:
>  
> quickfix-all
> quickfixj-codegenerator
> quickfixj-core
> quickfixj-dictgenerator
> quickfixj-distribution
> quickfixj-examples
> quickfixj-messages
> pom.xml
>
> exist.  issue command:
>
>  mvn package
>
> Then observed the error:
>
> "Running quickfix.mina.SingleThreadedEventHandlingStrategyTest
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.511
> sec <<< FAILURE! - in
> quickfix.mina.SingleThreadedEventHandlingStrategyTest
> testDoubleStart(quickfix.mina.SingleThreadedEventHandlingStrategyTest)
>  Time elapsed: 0.005 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Exactly one 'QFJ Message
> Processor' thread expected expected:<1> but was:<2>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:199)
> at
> quickfix.mina.SingleThreadedEventHandlingStrategyTest.checkThreads(SingleThreadedEventHandlingStrategyTest.java:94)
> at
> quickfix.mina.SingleThreadedEventHandlingStrategyTest.testDoubleStart(SingleThreadedEventHandlingStrategyTest.java:55)"
>
> Appreciate your help.
>
> David
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>
>
> _______________________________________________
> Quickfixj-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Loading...