Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
2.2.0
-
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.