Le jeudi 15 mars 2007 à 18:39 +0200, M LZ a écrit :
> 
> Hi, 
> 
> I'd like to configure nuxeo5 with ldap. I followed the steps listed
> here 
> 
> http://article.gmane.org/gmane.comp.cms.nuxeo.general/889/match=ldap
> 
> # svn co https://svn.nuxeo.org/nuxeo/nuxeo-ep/trunk .
> # mvn install 
> ....
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12 minutes 13 seconds
> [INFO] Finished at: Thu Mar 15 18:15:40 EET 2007
> [INFO] Final Memory: 16M/40M 
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> # ant   deploy-ecm (or standalone-deploy-ecm)
> Buildfile: build.xml
> 
> doMavenSetUp:
>      [echo] Maven setup for ant... [nuxeo.base='.']
> standalone-deploy-ecm:
> BUILD FAILED
> .../ant-maven-dependencies.xml:69: The following error occurred while
> executing this line: 
> Target `deploy-ecm' does not exist in this project. 
> 
> Total time: 0 seconds
> 
> # ant 
> 
> ...
>     [javac] The system is out of resources.
>     [javac] Consult the following stack trace for details.
>     [javac] java.lang.OutOfMemoryError: PermGen space
> 
> BUILD FAILED
> 
> The memory params  in  $JOBSS_HOME/bin/run.conf were already setup as
> suggested in the  thread: 
> http://thread.gmane.org/gmane.comp.cms.nuxeo.general/1019
> 
This memory error is tied to JVM 1.5 : the permGen parameter must be set
inside JBoss configuration but also for maven and ant.
=> add the permgen option inside you maven and ant script

for Jboss in bin/run.conf
JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=128M"

for maven in bin/mvn
MAVEN_OPTS="$MAVEN_OPTS -XX:MaxPermSize=128M"

for ant in bin/ant
ANT_OPTS="$ANT_OPTS -XX:MaxPermSize=128M"


Tiry


> # mvn -version
> Maven version: 2.0.5
> # ant -version
> Apache Ant version 1.6.2 compiled on September 28 2004
> # jboss -> jboss-4.0.4.GA
> # java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
> 
> 
> 
> Thanks for your help,
> mlz.
> 
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to