Hi Jens, I'm having trouble with build as well and memory is one issue. Permsize went also OoM once.
I have tuned dev and build systems by using these settings: MAVEN_OPTS='-Xms256m -Xmx1024m -XX:MaxPermSize=64m -XX:MaxPermSize=128m' By using these settings build is more stable. Furthermore I have another issue with repeatable breaking unit tests on only some systems. Unfortunately one of them is my iMac :-( On theses systems it is the case that Maven build the WAR goal not correctly. See the generated web.xml snipped of inMemory server below which is completely wrong. With that the whole testing chain of jetty, war deployment and unit testing fails. Right now I have no idea why this happens. Regards, Stephan <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> <display-name>opencmis-server-inmemory</display-name> <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> </web-app> Am 11.03.2010 um 15:11 schrieb Jens Hübel: > Hi guys, > > > > on one machine where I try to build OpenCMIS I run into a build failure. Has > somebody else seen this problem? > > > > Jens > > > > > > ------------------------------------------------------- > > T E S T S > > ------------------------------------------------------- > > Running org.apache.opencmis.fit.sample.WebServicesSampleIT > > log4j:WARN No appenders could be found for logger > (org.apache.opencmis.client.ru > > ntime.PersistentSessionImpl). > > log4j:WARN Please initialize the log4j system properly. > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.438 sec > > Running org.apache.opencmis.fit.sample.AtomPubSampleIT > > Exception in thread "19449...@qtp-3284378-1" 2010-03-11 > 15:03:45.433:WARN::Error > > for /opencmis/atom > > java.lang.OutOfMemoryError: Java heap space > > java.lang.OutOfMemoryError: Java heap space > > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 89.812 sec > <<< F > > AILURE! > > Running org.apache.opencmis.fit.provider.AtomPubSimpleProviderIT > > Creating provider... > > Creating test folder... > > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.094 sec <<< > FA > > ILURE! > > Running org.apache.opencmis.fit.provider.WebServicesSimpleProviderIT > > Creating provider... > > Creating test folder... > > Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.297 sec <<< > FA > > ILURE! > > > > Results : > > > > Tests in error: > > testRepositoryInfo(org.apache.opencmis.fit.sample.AtomPubSampleIT) > > testTypes(org.apache.opencmis.fit.sample.AtomPubSampleIT) > > testRepositoryInfo(org.apache.opencmis.fit.provider.AtomPubSimpleProviderIT) > > testCreateDocument(org.apache.opencmis.fit.provider.AtomPubSimpleProviderIT) > > > testRepositoryInfo(org.apache.opencmis.fit.provider.WebServicesSimpleProviderI > > T) > > > testCreateDocument(org.apache.opencmis.fit.provider.WebServicesSimpleProviderI > > T) > > > > Tests run: 8, Failures: 0, Errors: 6, Skipped: 0 > ---- Stephan Klevenz Fabrikstr. 45 69126 Heidelberg Tel.: +49 6221 879625 Fax.: +49 6221 339926
