Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to change the directory where Tomcat temporally saves a copy of the file for deposit (relevant for manual deposit only)

    • Product: Rosetta
    • Product Version: 5.0.1
    • Relevant for Installation Type: select the relevant: Dedicated-Direct, Direct, Local, Total Care

    When we upload a folder for manual deposit a temporary copy of the uploaded file is created by Tomcat (only when using the manual file upload. ie, doesn't happen when using Applet).
    To change the directory where the temporary file is saved:

    Edit the /exlibris/dps/d4_1/system.dir/thirdparty/tomcat/conf/server.xml file on each deposit UI server:

    Change <Host name="localhost" appBase="webapps" unpackWARs="true"autoDeploy="false" deployOnStartup="true"> to

    <Host name="localhost" appBase="webapps" unpackWARs="true"autoDeploy="false" deployOnStartup="true" workDir="PATH">

    Where "PATH" is the new directory.

    For example:

    On server 1:
    <Host name="localhost" appBase="webapps" unpackWARs="true"autoDeploy="false" deployOnStartup="true" workDir="/operational_shared/tomcat_temp_files/rosetta1/">

    On server 2:
    <Host name="localhost" appBase="webapps" unpackWARs="true"autoDeploy="false" deployOnStartup="true" workDir="/operational_shared/tomcat_temp_files/rosetta2/">

    As you can see in the example, different servers can have different files.

    In order for the changes to take effect please restart Rosetta.


    • Article last edited: 08-june-2016
    • Was this article helpful?