dev@glassfish.java.net

Re: java.lang.StackOverflowError while building (packaging step?)

From: Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
Date: Fri, 31 Jul 2009 11:50:03 -0700

FWIW, I am not sure ANT_OPTS will necessarily do the trick here since I
believe that ant plugin runs within maven process. Could you try setting
MAVEN_OPTS to the same value?


Lloyd Chambers wrote:

> Unfortunately, that does not seem to be the problem. Looks like I'll
> have to blow away my repo again.
>
> llcMP:gmbal~gf_common llc$ cat ~/.antrc
> ANT_OPTS=-Xmx768m
> export ANT_OPTS
>
>
>
> Downloading:
> http://deadlock.netbeans.org/maven2/opensymphony/quartz-all/1.6.0/quartz-all-1.6.0.pom
>
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/opensymphony/quartz-all/1.6.0/quartz-all-1.6.0.pom
>
> Downloading:
> https://maven-repository.dev.java.net/nonav/repository/opensymphony/poms/quartz-all-1.6.0.pom
>
> Downloading:
> http://repo1.maven.org/maven2/opensymphony/quartz-all/1.6.0/quartz-all-1.6.0.pom
>
> Downloading:
> http://download.java.net/maven/2/opensymphony/quartz-all/1.6.0/quartz-all-1.6.0.pom
>
> Downloading:
> http://repo1.maven.org/maven2/opensymphony/quartz-all/1.6.0/quartz-all-1.6.0.pom
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error
> occurred while executing this line:
> java.lang.StackOverflowError
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 54 seconds
> [INFO] Finished at: Fri Jul 31 11:33:06 PDT 2009
> [INFO] Final Memory: 231M/554M
> [INFO]
> ------------------------------------------------------------------------
> cp: ./target/*.jar: No such file or directory
> --- Copying jars to /v3/glassfishv3/glassfish/modules ---
>
>
>
> On Jul 31, 2009, at 11:24 AM, Lloyd Chambers wrote:
>
>> Ludo,
>>
>> Thank you, I'll try it.
>>
>> ANT_OPTS=-Xmx768m
>> export ANT_OPTS
>>
>>
>>
>> Lloyd
>>
>> On Jul 31, 2009, at 11:18 AM, Ludovic Champenois wrote:
>>
>>> On 7/31/09 11:05 AM, Lloyd Chambers wrote:
>>>
>>>> I just blew away my repo 2 days ago, and now it's happening again!
>>>>
>>>> It takes WAY to long to "fix" things like this. Is this a maven
>>>> problem, and ant problem or something else? Unworkable.
>>>>
>>>>
>>> Not sure this is it, but I have this:
>>>
>>> dhcp-usca14-132-130:v3 ludo$ more ~/.antrc
>>> ANT_OPTS=-Xmx512m
>>> export ANT_OPTS
>>>
>>>
>>> Ludo
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish Team
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> Lloyd Chambers
> lloyd.chambers_at_sun.com
> GlassFish Team
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>