Decision Management & Intelligence (ODM, DI)

Decision Management & Intelligence (ODM, DI)

Connect with experts and peers to elevate technical expertise, solve problems and share insights


#Data
#Data
#Businessautomation
 View Only
Expand all | Collapse all

How to change the default file location for ruleApp uploading when deploy ruleApps from DC or RD?

  • 1.  How to change the default file location for ruleApp uploading when deploy ruleApps from DC or RD?

    Posted Mon August 03, 2020 07:18 AM

    We failed to deploy ruleApps due to the error below:

    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. /tmp/upload_8e3bb4e8_60d8_4bf3_9d38_bdc3dfce0fb1_00000005.tmp (Permission denied)

    According to their policy we can not use /tmp path anymore, how can we change the path to another place?



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration


  • 2.  RE: How to change the default file location for ruleApp uploading when deploy ruleApps from DC or RD?

    Posted Mon August 03, 2020 07:21 AM

    If you deploy from DC, you should define this in the teamserver.war/WEB-INF/web.xml

    uncomment below lines under FILTER section and define your path :


           <!--

               <init-param>

               <param-name>uploadRepositoryPath</param-name>

               <param-value>/temp</param-value>

               <description>Set the path where the temporary files will be stored.</description>

               </init-param>

           -->


    And if you deploy from RD, you Note that the same config parameter exists for RES in the jrules-res-management.war\WEB-INF/web.xml:

    <init-param>

    <param-name>uploadRepositoryPath</param-name>

    <param-value>YOUR_PATH</param-value>

    <description>Set the path where the temporary files will be stored.</description>

    </init-param>



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration