rajkiransuram / able

Automatically exported from code.google.com/p/able
0 stars 0 forks source link

Error while building Sakai 2.7 binary using svn #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
svn co https://source.sakaiproject.org/svn/sakai/tags/sakai-2.7.0/ sakai-2.7.0

cd sakai-2.7.0
cd master
mvn clean install
mvn clean install sakai:deploy -Dmaven.tomcat.home=/opt/apache-tomcat-5.5.28/

After a few minutes a compilation error appears.

[INFO] Compilation failure
Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    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 org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
    at com.sun.tools.javac.code.Types.<init>(Types.java:80)
    at com.sun.tools.javac.code.Types.instance(Types.java:69)
    at com.sun.tools.javac.jvm.ClassReader.<init>(ClassReader.java:206)
    at com.sun.tools.javac.jvm.ClassReader.instance(ClassReader.java:168)
    at com.sun.tools.javac.main.JavaCompiler.<init>(JavaCompiler.java:293)
    at com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:72)
    at com.sun.tools.javac.main.Main.compile(Main.java:340)
    at com.sun.tools.javac.main.Main.compile(Main.java:279)
    at com.sun.tools.javac.main.Main.compile(Main.java:270)
    at com.sun.tools.javac.Main.compile(Main.java:87)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:420)
    at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:141)
    at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:493)
    at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)

I have increased JVM memory and I did all the stuff that I could find, but 
still doesn't work to me.

Using an AMD X64 server with the last Ubuntu-Server version.

Original issue reported on code.google.com by mperez.p...@gmail.com on 21 Jul 2010 at 12:36