cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Re: What's up with 2.2 ?
Date Fri, 19 Jan 2007 17:23:54 GMT
Java uses default memory settings (which seem to be to small).

Try instead

MAVEN_OPTS="-Xmx512M" mvn -Pallblocks install (as one command). This 
works for me.

Felix

Jean-Christophe Kermagoret schrieb:
> Hi,
> happy to hear theses news.
> 
> I tried your command but I now have the following error :
> 
> Compiling 193 source files to 
> /opt/src/cocoon/trunk/blocks/cocoon-serializers/cocoon-serializers-impl/target/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
> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 37 seconds
> [INFO] Finished at: Fri Jan 19 18:01:32 CET 2007
> [INFO] Final Memory: 15M/61M
> [INFO] 
> ------------------------------------------------------------------------
> 
> I'm using a MacBookPro with 2Gb...
> 
> Where does this error come from ?
> 
> Moreover, what does this command mvn -Pallblocks mean ? I didn't see it 
> in the 'Getting started documentation'.
> 
> Thanks for the help
> 
> Cheers
> 
> Jean-Christophe
> 
> 
> Carsten Ziegeler wrote:
>> Jean-Christophe Kermagoret wrote:
>>  
>>> Hello,
>>> what's working on cocoon 2.2 ?
>>>
>>> I tried :
>>> * ojb, not working,
>>> * cforms, not working (because of ajax, a file may be absent)
>>> * portal, not working
>>>
>>> I tried to use portal block but I get the following error :
>>>
>>> org.apache.avalon.framework.service.ServiceException: Component with 
>>> 'org.apache.cocoon.portal.PortalService' is not defined in this 
>>> service manager. (Key='AvalonServiceManager')
>>>
>>> What is the path to have cocoon 2.2 working ? Errors are different 
>>> each day :-(
>>>
>>> Don't misunderstand me. I use cocoon, I think it's a great project. 
>>> In fact, it's the core of our project. I went to cocoon 2.2 one year 
>>> ago and everything was fine, but since this migration, I froze my 
>>> code to be sure to have something stable. And now, I can't 
>>> synchronize because things are still not stable.
>>>
>>> How may I get cocoon portal working ?
>>>
>>>     
>> The current portal sample in trunk works.
>>
>> Just do a
>>  
>>> mvn -Pallblocks install
>>>     
>>
>> Go to webapp module and start jetty.
>>
>> Carsten
>>   
> 


Mime
View raw message