[jira] [Commented] (CONNECTORS-217) Check running more than one of instance of agent
[ https://issues.apache.org/jira/browse/CONNECTORS-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13061806#comment-13061806 ] Shinichiro Abe commented on CONNECTORS-217: --- r1144179 Thank you, Indents of the code have been modified. Check running more than one of instance of agent Key: CONNECTORS-217 URL: https://issues.apache.org/jira/browse/CONNECTORS-217 Project: ManifoldCF Issue Type: Improvement Components: API Reporter: Shinichiro Abe Priority: Minor Attachments: CONNECTORS-217-1.patch, CONNECTORS-217-exp.patch Now, if one runs the o.a.manifold.agents.AgentRun command twice on multi process, Java procceses run twice. Even though the case of setting sync dir, the problem occurs. In jetty the problem doesn't occur because of single process. If one runs executecommand.sh org.apache.manifold.agents.AgentRun twice, the command should warn that it is already running. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CONNECTORS-217) Check running more than one of instance of agent
[ https://issues.apache.org/jira/browse/CONNECTORS-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13060517#comment-13060517 ] Karl Wright commented on CONNECTORS-217: Requiring AgentStop for a clean stop is actually required for multi-process deployments at this time. The how-to-build-and-deploy page is quite clear about that. So I think you are perfectly OK to insist upon it - indeed, I think it's an improvement because otherwise somebody might restart the agents process with broken locks, and your patch prevents that. Check running more than one of instance of agent Key: CONNECTORS-217 URL: https://issues.apache.org/jira/browse/CONNECTORS-217 Project: ManifoldCF Issue Type: Improvement Components: API Reporter: Shinichiro Abe Priority: Minor Attachments: CONNECTORS-217-exp.patch Now, if one runs the o.a.manifold.agents.AgentRun command twice on multi process, Java procceses run twice. Even though the case of setting sync dir, the problem occurs. In jetty the problem doesn't occur because of single process. If one runs executecommand.sh org.apache.manifold.agents.AgentRun twice, the command should warn that it is already running. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira