On Tue, Jun 10, 2008 at 2:28 PM, Jens Müller <[EMAIL PROTECTED]> wrote:
> Matthieu Riou schrieb: > >> On Tue, Jun 10, 2008 at 1:31 PM, Jens Müller <[EMAIL PROTECTED]> wrote: >> >> Matthieu Riou schrieb: >>> >>> For this reason I haven't directly updated the default Rakefile but >>>> committed another one instead and that's only on trunk for now (I'm >>>> thinking >>>> we should maybe stick with Buildr 1.2.X for our stable branch). So >>>> you'll >>>> need to do: >>>> >>>> buildr --buildfile=Rakefile.buildr1.3 clean test (for example) >>>> >>>> So that's instead of running 'rake test' like described on >>> http://ode.apache.org/building-ode.html ? >>> >>> I am getting an error in a fresh check-out ... >>> >>> >> Read again my e-mail, especially the part about the patch :) >> >> > > Sorry for the stupid question - the ode:package target works now. > No worries, I might actually try Assaf's suggestion, that will be easier. > > Do I have to be root to build the 'package' target? As far as I can see it, > the tests there try to start a server ... > > I'm getting quite some test failures like: > > [junit] Testsuite: org.apache.ode.axis2.ServiceFaultCatchTest > [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 15,548 sec > [junit] ------------- Standard Output --------------- > [junit] WARN - GeronimoLog.warn(96) | Attempt number 1 of 10 to > reestalish connection listener > [EMAIL PROTECTED] to failure > [junit] java.net.BindException: Address already in use > [junit] at java.net.PlainSocketImpl.socketBind(Native Method) > [junit] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) > [junit] at java.net.ServerSocket.bind(ServerSocket.java:319) > [junit] at java.net.ServerSocket.<init>(ServerSocket.java:185) > [junit] at java.net.ServerSocket.<init>(ServerSocket.java:97) > [junit] at > org.apache.axis2.transport.http.server.DefaultConnectionListener.run(DefaultConnectionListener.java:72) > [junit] at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) > [junit] at > edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) > [junit] at java.lang.Thread.run(Thread.java:595) > > > [...] > Do you have a running server on port 8080? > > and at the end > > [junit] TEST org.apache.ode.axis2.management.DeploymentTest FAILED > [junit] Testsuite: > org.apache.ode.axis2.management.InstanceManagementTest > [junit] Exception in thread "main" java.lang.OutOfMemoryError: Java heap > space > [junit] java.lang.OutOfMemoryError: Java heap space > [junit] Exception in thread "OdeScheduler" java.lang.OutOfMemoryError: > Java heap space > > After that, I pressed Ctrl-C ... > > I usually don't have OOMs but can you try with JAVA_OPTS=-Xmx512m ? Thanks, Matthieu