0 Replies Latest reply on Mar 20, 2007 7:00 PM by Neo Rye

    Shared Document Root & Multiple Mail Spooling Issue

    Neo Rye Level 1
      I've shared my document root ( as per these instructions) accross 7 JRun instances, but now any email sent from 1 of them gets sent 7 times.

      Seems what's happening is that the mail spool is getting shared accross all instances, but all instances are also trying to send the same file.

      I can change the mail spool directory mapping, but that seems odd. Did I miss something? How do others deal with this?

      To do this, we have to edit XML files to make all this happen. For each server instance, edit the jrun-web.xml file in {jrun.home}/servers/<instance>/cfusion/WEB-INF/ (assuming your context root is /cfusion).
      <virtual-mapping>
      <resource-path>/</resource-path>
      <system-path/>
      </virtual-mapping>
      <context-root>/cfusion</context-root>
      <compile>false</compile>
      <reload>false</reload>
      <uri-character-encoding>UTF-8</uri-character-encoding>
      <virtual-mapping>
      <resource-path>/*</resource-path>
      <system-path>{cfmx}/wwwroot</system-path>
      </virtual-mapping>
      <virtual-mapping>
      <resource-path>/WEB-INF/*</resource-path>
      <system-path>{jrun.home}/servers/<instance>/cfusion/WEB-INF</system-path>
      </virtual-mapping>
      </jrun-web-app>