Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1562

[PATCH] Deploying in Tomcat, missing spring-server.xml

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Trunk, 3.0.0-beta5
    • Trunk, 3.0.0-beta5
    • Build System

    Description

      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.

      Attachments

        1. spring_server_xml.patch
          1.0 kB
          Bernd Waibel

        Issue Links

          Activity

            People

              eric@apache.org Eric Charles
              bwaibel Bernd Waibel
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 10m
                  10m
                  Remaining:
                  Remaining Estimate - 10m
                  10m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified