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).

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 <[EMAIL PROTECTED]> 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



Reply via email to