airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Jayasekara <thejaka.am...@gmail.com>
Subject Re: Problem with Airavata build
Date Mon, 26 Aug 2013 20:58:42 GMT
Hi Subho,

Please use MAVEN_OPTS=-Xmx1024m [1] to increase memory for maven build.

[1]
http://stackoverflow.com/questions/2819853/setting-java-heap-space-under-maven-2-on-windows

Thanks
Amila


On Mon, Aug 26, 2013 at 4:46 PM, Subho Banerjee <subs.zero@gmail.com> wrote:

> Hi,
> I have been trying to build the Airavata trunk over the past few days, and
> it seems to give me this error
>
>
>  [INFO] Echo Service ...................................... SUCCESS
> [0.769s]
>
>  [INFO] Levenshtein Distance Service ...................... FAILURE
> [2.966s]
>
>  [INFO] Simple Math Service ............................... SKIPPED
>
>  [INFO] samples ........................................... SKIPPED
>
> [INFO] Airavata Samples .................................. SKIPPED
>
> [INFO] Airavata JPA Registry ............................. SKIPPED
>
>  [INFO] Airavata REST ..................................... SKIPPED
>
>  [INFO] airavata-rest-mappings ............................ SKIPPED
>
>  [INFO] airavata-rest-client .............................. SKIPPED
>
>  [INFO] Airavata XBaya .................................... SKIPPED
>
>  [INFO] Airavata JSON ..................................... SKIPPED
>
>  [INFO] Airavata Registry Service ......................... SKIPPED
>
>  [INFO] Airavata Registry Test ............................ SKIPPED
>
>  [INFO] Airavata Security Implementation .................. SKIPPED
>
>  [INFO] airavata-rest-services ............................ SKIPPED
>
>  [INFO] airavata-rest-service-webapp ...................... SKIPPED
>
>  [INFO] Airavata Tools .................................... SKIPPED
>
>  [INFO] Airavata Phoebus Integration ...................... SKIPPED
>
>  [INFO] registry-tool ..................................... SKIPPED
>
>  [INFO] SampleGateway Maven Webapp ........................ SKIPPED
>
>  [INFO] distribution ...................................... SKIPPED
>
>  [INFO] Samples - Airavata Client Samples ................. SKIPPED
>
>  [INFO] Samples - Workflow Create Application ............. SKIPPED
>
>  [INFO] Samples - Workflow Execution ...................... SKIPPED
>
>  [INFO] Airavata Embedded Tomcat Implementation ........... SKIPPED
>
>  [INFO] Airavata Test Suite ............................... SKIPPED
>
>  [INFO] Airavata server distribution ...................... SKIPPED
>
>  [INFO] Airavata client distribution ...................... SKIPPED
>
>  [INFO] Airavata xbaya-gui distribution ................... SKIPPED
>
>  [INFO] Airavata release artifacts ........................ SKIPPED
>
>  [INFO] Airavata Integration Tests ........................ SKIPPED
>
>  [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
>  [INFO]
> ------------------------------------------------------------------------
>
>  [INFO] Total time: 3:05.805s
>
>  [INFO] Finished at: Mon Aug 26 15:42:44 CDT 2013
>
> [INFO] Final Memory: 33M/1205M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project airavata-levenshtein-distance-service:
> Compilation failure
>
> [ERROR] Failure executing javac, but could not parse the error:
>
>  [ERROR]
>
>  [ERROR]
>
> [ERROR] The system is out of resources.
>
>  [ERROR] Consult the following stack trace for details.
>
>  [ERROR] java.lang.OutOfMemoryError: PermGen space
>
> [ERROR] at java.lang.ClassLoader.defineClass1(Native Method)
>
> [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
>
>  [ERROR] at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>
> [ERROR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>
>  [ERROR] at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>
>  [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>
>  [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>
>  [ERROR] at java.security.AccessController.doPrivileged(Native Method)
>
>  [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>
>  [ERROR] at
> org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>
> [ERROR] at
> java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2565)
>
> [ERROR] at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1436)
>
>  [ERROR] at java.util.ResourceBundle.findBundle(ResourceBundle.java:1400)
>
>  [ERROR] at java.util.ResourceBundle.findBundle(ResourceBundle.java:1354)
>
>  [ERROR] at java.util.ResourceBundle.findBundle(ResourceBundle.java:1354)
>
>  [ERROR] at
> java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1296)
>
> [ERROR] at java.util.ResourceBundle.getBundle(ResourceBundle.java:796)
>
>  [ERROR] at
> com.sun.tools.javac.util.JavacMessages.getBundles(JavacMessages.java:121)
>
> [ERROR] at
> com.sun.tools.javac.util.JavacMessages.setCurrentLocale(JavacMessages.java:73)
>
> [ERROR] at
> com.sun.tools.javac.util.JavacMessages.<init>(JavacMessages.java:98)
>
> [ERROR] at
> com.sun.tools.javac.util.JavacMessages.<init>(JavacMessages.java:80)
>
> [ERROR] at
> com.sun.tools.javac.util.JavacMessages.instance(JavacMessages.java:54)
>
> [ERROR] at
> com.sun.tools.javac.util.JCDiagnostic$Factory.<init>(JCDiagnostic.java:70)
>
> [ERROR] at
> com.sun.tools.javac.util.JCDiagnostic$Factory.instance(JCDiagnostic.java:60)
>
> [ERROR] at com.sun.tools.javac.util.Log.<init>(Log.java:128)
>
>  [ERROR] at com.sun.tools.javac.util.Log.<init>(Log.java:199)
>
>  [ERROR] at com.sun.tools.javac.util.Log.<init>(Log.java:193)
>
>  [ERROR] at com.sun.tools.javac.util.Log.instance(Log.java:206)
>
>  [ERROR] at
> com.sun.tools.javac.util.BaseFileManager.setContext(BaseFileManager.java:72)
>
> [ERROR] at
> com.sun.tools.javac.file.JavacFileManager.setContext(JavacFileManager.java:156)
>
> [ERROR] at
> com.sun.tools.javac.file.JavacFileManager.<init>(JavacFileManager.java:148)
>
> [ERROR] at
> com.sun.tools.javac.file.JavacFileManager$1.make(JavacFileManager.java:135)
>
> [ERROR] -> [Help 1]
>
>  [ERROR]
>
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
>
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
>  [ERROR]
>
>  [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
>
>  [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
>  [ERROR]
>
> [ERROR] After correcting the problems, you can resume the build with the
> command
>
> [ERROR]   mvn <goals> -rf :airavata-levenshtein-distance-service
>
>
> Is there a fix patch that has been submitted on JIRA that I can use?
>
> --
> Cheers,
> Subho
>

Mime
View raw message