|
|
|
Sanjay Dwivedi
|
Some javascript/style in this post has been disabled (why?)
Hello Guys,
I am starting to look into Marketcetera platform
and I intend to start making contributions on tasks in the roadmap/future
releases once I get comfortable with the code base. I am building oms platform and get the error shown below in
testing goal of maven build. The tests fail because it is looking for message
resource oms_message and I can see resource named oms_messages in
oms/src/main/resources.
I have the latest code and am building on
Windows XP/Cygwin. Likely classpath is not being set correctly or something. All
plugins required were downloaded successfully.
My area of interest is in OMS platform and Photon
since I am a Java developer. I was able to build Photon without problems.
Although I did have errors in compilation when I was using JDK6, but those
errors went away with JDK5.
--
Sanjay
=====================================================================
[hidden email]
~/opensource/marketcetera/oms/marketcetera-platform
$ mvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Marketcetera Platform [INFO] Marketcetera Core [INFO] Marketcetera OMS [INFO] Order Loader [INFO] ------------------------------------------------------------------------- --- [INFO] Building Marketcetera Platform [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing c:\home\sdwivedi\opensource\marketcetera\oms\marketcetera-plat form\pom.xml to C:\Documents and Settings\sdwivedi\.m2\repository\org\marketcete ra\platform\0.3.1\platform-0.3.1.pom [INFO] ------------------------------------------------------------------------- --- [INFO] Building Marketcetera Core [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------- --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: c:\home\sdwivedi\opensource\marketcetera\oms\m arketcetera-platform\core\target\surefire-reports Initialized top-level logger test. org.apache.maven.surefire.booter.SurefireExecutionException: org.marketcetera.om s.OrderLimitsTest; nested exception is org.apache.commons.i18n.MessageNotFoundEx ception: Could not find resource bundle with base name oms_messages, uninstallin g it; nested exception is org.apache.maven.surefire.testset.TestSetFailedExcepti on: org.marketcetera.oms.OrderLimitsTest; nested exception is org.apache.commons .i18n.MessageNotFoundException: Could not find resource bundle with base name om s_messages, uninstalling it org.apache.maven.surefire.testset.TestSetFailedException: org.marketcetera.oms.O rderLimitsTest; nested exception is org.apache.commons.i18n.MessageNotFoundExcep tion: Could not find resource bundle with base name oms_messages, uninstalling i t org.apache.commons.i18n.MessageNotFoundException: Could not find resource bundle with base name oms_messages, uninstalling it at org.apache.commons.i18n.ResourceBundleMessageProvider.<init>(Resource BundleMessageProvider.java:57) at org.marketcetera.core.MessageBundleManager.registerMessageBundle(Mess ageBundleManager.java:18) at org.marketcetera.core.MessageBundleManager.registerMessageBundle(Mess ageBundleManager.java:23) at org.marketcetera.core.MarketceteraTestSuite.init(MarketceteraTestSuit e.java:37) at org.marketcetera.core.FIXVersionTestSuite.<init>(FIXVersionTestSuite. java:46) at org.marketcetera.oms.OrderLimitsTest.suite(OrderLimitsTest.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteM ethod(JUnitTestSet.java:180) at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUni tTestSet.java:140) at org.apache.maven.surefire.junit.JUnitTestSet.getTestCount(JUnitTestSe t.java:247) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTest Sets(AbstractDirectoryTestSuite.java:104) at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire .java:150) at org.apache.maven.surefire.Surefire.run(Surefire.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:290) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:818) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures . at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugi n.java:425) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:539) ... 16 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14 seconds [INFO] Finished at: Sun May 27 16:03:51 EDT 2007 [INFO] Final Memory: 11M/21M [INFO] ------------------------------------------------------------------------ [hidden email]
~/opensource/marketcetera/oms/marketcetera-platform
============================================================================
_______________________________________________ m-etc-dev mailing list [hidden email] http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev |
||||||||||||||||
|
toli
|
Sanjay,
Glad you are looking into the Marketcetera Platform, and sorry that you are having issues. I just did a fresh checkout of the Platform (rev 1253) and I was able to build everything w/out any problems (under a fresh user as well). We have the platform building continuously on Linux, and a few others have been using Cygwin successfully, so it may be some sort of configuration problem. Can you do a 'mvn clean' and then 'mvn install' to make sure the target directory is setup correctly? The oms_messages.properties file is copied during the resources:testResources phase of the build, so it should be in the oms/target/classes directory. Also, you can try building the core first (cd into core, run 'mvn install', then go into ../oms) and running the oms compilation second. Can you run this command form the top-level platform directory (oms/marketcetera-platform in your case): grep -aH "Tests run" target/surefire-reports/*Test.txt | grep -a "s: [^0]" | cut -d ":" -f 1 (i actually just alias this in bash so i can run the 'count errors' script all the time: alias ce='grep -aH "Tests run" target/surefire-reports/*Test.txt | grep -a "s: [^0]" | cut -d ":" -f 1 ') it'll give you a list of all the tests that failed. Can you send us the contents of the failed output files? let me know if this doesn't work for you On 5/27/07, Sanjay Dwivedi <[hidden email]> wrote: > > > Hello Guys, > > I am starting to look into Marketcetera platform and I intend to start > making contributions on tasks in the roadmap/future releases once I get > comfortable with the code base. I am building oms platform and get the > error shown below in testing goal of maven build. The tests fail because it > is looking for message resource oms_message and I can see resource named > oms_messages in oms/src/main/resources. > > I have the latest code and am building on Windows XP/Cygwin. Likely > classpath is not being set correctly or something. All plugins required were > downloaded successfully. > > My area of interest is in OMS platform and Photon since I am a Java > developer. I was able to build Photon without problems. Although I did have > errors in compilation when I was using JDK6, but those errors went away with > JDK5. > -- > Sanjay > > > ===================================================================== > sdwivedi@surya > ~/opensource/marketcetera/oms/marketcetera-platform > $ mvn -e install > + Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] Marketcetera Platform > [INFO] Marketcetera Core > [INFO] Marketcetera OMS > [INFO] Order Loader > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building Marketcetera Platform > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] [site:attach-descriptor] > [INFO] [install:install] > [INFO] Installing > c:\home\sdwivedi\opensource\marketcetera\oms\marketcetera-plat > form\pom.xml to C:\Documents and > Settings\sdwivedi\.m2\repository\org\marketcete > ra\platform\0.3.1\platform-0.3.1.pom > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building Marketcetera Core > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [surefire:test] > [INFO] Surefire report directory: > c:\home\sdwivedi\opensource\marketcetera\oms\m > arketcetera-platform\core\target\surefire-reports > Initialized top-level logger test. > org.apache.maven.surefire.booter.SurefireExecutionException: > org.marketcetera.om > s.OrderLimitsTest; nested exception is > org.apache.commons.i18n.MessageNotFoundEx > ception: Could not find resource bundle with base name oms_messages, > uninstallin > g it; nested exception is > org.apache.maven.surefire.testset.TestSetFailedExcepti > on: org.marketcetera.oms.OrderLimitsTest; nested exception > is org.apache.commons > .i18n.MessageNotFoundException: Could not find resource bundle with base > name om > s_messages, uninstalling it > org.apache.maven.surefire.testset.TestSetFailedException: > org.marketcetera.oms.O > rderLimitsTest; nested exception is > org.apache.commons.i18n.MessageNotFoundExcep > tion: Could not find resource bundle with base name oms_messages, > uninstalling i > t > org.apache.commons.i18n.MessageNotFoundException: Could not > find resource bundle > with base name oms_messages, uninstalling it > at > org.apache.commons.i18n.ResourceBundleMessageProvider.<init>(Resource > BundleMessageProvider.java:57) > at > org.marketcetera.core.MessageBundleManager.registerMessageBundle(Mess > ageBundleManager.java:18) > at > org.marketcetera.core.MessageBundleManager.registerMessageBundle(Mess > ageBundleManager.java:23) > at > org.marketcetera.core.MarketceteraTestSuite.init(MarketceteraTestSuit > e.java:37) > at > org.marketcetera.core.FIXVersionTestSuite.<init>(FIXVersionTestSuite. > java:46) > at > org.marketcetera.oms.OrderLimitsTest.suite(OrderLimitsTest.java:29) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteM > ethod(JUnitTestSet.java:180) > at > org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUni > tTestSet.java:140) > at > org.apache.maven.surefire.junit.JUnitTestSet.getTestCount(JUnitTestSe > t.java:247) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTest > Sets(AbstractDirectoryTestSuite.java:104) > at > org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire > .java:150) > at > org.apache.maven.surefire.Surefire.run(Surefire.java:111) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su > refireBooter.java:290) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j > ava:818) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.BuildFailureException: There are test > failures. > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:560) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:480) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:459) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:278) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:143) > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > at > org.apache.maven.cli.MavenCli.main(MavenCli.java:272) > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at > org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at > org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoFailureException: > There are test failures > . > at > org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugi > n.java:425) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:443) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:539) > ... 16 more > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 14 seconds > [INFO] Finished at: Sun May 27 16:03:51 EDT 2007 > [INFO] Final Memory: 11M/21M > [INFO] > ------------------------------------------------------------------------ > > sdwivedi@surya > ~/opensource/marketcetera/oms/marketcetera-platform > ============================================================================ > _______________________________________________ > m-etc-dev mailing list > [hidden email] > http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev > > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. _______________________________________________ m-etc-dev mailing list [hidden email] http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev |
||||||||||||||||
|
Sanjay Dwivedi
|
Some javascript/style in this post has been disabled (why?)
Thanks Toli, I did mvn clean and mvn install. I got
much further this time around. The build of core failed due one test
failure:
The output of the grep command is:
$
ce
target/surefire-reports/org.marketcetera.core.HttpDatabaseIDFactoryTest.txt I looked into the above test report and the
exception stack trace is shown below.
HttpDatabaseIDFactoryTest.testUnconnectableURL()
test case is expecting a failure but looking for error string "Connection
refused" but the error string
in on Windows XP/Cygwin is "Connection timed out"
as evident below. I just modified the message appropriately in this test and I
was successfully able to build core, oms and orderloader. "Connection refuesed"
in this instance is the correct message to look for, I am sure this will work on
Unix/Linux.
I am studying the code. Are you still using JCyclone as SEDA framework? This project appears
dormant, no commits since may of 2005. Any reason for choosing JCyclone? Just
curious.
Thanks for your help.
--
Sanjay
======
The content from the
org.marketcetera.core.HttpDatabaseIDFactoryTest.txt
-------------------------------------------------------------------------------
Test set: org.marketcetera.core.HttpDatabaseIDFactoryTest ------------------------------------------------------------------------------- Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 22.141 sec <<< F AILURE! testUnconnectableURL(org.marketcetera.core.HttpDatabaseIDFactoryTest) Time elap sed: 21.188 sec <<< FAILURE! junit.framework.AssertionFailedError: Thrown throwable contained incorrect messa ge: java.net.ConnectException: Connection timed out: connect: org.marketcetera.c ore.NoMoreIDsException: java.net.ConnectException: Connection timed out: connect at junit.framework.Assert.fail(Assert.java:47) at org.marketcetera.core.ExpectedTestFailure.validateError(ExpectedTestF ailure.java:76) at org.marketcetera.core.ExpectedTestFailure.run(ExpectedTestFailure.jav a:48) at org.marketcetera.core.HttpDatabaseIDFactoryTest.testUnconnectableURL( HttpDatabaseIDFactoryTest.java:62) at org.marketcetera.core.HttpDatabaseIDFactoryTest.testUnconnectableURL( HttpDatabaseIDFactoryTest.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =========
----- Original Message -----
From: "Toli Kuznets" <[hidden email]>
To: "Sanjay Dwivedi" <[hidden email]>
Cc: <[hidden email]>
Sent: Monday, May 28, 2007 7:29 PM
Subject: Re: [m-etc-dev] Error In Building OMS
Platform > > Glad you are looking into the Marketcetera Platform, and sorry that > you are having issues. > > I just did a fresh checkout of the Platform (rev 1253) and I was able > to build everything w/out any problems (under a fresh user as well). > We have the platform building continuously on Linux, and a few others > have been using Cygwin successfully, so it may be some sort of > configuration problem. > > Can you do a 'mvn clean' and then 'mvn install' to make sure the > target directory is setup correctly? > The oms_messages.properties file is copied during the > resources:testResources phase of the build, so it should be in the > oms/target/classes directory. > > Also, you can try building the core first (cd into core, run 'mvn > install', then go into ../oms) and running the oms compilation second. > > Can you run this command form the top-level platform directory > (oms/marketcetera-platform in your case): grep -aH "Tests run" > target/surefire-reports/*Test.txt | grep -a "s: [^0]" | cut -d ":" -f > 1 (i actually just alias this in bash so i can run the 'count errors' > script all the time: > alias ce='grep -aH "Tests run" target/surefire-reports/*Test.txt | > grep -a "s: [^0]" | cut -d ":" -f 1 ') > > it'll give you a list of all the tests that failed. Can you send us > the contents of the failed output files? > > let me know if this doesn't work for you > > On 5/27/07, Sanjay Dwivedi <[hidden email]> wrote: >> >> >> Hello Guys, >> >> I am starting to look into Marketcetera platform and I intend to start >> making contributions on tasks in the roadmap/future releases once I get >> comfortable with the code base. I am building oms platform and get the >> error shown below in testing goal of maven build. The tests fail because it >> is looking for message resource oms_message and I can see resource named >> oms_messages in oms/src/main/resources. >> >> I have the latest code and am building on Windows XP/Cygwin. Likely >> classpath is not being set correctly or something. All plugins required were >> downloaded successfully. >> >> My area of interest is in OMS platform and Photon since I am a Java >> developer. I was able to build Photon without problems. Although I did have >> errors in compilation when I was using JDK6, but those errors went away with >> JDK5. >> -- >> Sanjay >> >> >> ===================================================================== >> [hidden email] >> $ mvn -e install >> + Error stacktraces are turned on. >> [INFO] Scanning for projects... >> [INFO] Reactor build order: >> [INFO] Marketcetera Platform >> [INFO] Marketcetera Core >> [INFO] Marketcetera OMS >> [INFO] Order Loader >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] Building Marketcetera Platform >> [INFO] task-segment: [install] >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] [site:attach-descriptor] >> [INFO] [install:install] >> [INFO] Installing >> c:\home\sdwivedi\opensource\marketcetera\oms\marketcetera-plat >> form\pom.xml to C:\Documents and >> Settings\sdwivedi\.m2\repository\org\marketcete >> ra\platform\0.3.1\platform-0.3.1.pom >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] Building Marketcetera Core >> [INFO] task-segment: [install] >> [INFO] >> ------------------------------------------------------------------------- >> --- >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> [INFO] [compiler:compile] >> [INFO] Nothing to compile - all classes are up to date >> [INFO] [resources:testResources] >> [INFO] Using default encoding to copy filtered resources. >> [INFO] [compiler:testCompile] >> [INFO] Nothing to compile - all classes are up to date >> [INFO] [surefire:test] >> [INFO] Surefire report directory: >> c:\home\sdwivedi\opensource\marketcetera\oms\m >> arketcetera-platform\core\target\surefire-reports >> Initialized top-level logger test. >> org.apache.maven.surefire.booter.SurefireExecutionException: >> org.marketcetera.om >> s.OrderLimitsTest; nested exception is >> org.apache.commons.i18n.MessageNotFoundEx >> ception: Could not find resource bundle with base name oms_messages, >> uninstallin >> g it; nested exception is >> org.apache.maven.surefire.testset.TestSetFailedExcepti >> on: org.marketcetera.oms.OrderLimitsTest; nested exception >> is org.apache.commons >> .i18n.MessageNotFoundException: Could not find resource bundle with base >> name om >> s_messages, uninstalling it >> org.apache.maven.surefire.testset.TestSetFailedException: >> org.marketcetera.oms.O >> rderLimitsTest; nested exception is >> org.apache.commons.i18n.MessageNotFoundExcep >> tion: Could not find resource bundle with base name oms_messages, >> uninstalling i >> t >> org.apache.commons.i18n.MessageNotFoundException: Could not >> find resource bundle >> with base name oms_messages, uninstalling it >> at >> org.apache.commons.i18n.ResourceBundleMessageProvider.<init>(Resource >> BundleMessageProvider.java:57) >> at >> org.marketcetera.core.MessageBundleManager.registerMessageBundle(Mess >> ageBundleManager.java:18) >> at >> org.marketcetera.core.MessageBundleManager.registerMessageBundle(Mess >> ageBundleManager.java:23) >> at >> org.marketcetera.core.MarketceteraTestSuite.init(MarketceteraTestSuit >> e.java:37) >> at >> org.marketcetera.core.FIXVersionTestSuite.<init>(FIXVersionTestSuite. >> java:46) >> at >> org.marketcetera.oms.OrderLimitsTest.suite(OrderLimitsTest.java:29) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> sorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteM >> ethod(JUnitTestSet.java:180) >> at >> org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUni >> tTestSet.java:140) >> at >> org.apache.maven.surefire.junit.JUnitTestSet.getTestCount(JUnitTestSe >> t.java:247) >> at >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTest >> Sets(AbstractDirectoryTestSuite.java:104) >> at >> org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire >> .java:150) >> at >> org.apache.maven.surefire.Surefire.run(Surefire.java:111) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> sorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su >> refireBooter.java:290) >> at >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j >> ava:818) >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] There are test failures. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.BuildFailureException: There are test >> failures. >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >> ultLifecycleExecutor.java:560) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >> fecycle(DefaultLifecycleExecutor.java:480) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >> ltLifecycleExecutor.java:459) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >> dleFailures(DefaultLifecycleExecutor.java:311) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >> ts(DefaultLifecycleExecutor.java:278) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >> fecycleExecutor.java:143) >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) >> at >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> at >> org.apache.maven.cli.MavenCli.main(MavenCli.java:272) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> sorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> at >> org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: org.apache.maven.plugin.MojoFailureException: >> There are test failures >> . >> at >> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugi >> n.java:425) >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi >> nManager.java:443) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >> ultLifecycleExecutor.java:539) >> ... 16 more >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 14 seconds >> [INFO] Finished at: Sun May 27 16:03:51 EDT 2007 >> [INFO] Final Memory: 11M/21M >> [INFO] >> ------------------------------------------------------------------------ >> >> [hidden email] >> ============================================================================ >> _______________________________________________ >> m-etc-dev mailing list >> [hidden email] >> http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev >> >> > > > -- > Toli Kuznets > http://www.marketcetera.com: Open-Source Trading Platform > download.run.trade. _______________________________________________ m-etc-dev mailing list [hidden email] http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev |
||||||||||||||||
|
toli
|
Sanjay,
I've updated the test to remove the check for a hard-coded string. Although it passes successfully on Cygwin for us, you are right, the error messages may be different on various platforms so I updated the check. Should work fine after an update. > I am studying the code. Are you still using JCyclone as SEDA framework? This > project appears dormant, no commits since may of 2005. Any reason for > choosing JCyclone? Just curious. We used to use JCyclone before, but we have switched from it a while back, and are now relying on an embedded ActiveMQ JMS bus for our message-processing framework. We have a writeup about it online at http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/DevNotes/Stages, it should shed more light on our internal decisions and give you a better overview of how things are connected in the OMS. let me know if you have other questions -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. _______________________________________________ m-etc-dev mailing list [hidden email] http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev |
||||||||||||||||
|
Sanjay Dwivedi
|
Thanks Toli, I saw the updated code. All tests execute successfully now.
-- Sanjay ----- Original Message ----- From: "Toli Kuznets" <[hidden email]> To: "Sanjay Dwivedi" <[hidden email]> Cc: <[hidden email]> Sent: Thursday, May 31, 2007 1:30 PM Subject: Re: [m-etc-dev] Error In Building OMS Platform > Sanjay, > > I've updated the test to remove the check for a hard-coded string. > Although it passes successfully on Cygwin for us, you are right, the > error messages may be different on various platforms so I updated the > check. Should work fine after an update. > >> I am studying the code. Are you still using JCyclone as SEDA framework? >> This >> project appears dormant, no commits since may of 2005. Any reason for >> choosing JCyclone? Just curious. > > We used to use JCyclone before, but we have switched from it a while > back, and are now relying on an embedded ActiveMQ JMS bus for our > message-processing framework. > We have a writeup about it online at > http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/DevNotes/Stages, > it should shed more light on our internal decisions and give you a > better overview of how things are connected in the OMS. > > let me know if you have other questions > > -- > Toli Kuznets > http://www.marketcetera.com: Open-Source Trading Platform > download.run.trade. _______________________________________________ m-etc-dev mailing list [hidden email] http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |