Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-534

YADE JITL job throws an error when settings file is a symlink or shortcut

    XMLWordPrintable

Details

    Description

      Current Situation

      • User creates a symlink or shortcut for the yade_settings.xml file e.g. c:\config\yade_settings_dev.xml --> C:\ProgramData\sos-berlin.com\jobscheduler\jobscheduler12_4412\config\live\Ticket#2018101610000042\jade_settings2.xml
      • YADE JITL is configured to read settings from the symclink
        <?xml version="1.0" encoding="ISO-8859-1"?>
        <job  title="API Job for Yet Another Data Exchange" order="no" name="yade_transer">
            <description >
                <include  file="jobs/jadeJob.xml"/>
            </description>
            <params >
                <param  name="operation" value="copy"/>
                <param  name="settings" value="C:\ProgramData\sos-berlin.com\jobscheduler\jobscheduler12_4412\config\live\Ticket#2018101610000042\jade_settings2.xml"/>
                <param  name="profile" value="CopyLocalhost2RemoteServer"/>
            </params>
            <script  language="java" java_class="sos.scheduler.jade.JadeJob"/>
            <run_time />
        </job>
        
      • When Job is executed the YADE JITL job throws an error settings file not found
        2018-10-19 11:01:26.519+0200 [info]   [stdout] 19 11:01:26.460 [ERROR] (SOSDExJSAdapterClass.java:83) - SOSDExJSAdapterClass ended with error: com.sos.JSHelper.Exceptions.JobSchedulerException: [C:\ProgramData\sos-berlin.com\jobscheduler\jobscheduler12_4412\config\live\Ticket#2018101610000042\jade_settings2.xml]settings file not found 
        

      Desired Behavior

      • YADE JITL job should read configuration from symlink

      Attachments

        Activity

          People

            re Robert Ehrlich
            mp Mahendra Patidar
            Mahendra Patidar Mahendra Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: