activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer <nor...@apache.org>
Subject Re: Getting Error while installing Active MQ using Maven 2.2.1 :- Failure Executing Javac, but could not parse the error
Date Wed, 08 Dec 2010 14:50:44 GMT
Higher the memory which maven can use:

set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m


Bye,
Norman


2010/12/8 riskrocks007 <rushikesh.babar@gmail.com>:
>
> Hi,
>
> I am newbie to apache ActiveMQ, I am trying to install active MQ 5.4.1
> source, for this i am using maven 2.2.1 and working on windows XP-SP2
> platform, Kindly help me to solve this error
>
> At ActiveMQ :: Core I am getting error Build Failure
> --Compilation Failure
> --Failure Executing Javac, but could not parse the error
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building ActiveMQ :: Core
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting file set: D:\activemq-parent-5.4.1\activemq-core\target
> (include
> d: [**], excluded: [])
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [bundle:cleanVersions {execution: cleanVersions}]
> [WARNING] While downloading javacc:javacc:3.2
>  This artifact has been relocated to net.java.dev.javacc:javacc:3.2.
>
>
> [INFO] [javacc:javacc {execution: default}]
> Java Compiler Compiler Version 3.2 (Parser Generator)
> (type "javacc" with no arguments for help)
> Reading from file
> D:\activemq-parent-5.4.1\activemq-core\src\main\grammar\Select
> orParser.jj . . .
> Note: UNICODE_INPUT option is specified. Please make sure you create the
> parser/
> lexer usig a Reader with the correct character encoding.
> File "TokenMgrError.java" does not exist.  Will create one.
> File "ParseException.java" does not exist.  Will create one.
> File "Token.java" does not exist.  Will create one.
> File "SimpleCharStream.java" does not exist.  Will create one.
> Parser generated successfully.
> [INFO] [activemq-protobuf:compile {execution: default}]
> [INFO] Compiling:
> D:\activemq-parent-5.4.1\activemq-core\src\main\proto\journal-
> data.proto
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 52 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 1279 source files to
> D:\activemq-parent-5.4.1\activemq-core\tar
> get\classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [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: Java heap space
>        at
> com.sun.tools.javac.util.Position$LineMapImpl.build(Position.java:139
> )
>        at com.sun.tools.javac.util.Position.makeLineMap(Position.java:63)
>        at com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1105)
>        at
> com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:512)
>        at
> com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550)
>        at
> com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:80
> 1)
>        at
> com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
>        at com.sun.tools.javac.main.Main.compile(Main.java:353)
>        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(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
> acCompiler.java:420)
>        at
> org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
> r.java:141)
>        at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
> Mojo.java:493)
>        at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:490)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:694)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:556)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:535)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:387)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:348)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:180)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>        at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
> 0)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 14 minutes 34 seconds
> [INFO] Finished at: Wed Dec 08 18:21:45 IST 2010
> [INFO] Final Memory: 50M/63M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Guide me to solve this issue.
> Thanks in advance for yours support
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Getting-Error-while-installing-Active-MQ-using-Maven-2-2-1-Failure-Executing-Javac-but-could-not-parr-tp3078337p3078337.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>

Mime
View raw message