Hi, I installed jboss-EJB-3.0_RC8-FD. This time mvn install has failed:
.... [INFO] [jar:jar] [INFO] Building jar: /root/environs/NuxeoEp/src/org.nuxeo.theme.jsf-editor/target/NXThemesJsfEditor- 0.0-SNAPSHOT.jar [INFO] [install:install] [INFO] Installing /root/environs/NuxeoEp/src/org.nuxeo.theme.jsf-editor/target/NXThemesJsfEditor- 0.0-SNAPSHOT.jar to /root/.m2/repository/org/nuxeo/theme/NXThemesJsfEditor/0.0-SNAPSHOT/NXThemesJsfEditor- 0.0-SNAPSHOT.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building NXCoreAPI [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 70 source files to /root/environs/NuxeoEp/src/org.nuxeo.ecm.core.api/target/classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Compiling 8 source files to /root/environs/NuxeoEp/src/org.nuxeo.ecm.core.api/target/test-classes [INFO] [surefire:test] [INFO] Surefire report directory: /root/environs/NuxeoEp/src/org.nuxeo.ecm.core.api/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.nuxeo.ecm.core.api.SerializableInputStreamTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.302 sec <<< FAILURE! Running org.nuxeo.ecm.core.api.TestNuxeoPrincipal Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec Running org.nuxeo.ecm.core.api.TestFacetFilter Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec Running org.nuxeo.ecm.core.api.TestDocumentModel Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec Running org.nuxeo.ecm.core.api.TestDocumentRef Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running org.nuxeo.ecm.core.api.TestDataModel Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec Running org.nuxeo.ecm.core.api.event.TestCoreEvent Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec Running org.nuxeo.ecm.core.api.FileBlobTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.321 sec <<< FAILURE! Results : Tests in error: testFileBlobSerialization( org.nuxeo.ecm.core.api.SerializableInputStreamTest) testFileBlobSerialization(org.nuxeo.ecm.core.api.FileBlobTest) testFileBlobFromStream(org.nuxeo.ecm.core.api.FileBlobTest) Tests run: 13, Failures: 0, Errors: 3, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 24 seconds [INFO] Finished at: Mon Mar 19 18:31:18 EET 2007 [INFO] Final Memory: 10M/27M [INFO] ------------------------------------------------------------------------ I must confess I do not have experience with these java tools, just wanted to integrate ldap into nuxeo5 and start playing with it, eventually migrating my small sized cps site to it. thanks, mlz. On 3/19/07, Julien Anguenot <[EMAIL PROTECTED]> wrote:
Hi, M LZ wrote: > It is jboss-4.0.4.GA <http://jboss-4.0.4.GA> and the file in question is > not there. I saw in some other thread that you don't use it. I'll > search for it and try to install if it is needed. What version of > ejb3 is recommended ? Right now, we use EJB-3.0 RC8. J. > Regards, > mlz. > > On 3/16/07, *Tiry* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > 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/ > <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] <mailto:[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 <http://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] <mailto:[email protected]> > > > http://lists.nuxeo.com/mailman/listinfo/ecm > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm -- Julien Anguenot | Nuxeo R&D (Paris, France) Open Source ECM - http://www.nuxeo.com Nuxeo 5 : http://www.nuxeo.org Mobile: +33 (0) 6 72 57 57 66
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
