manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1070) Agents thread exception loop
Date Thu, 09 Oct 2014 14:00:56 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165150#comment-14165150
] 

Karl Wright commented on CONNECTORS-1070:
-----------------------------------------

Hi Kamil,

When you removed combined service from tomcat, did you use the manager UI?  If you didn't
you also need to manually remove the expanded directory made from the war in the tomcat work
area.  Otherwise, the web application is still active.

You can prove this, by the way, by doing this:

- shut down all mcf processes
- lock clean, if you are still using file locking
- start ONLY the first agents process
- look at the log

If there are no errors, you can start the second agents process (if you are using it), and
once again look at the log.  If that is OK, then use the start-webapps script to run the right
wars under Jetty.  Once again check for errors.  If no errors, then it is your tomcat setup
that is still causing problems.

I think at this point you should maybe start with a fresh instance of tomcat.  Use the manager
application to deploy the war files.  Do not deploy the combined war.

Thanks.


> Agents thread exception loop
> ----------------------------
>
>                 Key: CONNECTORS-1070
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1070
>             Project: ManifoldCF
>          Issue Type: Bug
>    Affects Versions: ManifoldCF 1.7
>            Reporter: Kamil ┼╗yta
>            Assignee: Karl Wright
>
> occasionally when I stop&start crawler agents they fall into infinite loop.
> I don't know how to stop this exception. stop agents, ui, clean lock do not help.
> Log growing fast with messages
> ------------------------------------------------------------------------------------------
> ERROR 2014-10-09 13:58:44,206 (Agents thread) - Exception tossed: Service 'A' of type
'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent' is already active
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Service 'A' of type 'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent'
is already active
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:162)
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:126)
>         at org.apache.manifoldcf.core.lockmanager.LockManager.registerServiceBeginServiceActivity(LockManager.java:69)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon.checkAgents(AgentsDaemon.java:271)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon$AgentsThread.run(AgentsDaemon.java:209)
> ERROR 2014-10-09 13:58:44,210 (Agents thread) - Exception tossed: Service 'A' of type
'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent' is already active
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Service 'A' of type 'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent'
is already active
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:162)
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:126)
>         at org.apache.manifoldcf.core.lockmanager.LockManager.registerServiceBeginServiceActivity(LockManager.java:69)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon.checkAgents(AgentsDaemon.java:271)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon$AgentsThread.run(AgentsDaemon.java:209)
> ERROR 2014-10-09 13:58:44,214 (Agents thread) - Exception tossed: Service 'A' of type
'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent' is already active
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Service 'A' of type 'AGENT_org.apache.manifoldcf.crawler.system.CrawlerAgent'
is already active
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:162)
>         at org.apache.manifoldcf.core.lockmanager.BaseLockManager.registerServiceBeginServiceActivity(BaseLockManager.java:126)
>         at org.apache.manifoldcf.core.lockmanager.LockManager.registerServiceBeginServiceActivity(LockManager.java:69)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon.checkAgents(AgentsDaemon.java:271)
>         at org.apache.manifoldcf.agents.system.AgentsDaemon$AgentsThread.run(AgentsDaemon.java:209)
> ------------------------------------------------------------------------------------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message