You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Bernd Waibel (JIRA)" <se...@james.apache.org> on 2014/10/29 15:02:34 UTC

[jira] [Updated] (JAMES-1562) [PATCH] Deploying in Tomcat, missing spring-server.xml

     [ https://issues.apache.org/jira/browse/JAMES-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Waibel updated JAMES-1562:
--------------------------------
    Attachment: spring_server_xml.patch

> [PATCH] Deploying in Tomcat, missing spring-server.xml
> ------------------------------------------------------
>
>                 Key: JAMES-1562
>                 URL: https://issues.apache.org/jira/browse/JAMES-1562
>             Project: James Server
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: Trunk, 3.0.0-beta5
>         Environment: Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
> Maven home: C:\eclipse_luna\apache_james_3\james-server\EMBEDDED
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_45\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 8", version: "6.2", arch: "amd64", family: "windows"
>            Reporter: Bernd Waibel
>            Priority: Blocker
>              Labels: maven, patch
>             Fix For: Trunk, 3.0.0-beta5
>
>         Attachments: spring_server_xml.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> When deploying the WAR file inside tomcat7 (windows), i get an error that the "spring-server.xml" file could not be read, cause it is missing.
> I suppose that it just is not deployed by the build process.
> I suppose we need to copy all xml files from:
> /james-server/container/spring/target/classes/META-INF/
> to:
> /james-server/app/target/james-server-app-3.0.0-beta5-SNAPSHOT/WEB-INF/conf/META-INF/
> Is that right? 
> If i change the pom.xml to do that, the war will get deployed, and tomcat starts the james app.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org