manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1389627 - in /manifoldcf/branches/release-1.0-branch: ./ CHANGES.txt framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/CrawlerAgent.java
Date Mon, 24 Sep 2012 22:16:11 GMT
Author: kwright
Date: Mon Sep 24 22:16:11 2012
New Revision: 1389627

URL: http://svn.apache.org/viewvc?rev=1389627&view=rev
Log:
Pull up fix for CONNECTORS-539.

Modified:
    manifoldcf/branches/release-1.0-branch/   (props changed)
    manifoldcf/branches/release-1.0-branch/CHANGES.txt
    manifoldcf/branches/release-1.0-branch/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/CrawlerAgent.java

Propchange: manifoldcf/branches/release-1.0-branch/
------------------------------------------------------------------------------
  Merged /manifoldcf/trunk:r1389626

Modified: manifoldcf/branches/release-1.0-branch/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/branches/release-1.0-branch/CHANGES.txt?rev=1389627&r1=1389626&r2=1389627&view=diff
==============================================================================
--- manifoldcf/branches/release-1.0-branch/CHANGES.txt (original)
+++ manifoldcf/branches/release-1.0-branch/CHANGES.txt Mon Sep 24 22:16:11 2012
@@ -3,6 +3,10 @@ $Id$
 
 ======================= 1.0 =====================
 
+CONNECTORS-539: Multi-process agent run not properly initializing
+crawler/authority environment.
+(Karl Wright)
+
 CONNECTORS-538: Maven build broken on SharePoint Connector
 (Piergiorgio Lucidi)
 

Modified: manifoldcf/branches/release-1.0-branch/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/CrawlerAgent.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/release-1.0-branch/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/CrawlerAgent.java?rev=1389627&r1=1389626&r2=1389627&view=diff
==============================================================================
--- manifoldcf/branches/release-1.0-branch/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/CrawlerAgent.java
(original)
+++ manifoldcf/branches/release-1.0-branch/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/system/CrawlerAgent.java
Mon Sep 24 22:16:11 2012
@@ -62,6 +62,8 @@ public class CrawlerAgent implements IAg
   public void startAgent()
     throws ManifoldCFException
   {
+    org.apache.manifoldcf.authorities.system.ManifoldCF.localInitialize();
+    org.apache.manifoldcf.crawler.system.ManifoldCF.localInitialize();
     ManifoldCF.startSystem(threadContext);
   }
 
@@ -71,6 +73,8 @@ public class CrawlerAgent implements IAg
     throws ManifoldCFException
   {
     ManifoldCF.stopSystem(threadContext);
+    org.apache.manifoldcf.crawler.system.ManifoldCF.localCleanup();
+    org.apache.manifoldcf.authorities.system.ManifoldCF.localCleanup();
   }
 
   /** Request permission from agent to delete an output connection.



Mime
View raw message