[ 
http://jira.nuxeo.org/browse/NXP-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julien Carsique reassigned NXP-4327:
------------------------------------

    Assignee: Julien Carsique  (was: Florent Guillaume)

> Nuxeo Distribution for Tomcat fails on Apache Tomcat 6.0.20 on Windows XP SP4 
> using JDK 6.0 update 26
> -----------------------------------------------------------------------------------------------------
>
>                 Key: NXP-4327
>                 URL: http://jira.nuxeo.org/browse/NXP-4327
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.3 GA
>         Environment: Windows XP SP4, Apache Tomcat 6.0.20, JDK 6.0 Update 16
>            Reporter: Cameron McEwing
>            Assignee: Julien Carsique
>            Priority: Blocker
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>
> I cloned this issue NXP-4173 to reopen it. The Nuxeo Tomcat distribution in 
> 5.3 GA now fails to create the build artifacts in 
> "\nuxeo-distribution\nuxeo-distribution-tomcat\target" it instead creates a 
> build target in "\nuxeo-distribution\nuxeo-distribution-jetty\target". This 
> appears to be a Jetty build with the file 
> nuxeo-distribution-jetty-5.3.1-SNAPSHOT.zip created. 
> Here is my build process ... 
> hg clone http://hg.nuxeo.org/nuxeo#5.3 
> cd nuxeo 
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-common#1.6 
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-runtime#1.6 
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-core#1.6 
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-theme#5.3 
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-platform#5.3 
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-shell#5.3 
> hg clone http://hg.nuxeo.org/nuxeo/nuxeo-distribution#5.3 
> then 
> C:\Applications\nuxeo-5.3-GA\nuxeo\nuxeo-distribution>ant distrib 
> -Ddistrib=tomcat 
> ... 
>      [exec] [INFO] Creating target file: 
> C:\Applications\nuxeo-5.3-GA\nuxeo\nuxeo-distribution\nuxeo-distribution-jetty\target\nuxeo-distribution-jetty-5.3.1-SNAPSHOT
>  
>      [exec] [INFO] Zipped target to: 
> C:\Applications\nuxeo-5.3-GA\nuxeo\nuxeo-distribution\nuxeo-distribution-jetty\target\nuxeo-distribution-jetty-5.3.1-SNAPSHOT.zip
>  
>      [exec] [INFO] Done. 
>      [exec] [INFO] [nuxeo:attach {execution: attach-app}] 
>      [exec] [INFO] 
> ------------------------------------------------------------------------ 
>      [exec] [INFO] Building Nuxeo Tomcat Build 
>      [exec] [INFO] task-segment: [clean, install, package] 
>      [exec] [INFO] 
> ------------------------------------------------------------------------ 
>      [exec] [INFO] [clean:clean] 
>      [exec] [INFO] [buildnumber:create {execution: default}] 
>      [exec] [INFO] Storing buildNumber: 20091116-191514 at timestamp: 
> 1258352114951 
>      [exec] [INFO] [nuxeo:eclipse-version {execution: eclipsize-version}] 
>      [exec] [INFO] eclipseVersion:5.3.1.-SNAPSHOT 
>      [exec] [INFO] [site:attach-descriptor] 
>      [exec] [INFO] Preparing source:jar 
>      [exec] [WARNING] Removing: jar from forked lifecycle, to prevent 
> recursive invocation. 
>      [exec] [INFO] [buildnumber:create {execution: default}] 
>      [exec] [INFO] Storing buildNumber: 20091116-191514 at timestamp: 
> 1258352114982 
>      [exec] [INFO] [source:jar {execution: attach-sources}] 
>      [exec] [INFO] NOT adding sources to attached artifacts for packaging: 
> 'pom'. 
>      [exec] [INFO] [install:install] 
>      [exec] [INFO] Installing 
> C:\Applications\nuxeo-5.3-GA\nuxeo\nuxeo-distribution\nuxeo-distribution-tomcat\pom.xml
>  to C:\Documents and 
> Settings\Administrator\.m2\repository\org\nuxeo\ecm\distribution\nuxeo-distribution-tomcat\5.3.1-SNAPS
>  HOT\nuxeo-distribution-tomcat-5.3.1-SNAPSHOT.pom 
>      [exec] [INFO] [buildnumber:create {execution: default}] 
>      [exec] [INFO] Storing buildNumber: 20091116-191515 at timestamp: 
> 1258352115154 
>      [exec] [INFO] [nuxeo:eclipse-version {execution: eclipsize-version}] 
>      [exec] [INFO] eclipseVersion:5.3.1.-SNAPSHOT 
>      [exec] [INFO] [site:attach-descriptor] 
>      [exec] [INFO] Preparing source:jar 
>      [exec] [WARNING] Removing: jar from forked lifecycle, to prevent 
> recursive invocation. 
>      [exec] [INFO] [buildnumber:create {execution: default}] 
>      [exec] [INFO] Storing buildNumber: 20091116-191515 at timestamp: 
> 1258352115170 
>      [exec] [INFO] [source:jar {execution: attach-sources}] 
>      [exec] [INFO] NOT adding sources to attached artifacts for packaging: 
> 'pom'. 
>      [exec] [INFO] 
>      [exec] [INFO] 
>      [exec] [INFO] 
> ------------------------------------------------------------------------ 
>      [exec] [INFO] Reactor Summary: 
>      [exec] [INFO] 
> ------------------------------------------------------------------------ 
>      [exec] [INFO] Nuxeo Embedded Launcher ............................... 
> SUCCESS [2:27.485s] 
>      [exec] [INFO] Nuxeo Base Template ................................... 
> SUCCESS [2:21.812s] 
>      [exec] [INFO] Nuxeo Server Template ................................. 
> SUCCESS [3:53.891s] 
>      [exec] [INFO] Nuxeo Distribution Parent ............................. 
> SUCCESS [0.234s] 
>      [exec] [INFO] Nuxeo Jetty Distribution .............................. 
> SUCCESS [33:43.688s] 
>      [exec] [INFO] Nuxeo Tomcat Build .................................... 
> SUCCESS [0.250s] 
>      [exec] [INFO] 
> ------------------------------------------------------------------------ 
>      [exec] [INFO] 
> ------------------------------------------------------------------------ 
>      [exec] [INFO] BUILD SUCCESSFUL 
>      [exec] [INFO] 
> ------------------------------------------------------------------------ 
>      [exec] [INFO] Total time: 42 minutes 39 seconds 
>      [exec] [INFO] Finished at: Mon Nov 16 19:15:15 NZDT 2009 
>      [exec] [INFO] Final Memory: 113M/202M 
>      [exec] [INFO] 
> ------------------------------------------------------------------------ 
> distrib: 
> BUILD SUCCESSFUL 
> Total time: 42 minutes 54 seconds 
> As you can see the build is successful, but it does not create the required 
> WAR file for tomcat as noted in 
> "\nuxeo-5.3-GA\nuxeo\nuxeo-distribution\README.txt" ...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
> 6. Nuxeo Tomcat WebApp 
>   A Nuxeo Server packaged as an exploded WAR for Tomcat v6. 
>   This build will generate a zip containing a 'tomcat' directory. You need to 
>   copy the content of this directory to your installed Tomcat. Then restart 
>   Tomcat. 
>   Nuxeo WebEngine will be available at htpp://localhost:8080/nuxeo 
>   Built application is in nuxeo-distribution-tomcat/target/ 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
> Cheers 
> Cameron McEwing 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to