ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Proctor <mproc...@codehaus.org>
Subject Re: OOME with 1.2 source zip on win xp with java 1.5
Date Fri, 25 Jul 2008 23:26:32 GMT
Got  much further this time, although still failed:

Testing ode:scheduler-simple
Compiling 5 source files in ode:scheduler-simple:test:compile
Running tests in ode:scheduler-simple
    [junit] Testsuite: org.apache.ode.scheduler.simple.JdbcDelegateTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.672 sec
    [junit] ------------- Standard Error -----------------
    [junit] log4j:WARN No appenders could be found for logger 
(org.apache.ode.scheduler.simple.JdbcDelegate).
    [junit] log4j:WARN Please initialize the log4j system properly.
    [junit] ------------- ---------------- ---------------
    [junit]
    [junit] Testcase: testGetNodeIds took 0.703 sec
    [junit] Testcase: testReassign took 0.063 sec
    [junit] Testcase: testScheduleImmediateTimeFilter took 0.047 sec
    [junit] Testcase: testScheduleImmediateMaxRows took 0.031 sec
    [junit] Testcase: testScheduleImmediateNodeFilter took 0.032 sec
    [junit] Testcase: testDeleteJob took 0.016 sec
    [junit] Testcase: testUpgrade took 0.391 sec
    [junit] Testsuite: org.apache.ode.scheduler.simple.RetriesTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.078 sec
    [junit]
    [junit] Testcase: testRetries took 5.063 sec
    [junit] Testsuite: org.apache.ode.scheduler.simple.SchedulerThreadTest
    [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 3.578 sec
    [junit]
    [junit] Testcase: testSchedulingResolution took 1 sec
    [junit] Testcase: testStartStop took 0.656 sec
    [junit] Testcase: testParallelEnqueue took 1.875 sec
    [junit]     FAILED
    [junit] null
    [junit] junit.framework.AssertionFailedError: null
    [junit]     at 
org.apache.ode.scheduler.simple.SchedulerThreadTest.testParallelEnqueue(SchedulerThreadTest.java:98)
    [junit]
    [junit] TEST org.apache.ode.scheduler.simple.SchedulerThreadTest FAILED
    [junit] Testsuite: org.apache.ode.scheduler.simple.SimpleSchedulerTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 28.75 sec
    [junit]
    [junit] Testcase: testStartStop took 1.344 sec
    [junit] Testcase: testConcurrentExec took 0.437 sec
    [junit] Testcase: testImmediateScheduling took 0.203 sec
    [junit] Testcase: testNearFutureScheduling took 8.563 sec
    [junit] Testcase: testFarFutureScheduling took 8.516 sec
    [junit] Testcase: testRecovery took 4.062 sec
    [junit] Testcase: testRecoverySuppressed took 5.156 sec
    [junit] Tests FAILED
The following tests failed:
org.apache.ode.scheduler.simple.SchedulerThreadTest
rake aborted!
Tests failed!

Mark
Matthieu Riou wrote:
> On Fri, Jul 25, 2008 at 3:10 PM, Mark Proctor <mproctor@codehaus.org> wrote:
>
>   
>> Alex Boisvert wrote:
>> ok just trying now, fyi the BUILDING instructions say 1.2.4.
>> * Buildr. Install it by running 'gem install buildr -v 1.2.4'. A proper
>> JAVA_HOME environment variable must be set. Make sure to choose either win32
>> or ruby platforms (don't choose java for Antwrap, that's JRuby).
>>
>>     
>
> Ah yes, that's the problem when the world moves on :) The online ones are
> usually more up to date:
>
> http://ode.apache.org/building-ode.html
>
> Matthieu
>
>
>   
>> Mark
>>
>>  Another user recently reported the same issue, which turned out to be
>>     
>>> because he was not building with buildr 1.2.10.
>>>
>>> Can you try,
>>>
>>> buildr _1.2.10_ clean package
>>>
>>> ?
>>>
>>> alex
>>>
>>>
>>> On Fri, Jul 25, 2008 at 1:34 PM, Mark Proctor <mproctor@codehaus.org>
>>> wrote:
>>>
>>>
>>>
>>>       
>>>> I downloaded the source zip for version 1.2 and cannot build it under
>>>> windows xp with java 1.5. I have tried setting the Xmx and Xms to 512 and
>>>> 1024 with "set JAVA_OPTS=-Xmx1024M -Xms1024M" also tried -server. However
>>>> it
>>>> always gives me an OOME, despite never using more than 130MB according to
>>>> windows task manager. I'm wondering if the rake build system is some how
>>>> not
>>>> picking up JAVA_OPTS with regards to memory use, or if there is something
>>>> else I need to tweak?
>>>>
>>>> Thanks
>>>>
>>>> Mark
>>>>
>>>>  [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 28.782 sec
>>>>  [junit] ------------- Standard Output ---------------
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] ------------- ---------------- ---------------
>>>>  [junit]
>>>>  [junit] Testcase: testDeployUndeploy took 6 sec
>>>>  [junit] Testcase: testListDeployedPackages took 5.281 sec
>>>>  [junit] Testcase: testListProcesses took 5.031 sec
>>>>  [junit] Testcase: testGetProcessPackage took 6.203 sec
>>>>  [junit] Testcase: testMultipleDeployUndeployVersion took 6.235 sec
>>>>  [junit] Testsuite:
>>>> org.apache.ode.axis2.management.InstanceManagementTest
>>>>  [junit] Tests run: 8, Failures: 0, Errors: 4, Time elapsed: 155.672 sec
>>>>  [junit] ------------- Standard Output ---------------
>>>>  [junit] <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>>> "><soapenv:Body><result
>>>> xmlns="http://ode/bpel/unit-test
>>>> .wsdl">OK</result></soapenv:Body></soapenv:Envelope>
>>>>  [junit]
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>>> "><soapenv:Body><result
>>>> xmlns="http://ode/bpel/unit-test
>>>> .wsdl">OK</result></soapenv:Body></soapenv:Envelope>
>>>>  [junit]
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>>> "><soapenv:Body><result
>>>> xmlns="http://ode/bpel/unit-test
>>>> .wsdl">OK</result></soapenv:Body></soapenv:Envelope>
>>>>  [junit]
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>>> "><soapenv:Body><result
>>>> xmlns="http://ode/bpel/unit-test
>>>> .wsdl">OK</result></soapenv:Body></soapenv:Envelope>
>>>>  [junit]
>>>>  [junit] [SimpleHTTPServer] Stop called
>>>>  [junit] ------------- ---------------- ---------------
>>>>  [junit] ------------- Standard Error -----------------
>>>>  [junit] Exception in thread "HttpListener-8080-1"
>>>> java.lang.OutOfMemoryError: Java heap space
>>>>  [junit] Exception in thread "OdeScheduler" java.lang.OutOfMemoryError:
>>>> Java heap space
>>>>  [junit] ------------- ---------------- ---------------
>>>>  [junit]
>>>>  [junit] Testcase: testListInstances took 6.86 sec
>>>>  [junit] Testcase: testListAllInstances took 6.109 sec
>>>>  [junit] Testcase: testInstanceSummaryListProcess took 10.516 sec
>>>>  [junit] Testcase: testGetInstanceInfo took 17.61 sec
>>>>  [junit] Testcase: testGetInstanceInfoFault took 42.812 sec
>>>>  [junit]     Caused an ERROR
>>>>  [junit] Read timed out
>>>>  [junit] org.apache.axis2.AxisFault: Read timed out
>>>>  [junit]     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
>>>>  [junit]     at
>>>>
>>>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
>>>>  [junit]     at
>>>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>>>>  [junit]     at
>>>>
>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
>>>>  [junit]     at
>>>>
>>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
>>>>  [junit]     at
>>>> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
>>>>  [junit]     at
>>>>
>>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
>>>>  [junit]     at
>>>>
>>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
>>>>  [junit]     at
>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>>>>  [junit]     at
>>>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
>>>>  [junit]     at
>>>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
>>>>  [junit]     at
>>>>
>>>> org.apache.ode.axis2.service.ServiceClientUtil.send(ServiceClientUtil.java:69)
>>>>  [junit]     at
>>>>
>>>> org.apache.ode.axis2.service.ServiceClientUtil.send(ServiceClientUtil.java:48)
>>>>  [junit]     at
>>>>
>>>> org.apache.ode.axis2.management.InstanceManagementTest.sendToDeployment(InstanceManagementTest.java:229)
>>>>  [junit]     at
>>>>
>>>> org.apache.ode.axis2.management.InstanceManagementTest.setUp(InstanceManagementTest.java:190)
>>>>  [junit] Caused by: java.net.SocketTimeoutException: Read timed out
>>>>  [junit]     at java.net.SocketInputStream.socketRead0(Native Method)
>>>>  [junit]     at
>>>> java.net.SocketInputStream.read(SocketInputStream.java:129)
>>>>  [junit]     at
>>>> java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>>>>  [junit]     at
>>>> java.io.BufferedInputStream.read(BufferedInputStream.java:235)
>>>>  [junit]     at
>>>> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)
>>>>  [junit]     at
>>>> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
>>>>  [junit]     at
>>>>
>>>> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>>>>  [junit]     at
>>>>
>>>> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
>>>>  [junit]     at
>>>>
>>>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
>>>>  [junit]
>>>>  [junit] Testcase: testGetScopeInfo took 15.922 sec
>>>>  [junit]     Caused an ERROR
>>>>  [junit] Java heap space
>>>>  [junit] java.lang.OutOfMemoryError: Java heap space
>>>>  [junit]
>>>>  [junit] Testcase: testGetVariableInfo took 12.359 sec
>>>>  [junit]     Caused an ERROR
>>>>  [junit] Java heap space
>>>>  [junit] java.lang.OutOfMemoryError: Java heap space
>>>>  [junit]
>>>>  [junit] Testcase: testDeleteInstances took 41.641 sec
>>>>  [junit]     Caused an ERROR
>>>>  [junit] Java heap space
>>>>  [junit] java.lang.OutOfMemoryError: Java heap space
>>>>  [junit]
>>>>  [junit] TEST org.apache.ode.axis2.management.InstanceManagementTest
>>>> FAILED
>>>>  [junit] Testsuite: org.apache.ode.axis2.management.RetireTest
>>>>  [junit] Exception in thread "main" java.lang.OutOfMemoryError: Java heap
>>>> space
>>>> Terminate batch job (Y/N)? ^C^C
>>>>
>>>>
>>>>
>>>>         
>>>
>>>       
>>     
>
>   


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message