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

[jira] [Updated] (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:all-tabpanel ]

Shinichiro Abe updated CONNECTORS-217:
--------------------------------------

    Attachment: CONNECTORS-217-exp.patch

This is experimental. 
If this patch is applied, 
one must call "o.a.m.agents.AgentStop" command at the shutdown time. 
in other words, if one kills agent process by Control + C, 
it doesn't stop agents properly because lock objects are left.
so if so, one must call "o.a.m.core.LockClean" command.

> 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