tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raymond Feng" <enjoyj...@gmail.com>
Subject Re: [continuum] BUILD FAILURE: Tuscany - Apache Tuscany SCA Implementation Project - Build Def:
Date Mon, 22 Sep 2008 19:18:37 GMT
By running mvn in debug mode, I can tell the compiler plugin is not folked:

[DEBUG]   (f) compileSourceRoots = 
[/home/rfeng/tuscany/src/java/sca/demos/bigbank-calculator/src/main/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) fork = false
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = 
/home/rfeng/tuscany/src/java/sca/demos/bigbank-calculator/target/classes
[DEBUG]   (f) outputFileName = demo-bigbank-calculator
[DEBUG]   (f) projectArtifact = 
org.apache.tuscany.sca:demo-bigbank-calculator:jar:1.4-SNAPSHOT
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) source = 1.5
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.5
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --

So the memory problem is probably not in the compiler or bigbank-calculator 
project. It just happens to fail as a result of the overall memory 
consumption in the build.

BTW, I cannot reproduce the problem on the Red Hat Linux with 
"MAVEN_OPTS=-XX:MaxPermSize=384m".

Thanks,
Raymond

--------------------------------------------------
From: "Luciano Resende" <luckbr1975@gmail.com>
Sent: Monday, September 22, 2008 11:29 AM
To: <dev@tuscany.apache.org>
Subject: Re: [continuum] BUILD FAILURE: Tuscany - Apache Tuscany SCA 
Implementation Project - Build Def:

> Maybe we need to configure the maven-compiler-plugin ? I remember we
> do something similar for maven-surefire-plugin...
> I can take a look at this later today, and force new continuum build...
> If you have other ideas, let me know :)
>
> On Mon, Sep 22, 2008 at 11:26 AM, Raymond Feng <enjoyjava@gmail.com> 
> wrote:
>> Well, the failure is from "javac" which is the compiler. I assume the JVM 
>> is
>> forked by the maven-compiler-plugin.
>>
>> Thanks,
>> Raymond
>>
>> --------------------------------------------------
>> From: "Luciano Resende" <luckbr1975@gmail.com>
>> Sent: Monday, September 22, 2008 11:21 AM
>> To: <dev@tuscany.apache.org>
>> Subject: Re: [continuum] BUILD FAILURE: Tuscany - Apache Tuscany SCA
>> Implementation Project - Build Def:
>>
>>> We already have a profile using "large memory", 256 if I recall
>>> correctly...
>>> Now, why is BigBank calculator demo suddenly requiring much more memory
>>> now ?
>>>
>>> On Mon, Sep 22, 2008 at 9:56 AM, Raymond Feng <enjoyjava@gmail.com> 
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> The following stack trace is the only error I see from the build log. 
>>>> It
>>>> seems that the build ran out of  perm memory. Typically, the size can 
>>>> be
>>>> configured as an argument of the JVM, for example: -XX:PermSize=128M.
>>>>
>>>> Can we find out if the continuum build supports this kind of settings?
>>>>
>>>> Thanks,
>>>> Raymond
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Error for project: Apache Tuscany SCA BigBank Calculator Demo
>>>> (during
>>>> install)
>>>> [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: PermGen space
>>>>       at java.lang.ClassLoader.defineClass2(Native Method)
>>>>       at java.lang.ClassLoader.defineClass(ClassLoader.java:719)
>>>>       at
>>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160)
>>>>       at java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
>>>>       at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>>>>       at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>>>       at java.security.AccessController.doPrivileged(Native Method)
>>>>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>       at
>>>>
>>>> org.codehaus.plexus.compiler.javac.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:56)
>>>>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>>>       at com.sun.tools.javac.code.Types.&lt;init&gt;(Types.java:61)
>>>>       at com.sun.tools.javac.code.Types.instance(Types.java:50)
>>>>       at
>>>> com.sun.tools.javac.jvm.ClassReader.&lt;init&gt;(ClassReader.java:192)
>>>>       at
>>>> com.sun.tools.javac.jvm.ClassReader.instance(ClassReader.java:153)
>>>>       at
>>>> com.sun.tools.javac.main.JavaCompiler.&lt;init&gt;(JavaCompiler.java:131)
>>>>       at
>>>> com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:46)
>>>>       at com.sun.tools.javac.main.Main.compile(Main.java:589)
>>>>       at com.sun.tools.javac.main.Main.compile(Main.java:544)
>>>>       at com.sun.tools.javac.Main.compile(Main.java:85)
>>>>       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:585)
>>>>       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:447)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>>>>
>>>>
>>>> --------------------------------------------------
>>>> From: "Continuum@vmbuild.apache.org" <continuum@apache.org>
>>>> Sent: Monday, September 22, 2008 4:31 AM
>>>> To: <dev@tuscany.apache.org>
>>>> Subject: [continuum] BUILD FAILURE: Tuscany - Apache Tuscany SCA
>>>> Implementation Project - Build Def:
>>>>
>>>>> Online report :
>>>>>
>>>>> http://vmbuild.apache.org/continuum/buildResult.action?buildId=114985&projectId=277
>>>>>
>>>>> Build statistics:
>>>>>  State: Failed
>>>>>  Previous State: Failed
>>>>>  Started at: Mon 22 Sep 2008 02:39:19 -0700
>>>>>  Finished at: Mon 22 Sep 2008 04:29:53 -0700
>>>>>  Total time: 1h 50m 33s
>>>>>  Build Trigger: Schedule
>>>>>  Build Number: 204
>>>>>  Exit code: 1
>>>>>  Building machine hostname: vmbuild.apache.org
>>>>>  Operating system : Linux(unknown)
>>>>>  Java Home version : java version "1.5.0_12"
>>>>>        Java(TM) 2 Runtime Environment, Standard Edition (build
>>>>> 1.5.0_12-b04)
>>>>>        Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode,
>>>>> sharing)
>>>>>      Builder version :
>>>>>        Maven version: 2.0.8
>>>>>        Java version: 1.5.0_12
>>>>>        OS name: "linux" version: "2.6.20-16-server" arch: "i386" 
>>>>> Family:
>>>>> "unix"
>>>>>
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>> SCM Changes:
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>> Changed: beckerdo @ Sun 21 Sep 2008 17:06:24 -0700
>>>>> Comment: Files changed:
>>>>>
>>>>>
>>>>>
>>>>> /tuscany/java/sca/modules/binding-atom-abdera/src/main/java/org/apache/tuscany/sca/binding/atom/provider/AtomBindingListenerServlet.java
>>>>> ( 697643 )
>>>>>
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>> Dependencies Changes:
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>> No dependencies changed
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>> Build Defintion:
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>> POM filename: pom.xml
>>>>> Goals: -fae -Pdistribution clean install   Arguments: --batch-mode
>>>>> Build Fresh: false
>>>>> Always Build: false
>>>>> Default Build Definition: true
>>>>> Schedule: ONCE_A_DAY_2_00_AM
>>>>> Profile Name: Java 5, Large Memory
>>>>> Description:
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>> Test Summary:
>>>>>
>>>>>
>>>>> ****************************************************************************
>>>>> Tests: 2010
>>>>> Failures: 0
>>>>> Total time: 1320.6537
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Luciano Resende
>>> Apache Tuscany, Apache PhotArk
>>> http://people.apache.org/~lresende
>>> http://lresende.blogspot.com/
>>
>>
>
>
>
> -- 
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
> 

Mime
View raw message