Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-190

sos.scheduler.jade.Jade4DMZJob does not work with command copyfrominternet

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.9.2
    • 1.9.3, 1.10
    • None

    Description

      Description
      When copying a file frominternet to local, the file remains on the dmz. In the log is stated

      2015-07-02 17:09:43.581+0200 [info]    INFO [main] (SOSVfsSFtpJCraft.java:560) - (sos@galadriel:22) SOSVfs_I_189: ...Antwort des Servers [rename] von ['/tmp/jade-dmz-ba08ea10-3483-4594-a418-b5ae76d5fdde/1.tif'] nach ['/tmp/jade-dmz-ba08ea10-3483-4594-a418-b5ae76d5fdde/1.tif'] : mv OK 
      

      Desired behaviour
      The job should copy the file from internet to local
      Example job

      <?xml version="1.0" encoding="ISO-8859-1"?>
      
      
      <job  order="no">
          <settings />
      
          <description >
              <include  file="jobs/jade4DMZJob.xml"/>
          </description>
      
          <params >
              <param  name="file_spec" value="^.*\.tif$"/>
              <param  name="operation" value="copyfrominternet"/>
              <param  name="source_host" value="source_host_name"/>
              <param  name="source_port" value="22"/>
              <param  name="source_protocol" value="sftp"/>
              <param  name="source_user" value="source_user"/>
              <param  name="source_ssh_auth_method" value="password"/>
              <param  name="source_password" value="12345"/>
              <param  name="source_dir" value="/home/test/input"/>
              <param  name="target_host" value="localhost"/>
              <param  name="target_dir" value="c:/temp"/>
              <param  name="target_protocol" value="local"/>
              <param  name="jump_host" value="jumphost"/>
              <param  name="jump_user" value="jumphost_user"/>
              <param  name="jump_ssh_auth_method" value="password"/>
              <param  name="jump_password" value="sos"/>
              <param  name="jump_protocol" value="sftp"/>
              <param  name="jump_port" value="22"/>
              <param  name="jump_command" value=" /home/sos/sos-berlin.com/jade_client/jade_current/bin/jade.sh"/>
              <param  name="jump_command_delimiter" value="%%"/>
          </params>
      
          <script  language="java" java_class="sos.scheduler.jade.Jade4DMZJob"/>
      
          <run_time />
      </job>
      
      {code:xml}
      
      

      Attachments

        Activity

          People

            re Robert Ehrlich
            ur Uwe Risse
            Victor Garcia-Beltran Victor Garcia-Beltran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: