[ https://issues.apache.org/jira/browse/JAMES-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer updated JAMES-1322: --------------------------------- Fix Version/s: 3.0-beta4 > The WAR file built from source does not build a functioning web app > ------------------------------------------------------------------- > > Key: JAMES-1322 > URL: https://issues.apache.org/jira/browse/JAMES-1322 > Project: JAMES Server > Issue Type: Bug > Components: Spring Container > Affects Versions: 3.0-beta4 > Reporter: Charlie Hubbard > Labels: war, webapp > Fix For: 3.0-beta4 > > > Building the app or Spring Container project with maven produces a WAR file > that does not work because it is missing james-server-context.xml. Inside > the web.xml file it declares /WEB-INF/conf/context/james-server-context.xml > as being the spring file to load. However, unpacking the WAR file this file > does not exist anywhere in the WAR. Furthermore, it does not exist anywhere > in the project either. This file should probably exist under > app/src/main/config/james/context folder if it was to be packaged in the WAR > file, or copied from another file in the project. > Steps to reproduce: > 1. Checkout source code from SVN to $JAMES_SRC directory > 2. From a terminal run the following > 3. cd $JAMES_SRC/app/trunk > 4. mvn clean install > 5. cp target/apache-james-3.0-beta4-SNAPSHOT.war $TOMCAT_HOME/webapps > 6. restart tomcat > 7. Exception found in log file FileNotFoundException: > /WEB-INF/conf/context/james-server-context.xml -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org