You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2011/07/06 13:59:16 UTC

[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-tabpanel&focusedCommentId=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