Le vendredi 16 mars 2007 à 14:17 +0200, M LZ a écrit :
> Hi, I modified the parameters as you suggested below and got passed
> that error. However I couldn't rebuild the application (latest co from
> the trunk as of today) as I ended up with  another error:
> 
> # ant
> ................. 
> properties:
> 
> init:
>      [echo] Preparing build for NXClientCache
> in /mydir/org.nuxeo.ecm.platform.cache.client...
> [artifact:dependencies] Downloading:
> commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.pom 
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository nuxeo (http://svn.nuxeo.org/maven/repo/)
> [artifact:dependencies] Downloading:
> commons-logging/commons-logging-api/1.1/commons- logging-api-1.1.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> [artifact:dependencies] Downloading:
> commons-logging/commons-logging-api/1.1/commons- logging-api-1.1.pom
> [artifact:dependencies] [WARNING] Unable to get resource from
> repository central (http://repo1.maven.org/maven2)
> 
> undeploy-jboss-cache-interceptor:
> 
> BUILD FAILED
> /mydir/build.xml:29: The following error occurred while executing this
> line:
> /mydir/org.nuxeo.ecm.webapp/build.xml:354: The following error
> occurred while executing this line:
> /mydir/org.nuxeo.ecm.webapp/build.xml:177: The following error
> occurred while executing this line: 
> /mydir/org.nuxeo.ecm.platform.cache.client/build.xml:68: Warning:
> Could not find
> file /opt/jboss/server/default/deploy/ejb3-interceptors-aop.xml to
> copy.
Does this file exists in your JBoss installation ?
If not : what version of JBoss are you Using, is ejb3 container deployed
in this configuration ....

Tiry
> 
> Total time: 3 minutes 20 seconds
> 
> 
> Thanks,
> mlz. 
> 
> 
> On 3/15/07, Tiry <[EMAIL PROTECTED]> wrote:
>         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