[ 
https://jira.nuxeo.com/browse/NXP-7510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=101659#comment-101659
 ] 

Florent Guillaume edited comment on NXP-7510 at 9/9/11 6:32 PM:
----------------------------------------------------------------

NuxeoStarter must be configured as a {{<listener>/<listener-class>}} in 
{{web.xml}}:

{code:xml}
<listener>
  <listener-class>org.nuxeo.runtime.deployment.NuxeoStarter</listener-class>
</listener>
{code}

It uses servlet init parameters defined through 
{{<context-param>/<param-name>/<param-value>}} in {{web.xml}}. Allowable 
parameter names come from {{org.nuxeo.common.Environment}}, mainly 
{{nuxeo.runtime.home}} and {{nuxeo.config.dir}}, but also {{nuxeo.data.dir}}, 
{{nuxeo.log.dir}}, {{nuxeo.tmp.dir}} and {{nuxeo.web.dir}}.

By default the {{nuxeo.runtime.home}} is set to the {{nuxeo/}} directory at the 
root of the application server (this will contain {{data/}} in particular).

The configuration of datasource must be done correctly:
- for VCS it's in {{WEB-INF/default-repository-config.xml}} in the Nuxeo WAR
- for JDBC it's for Tomcat in {{conf/Catalina/localhost/nuxeo.xml}}.

Note that the Tomcat {{nuxeo.xml}} must NOT contain the {{docBase}} element or 
the {{<Loader>}} and {{<Listener>}} tags which are present when running a 
normal Nuxeo Tomcat distribution (or at least the {{docBase}} must be 
corrected).

Missing libraries from a virgin Tomcat:

The following must be added to the WAR in {{WEB-INF/lib/}:
- commons-logging-1.1.jar
- commons-lang-2.3.jar
- log4j-1.2.16.jar
- mail-1.4.jar
- freemarker-2.3.11.jar

The following must be added to the global Tomcat libraries:
- derby-10.5.3.0_1.jar 
- h2-1.1.114-nx.jar
- lucene-analyzers-2.3.2.jar
- lucene-core-2.3.2.jar
- nuxeo-core-storage-sql-extensions-5.4.3-SNAPSHOT.jar 


      was (Author: fguillaume):
    NuxeoStarter must be configured as a {{<listener>/<listener-class>}} in 
{{web.xml}}:

{code:xml}
<listener>
  <listener-class>org.nuxeo.runtime.deployment.NuxeoStarter</listener-class>
</listener>
{code}

It uses servlet init parameters defined through 
{{<context-param>/<param-name>/<param-value>}} in {{web.xml}}. Allowable 
parameter names come from {{org.nuxeo.common.Environment}}, mainly 
{{nuxeo.runtime.home}} and {{nuxeo.config.dir}}, but also {{nuxeo.data.dir}}, 
{{nuxeo.log.dir}}, {{nuxeo.tmp.dir}} and {{nuxeo.web.dir}}.

By default the {{nuxeo.runtime.home}} is set to the {{nuxeo/}} directory at the 
root of the application server (this will contain {{data/}} in particular).

The configuration of datasource must be done correctly:
- for VCS it's in {{WEB-INF/default-repository-config.xml}} in the Nuxeo WAR
- for JDBC it's for Tomcat in {{conf/Catalina/localhost/nuxeo.xml}}.

Note that the Tomcat {{nuxeo.xml}} must NOT contain the {{docBase}} element or 
the {{<Loader>}} and {{<Listener>}} tags which are present when running a 
normal Nuxeo Tomcat distribution (or at least the {{docBase}} must be 
corrected).

  
> Allow Nuxeo to run as a pure WAR
> --------------------------------
>
>                 Key: NXP-7510
>                 URL: https://jira.nuxeo.com/browse/NXP-7510
>             Project: Nuxeo Enterprise Platform
>          Issue Type: New Feature
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.4.3
>
>
> Nuxeo must be able to run as a pure WAR once the preprocessing has been done.
> Put all bundles in WEB-INF/lib/
> Put configuration in WEB/INF/

--
This message is automatically generated by JIRA.
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