[Building Sakai] Sakai build failure: [ERROR] BUILD FAILURE

Steve Swinsburg steve.swinsburg at gmail.com
Fri Mar 4 04:16:59 PST 2011


Hi,

Yes, you could have saved yourself some time too, it's in the install guide:
https://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Source+Install+(2.7)

The default Java virtual machine (JVM) settings are insufficient for an application of Sakai's size. As a result several JVM parameters must be increased for Sakai to run, while others may need to be adjusted for optimal performance. At a minimum add the following property settings to your JAVA_OPTS environment variable.

Unix/Mac:

export JAVA_OPTS='-server -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -XX:NewSize=192m -XX:MaxNewSize=384m -Djava.awt.headless=true -Dhttp.agent=Sakai -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dsun.lang.ClassLoader.allowArraySyntax=true'

cheers,
Steve

On 04/03/2011, at 11:06 PM, yiorgos katopodis wrote:

> 
> Hi all,
> after 30 hours awake and changing many times the operating system of a very
> small and cheap Virtual Server i think i have a small solution about
> tweeking the MAVEN_OPTS. A little VooDoo and black magic i think, but i hope
> it comes handy to many people who had same problems like me.
> I tested the sakai 2.7.0 installation from source using ubuntu 10.04 and
> ubuntu 10.10. A BUILD FAILURE  occured again and again and again
> 
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
> 
> After tracing it ended up to the following:
> The system is out of resources.(org.apache.maven.BuildFailureException:
> Compilation failure Failure executing javac, but could not parse the error:  
> The system is out of resources.)
> 
> Finally after many cups of chamomile (which i thought it was tea) and 30
> hours later i ended up with this change in MAVEN_OPTS:
> 
> export MAVEN_OPTS='-Xms1024m -Xmx1024m -XX:PermSize=128m
> -XX:MaxPermSize=512m'
> 
> Everything worked out perfect.
> If you have come across the same problem and if you have or not , found a
> solution i think it would be very nice to share it here.
> 
> P.S: I will try during the weekend to install sakai 2.7.1 from source and
> see if the same applies there too.
> 
> Yiorgos Katopodis%-|B-)
> -- 
> View this message in context: http://old.nabble.com/-Building-Sakai--Sakai-build-failure%3A--ERROR--BUILD-FAILURE-tp31067038p31067038.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110304/681e8a7f/attachment.html 


More information about the sakai-dev mailing list