Hi Siegfried, mvn clean install should be enough. I ran across a similar OOME, turned out it was caused b/c I didn't had access to a tmp folder generated by a test. But I think that shouldn't happen anymore on current trunk..
Would you mind running an mvn clean install -Dtest= JSPWikiMarkupParserTest to see if that test is causing the OOME? Also checking access of tmp files generated by tests. They should be loaded by the TestEngine (don't hace access to svn right now, I'm writting on phone - btw apologies for typos introduced by spellchecker). HTH, juan pablo El 06/11/2013 10:27, "Jürgen Weber" <[email protected]> escribió: > mvn package > works for me: > > [INFO] Total time: 5:32.174s > [INFO] Finished at: Wed Nov 06 10:18:16 CET 2013 > [INFO] Final Memory: 31M/223M > > ll jspwiki-war/target/ > total 12048 > .... > -rw-r--r-- 1 weberjn users 11182025 Nov 6 10:18 JSPWiki.war > > But this builds 2.10, > > whereas in http://www.apache.org/dist/incubator/jspwiki/2.9.1-incubating/ > there is JSPWiki-2.9.1-incubating-4-bin.zip > which is not in http://svn.apache.org/repos/asf/jspwiki/tags/ > Am 05.11.2013 21:03 schrieb "Siegfried Goeschl" <[email protected]>: > > > Hi folks, > > > > sort of confused - the M2 build is actually 2.10.0-SNAPSHOT and not 2.9.1 > > > > For the records > > > > MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx768m > > > > trunk> mvn -v > > Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) > > Maven home: /Applications/Java/apache-maven-3.0.4 > > Java version: 1.6.0_31, vendor: Apple Inc. > > Java home: /Library/Java/JavaVirtualMachines/1.6.0_31- > > b04-415.jdk/Contents/Home > > Default locale: en_US, platform encoding: MacRoman > > OS name: "mac os x", version: "10.8.5", arch: "x86_64", family: "mac" > > > > Cheers, > > > > Siegfried Goeschl > > > > On 05.11.13 20:39, Siegfried Goeschl wrote: > > > >> Hi folks, > >> > >> had a look at trunk but I'm unable to run the tests > >> > >> > mvn clean install > >> > >> Anything I do wrong? > >> > >> Thanks in advance > >> > >> Siegfried Goeschl > >> > >> Tests run: 188, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 58.537 > >> sec <<< FAILURE! - in org.apache.wiki.parser.JSPWikiMarkupParserTest > >> org.apache.wiki.parser.JSPWikiMarkupParserTest Time elapsed: 16.113 sec > >> <<< ERROR! > >> java.lang.OutOfMemoryError: Java heap space > >> at java.nio.ByteBuffer.wrap(ByteBuffer.java:350) > >> at java.lang.StringCoding$StringDecoder.decode( > >> StringCoding.java:137) > >> at java.lang.StringCoding.decode(StringCoding.java:173) > >> at java.lang.String.<init>(String.java:443) > >> at java.util.jar.Attributes.read(Attributes.java:401) > >> at java.util.jar.Manifest.read(Manifest.java:182) > >> at java.util.jar.Manifest.<init>(Manifest.java:52) > >> at java.util.jar.JarFile.getManifestFromReference(JarFile.java:167) > >> at java.util.jar.JarFile.getManifest(JarFile.java:148) > >> at > >> sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:696) > >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:228) > >> at java.net.URLClassLoader.access$000(URLClassLoader.java:58) > >> at java.net.URLClassLoader$1.run(URLClassLoader.java:197) > >> at java.security.AccessController.doPrivileged(Native Method) > >> at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > >> at > >> org.apache.maven.surefire.common.junit4.JUnit4RunListener. > >> createStackTraceWriter(JUnit4RunListener.java:121) > >> > >> at > >> org.apache.maven.surefire.common.junit4.JUnit4RunListener.testFailure( > >> JUnit4RunListener.java:105) > >> > >> at > >> org.junit.runner.notification.RunNotifier$4.notifyListener( > >> RunNotifier.java:139) > >> > >> at > >> org.junit.runner.notification.RunNotifier$SafeNotifier.run( > >> RunNotifier.java:61) > >> > >> at > >> org.junit.runner.notification.RunNotifier.fireTestFailures( > >> RunNotifier.java:134) > >> > >> at > >> org.junit.runner.notification.RunNotifier.fireTestFailure( > >> RunNotifier.java:128) > >> > >> at > >> org.junit.internal.runners.JUnit38ClassRunner$ > >> OldTestClassAdaptingListener.addError(JUnit38ClassRunner.java:41) > >> > >> at junit.framework.TestResult.addError(TestResult.java:39) > >> at junit.framework.TestResult.runProtected(TestResult.java:148) > >> at junit.framework.TestResult.run(TestResult.java:125) > >> at junit.framework.TestCase.run(TestCase.java:129) > >> at junit.framework.TestSuite.runTest(TestSuite.java:255) > >> at junit.framework.TestSuite.run(TestSuite.java:250) > >> at > >> org.junit.internal.runners.JUnit38ClassRunner.run( > >> JUnit38ClassRunner.java:84) > >> > >> > >> Running org.apache.wiki.parser.MarkupParserTest > >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.666 > >> sec - in org.apache.wiki.parser.MarkupParserTest > >> Running org.apache.wiki.plugin.CounterPluginTest > >> Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 15.325 > >> sec <<< FAILURE! - in org.apache.wiki.plugin.CounterPluginTest > >> testSimpleCount(org.apache.wiki.plugin.CounterPluginTest) Time elapsed: > >> 7.877 sec <<< ERROR! > >> java.lang.OutOfMemoryError: Java heap space > >> > >> testSimpleVar(org.apache.wiki.plugin.CounterPluginTest) Time elapsed: > >> 1.217 sec <<< ERROR! > >> java.lang.OutOfMemoryError: Java heap space > >> > >> testTwinVar(org.apache.wiki.plugin.CounterPluginTest) Time elapsed: > >> 1.269 sec <<< ERROR! > >> java.lang.OutOfMemoryError: Java heap space > >> > >> testShow(org.apache.wiki.plugin.CounterPluginTest) Time elapsed: 1.211 > >> sec <<< ERROR! > >> java.lang.OutOfMemoryError: Java heap space > >> > >> > >> > >> On 05.11.13 16:50, Jürgen Weber wrote: > >> > >>> Currently the dev mailing list is a bit lonely, there seems not a lot > be > >>> going on. > >>> I suggest that JSPWiki 2.9.1 come out from incubator. > >>> Actually 2.9.1 looks good. Why not release it? > >>> > >>> http://en.wikipedia.org/wiki/Release_early,_release_often > >>> > >>> Cheers, > >>> Juergen > >>> > >>> > >> > > >
