geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: G3 builds fails on Sun java
Date Wed, 13 Jan 2010 10:46:16 GMT
I would suggest to use maven 2.2.1, also, you might need to build some
service bundles in your local machine first.
I remember that Forrest gave a tip for how to build G3 framework on the
email list

2010/1/13 Ashish Jain <ashjain2@gmail.com>

> Hi,
>
> I am trying to build geronimo 3.0 with source from trunk with a clean repo.
> I have Sun Java 6_10 and maven 2.0.10. My build is stuck as soon as it
> starts and after around 13-14 minutes I hit OOM. I have tried setting up xms
> to 256 and Xmx to 1280 but to no avail build still fails.
>
>
> C:\builds\g3\server>mvn clean install
> [INFO] Scanning for projects...
> [INFO] snapshot org.apache.felix.karaf:karaf:1.1.0-SNAPSHOT: checking for
> updates from ops4j.sna
> ts
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Java heap space
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.OutOfMemoryError: Java heap space
>         at java.util.Arrays.copyOf(Arrays.java:2882)
>         at
> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
>         at
> java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
>         at java.lang.StringBuffer.append(StringBuffer.java:224)
>         at
> hidden.org.codehaus.plexus.util.StringUtils.replace(StringUtils.java:816)
>         at
> hidden.org.codehaus.plexus.util.StringUtils.replace(StringUtils.java:782)
>         at
> org.apache.maven.project.interpolation.RegexBasedModelInterpolator.interpolateInterna
> gexBasedModelInterpolator.java:177)
>         at
> org.apache.maven.project.interpolation.RegexBasedModelInterpolator.interpolate(RegexB
> ModelInterpolator.java:98)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenP
> ctBuilder.java:1024)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProject
> der.java:877)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(Defau
> venProjectBuilder.java:505)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.
> :197)
>         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
>         at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
>         at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
>         at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
>         at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534)
>         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>         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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 14 minutes 10 seconds
> [INFO] Finished at: Wed Jan 13 13:35:28 IST 2010
> [INFO] Final Memory: 63M/63M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Thanks
> Ashish
>



-- 
Ivan

Mime
View raw message