Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1981

Agent start script for Unix removes work folder

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.3
    • JS7 Agent
    • None

    Description

      Current Situation

      • The Agent start script for Unix is available with JS7_AGENT_HOME/bin/agent.sh
      • A bug has been introduced that removes the Agent's JS7_AGENT_DATA/config/work folder if the start script is called with any arguments except for start and stop. For example the following call removes the work folder: agent.sh status
      • As a result a subsequent call agent.sh stop will fail as it expects a session token from the work folder that no longer exists.
      • Consider that agent.sh frequently is not called directly but from a customized script such as agent_4445.sh, agent_instance.sh etc.

      Desired Behavior

      • The Agent start script should work as expected.

      Workaround

      • Using agent.sh start and agent.sh stop is fine. Avoid to use agent.sh status
      • Download and apply the updated version of the Agent start script.

      Attachments

        Activity

          People

            ap Andreas Püschel
            ap Andreas Püschel
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: