ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens M├╝ller <b...@tessarakt.de>
Subject Re: Buildr upgrade (almost)
Date Tue, 10 Jun 2008 22:02:26 GMT
Matthieu Riou schrieb:
> Do you have a running server on port 8080?
> 

Yes, a Tomcat. I stopped it and some more tests worked.

> I usually don't have OOMs but can you try with JAVA_OPTS=-Xmx512m ?

I tried it with -Xmx1G, but I still get an OOM error ...

The first error is a timeout, btw:

     [junit] Testcase: testGetProcessPackage took 45,773 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.DeploymentTest.sendToDeployment(DeploymentTest.java:218)
     [junit]     at 
org.apache.ode.axis2.management.DeploymentTest.deploy(DeploymentTest.java:176)
     [junit]     at 
org.apache.ode.axis2.management.DeploymentTest.deploy(DeploymentTest.java:194)
     [junit]     at 
org.apache.ode.axis2.management.DeploymentTest.setUp(DeploymentTest.java:138)
     [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: testMultipleDeployUndeployVersion took 15,007 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]     at 
org.apache.xerces.dom.DeferredDocumentImpl.createChunk(Unknown Source)
     [junit]     at 
org.apache.xerces.dom.DeferredDocumentImpl.ensureCapacity(Unknown Source)
     [junit]     at 
org.apache.xerces.dom.DeferredDocumentImpl.createNode(Unknown Source)
     [junit]     at 
org.apache.xerces.dom.DeferredDocumentImpl.createDeferredDocument(Unknown 
Source)
     [junit]     at 
org.apache.xerces.parsers.AbstractDOMParser.startDocument(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown 
Source)
     [junit]     at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [junit]     at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [junit]     at org.apache.xerces.parsers.XMLParser.parse(Unknown 
Source)
     [junit]     at org.apache.xerces.parsers.DOMParser.parse(Unknown 
Source)
     [junit]     at 
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown 
Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown 
Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown 
Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown 
Source)
     [junit]     at 
com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
     [junit]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
     [junit]     at 
org.apache.ode.axis2.service.ManagementService.enableService(ManagementService.java:87)
     [junit]     at org.apache.ode.axis2.ODEServer.init(ODEServer.java:170)
     [junit]     at 
org.apache.ode.axis2.Axis2TestBase$ODEAxis2Server.start(Axis2TestBase.java:72)
     [junit]     at 
org.apache.ode.axis2.Axis2TestBase.startServer(Axis2TestBase.java:38)
     [junit]     at 
org.apache.ode.axis2.Axis2TestBase.setUp(Axis2TestBase.java:47)
     [junit]     at 
org.apache.ode.axis2.management.DeploymentTest.setUp(DeploymentTest.java:133)
     [junit]
     [junit] TEST org.apache.ode.axis2.management.DeploymentTest FAILED
     [junit] Testsuite: 
org.apache.ode.axis2.management.InstanceManagementTest
     [junit] Tests run: 8, Failures: 0, Errors: 8, Time elapsed: 83,783 sec
     [junit] ------------- Standard Error -----------------
     [junit] Exception in thread "OdeScheduler" 
java.lang.OutOfMemoryError: Java heap space
     [junit]     at 
org.apache.geronimo.transaction.manager.TransactionManagerImpl.begin(TransactionManagerImpl.java:148)
     [junit]     at 
org.apache.geronimo.transaction.manager.TransactionManagerImpl.begin(TransactionManagerImpl.java:141)
     [junit]     at 
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:139)
     [junit]     at 
org.apache.ode.scheduler.simple.SimpleScheduler.doLoadImmediate(SimpleScheduler.java:377)
     [junit]     at 
org.apache.ode.scheduler.simple.SimpleScheduler$LoadImmediateTask.run(SimpleScheduler.java:491)
     [junit]     at 
org.apache.ode.scheduler.simple.SimpleScheduler.runTask(SimpleScheduler.java:358)
     [junit]     at 
org.apache.ode.scheduler.simple.SchedulerThread.run(SchedulerThread.java:137)
     [junit]     at java.lang.Thread.run(Thread.java:595)
     [junit] Exception in thread "OdeScheduler" 
java.lang.OutOfMemoryError: Java heap space
     [junit] ------------- ---------------- ---------------
     [junit]
     [junit] Testcase: testListInstances took 16,121 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]     at 
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99)
     [junit]     at 
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393)
     [junit]     at java.lang.StringBuffer.append(StringBuffer.java:225)
     [junit]     at 
org.apache.xerces.impl.xs.opti.SchemaDOM.endAnnotation(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.xs.opti.SchemaDOMParser.endElement(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown 
Source)
     [junit]     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

Source)
     [junit]     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
     [junit]     at 
org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown 
Source)
     [junit]     at 
org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(Unknown 
Source)
     [junit]     at 
org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown 
Source)
     [junit]     at 
org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown 
Source)
     [junit]     at 
org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
     [junit]     at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
Source)
     [junit]     at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown

Source)
     [junit]     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

Source)
     [junit]     at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
     [junit]     at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [junit]     at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [junit]     at org.apache.xerces.parsers.XMLParser.parse(Unknown 
Source)
     [junit]     at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     [junit]     at 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
     [junit]     at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown 
Source)
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]     at 
org.apache.openjpa.lib.meta.XMLMetaDataParser.parseNewResource(XMLMetaDataParser.java:376)
     [junit]     at 
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:318)
     [junit]     at 
org.apache.openjpa.lib.meta.XMLMetaDataParser.parse(XMLMetaDataParser.java:295)
     [junit]
     [junit] Testcase: testListAllInstances took 13,512 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]
     [junit] Testcase: testInstanceSummaryListProcess took 11,048 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]
     [junit] Testcase: testGetInstanceInfo took 9,509 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]
     [junit] Testcase: testGetInstanceInfoFault took 8,368 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]
     [junit] Testcase: testGetScopeInfo took 8,892 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]
     [junit] Testcase: testGetVariableInfo took 6,791 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]
     [junit] Testcase: testDeleteInstances took 7,63 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] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 10,663 sec
     [junit]
     [junit] Testcase: testRetiredInstance took 9,103 sec
     [junit]     Caused an ERROR
     [junit] Java heap space
     [junit] java.lang.OutOfMemoryError: Java heap space
     [junit]
     [junit] TEST org.apache.ode.axis2.management.RetireTest FAILED
     [junit] [SimpleHTTPServer] Stop called
     [junit] [SimpleHTTPServer] Stop called
     [junit] [SimpleHTTPServer] Stop called
     [junit] [SimpleHTTPServer] Stop called
     [junit] Tests FAILED
The following tests failed:
org.apache.ode.axis2.management.DeploymentTest
org.apache.ode.axis2.management.InstanceManagementTest
org.apache.ode.axis2.management.RetireTest
rake aborted!
Tests failed!


P.S.: Thanks for your help so far!


Mime
View raw message