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 14:41:34 UTC

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

Bernd Waibel created JAMES-1562:
-----------------------------------

             Summary: [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
             Fix For: Trunk, 3.0.0-beta5


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