[
https://issues.apache.org/jira/browse/JAMES-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188355#comment-14188355
]
Mario commented on JAMES-1562:
-------------------------------
Hi i head the same problem on the trunk fixd by adding this to the pom File =>
maven-war-plugin
<resource>
<directory>../container/spring/src/main/resources</directory>
<!-- override the destination directory for
this resource -->
<targetPath>WEB-INF/conf/</targetPath>
</resource>
> [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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]