WorkerThread runtime exceptions

2022-02-24 Thread Julien Massiera
Hi,

 

I have faced a situation where the MCF agent was still up but was not doing
anything after a runtime exception. 

 

My use case was the following :
I have updated the libs used by a repository connector but forgot one.
During doc processing, a runtime exception < java.lang.NoSuchMethodError >
has been throwed because the sub dependency lib was not up to date and thus
the method called was missing. The exception was catched by the WorkerThread
and displayed < Error tossed: .. > but then nothing and the job stayed in
running status and I was not able to abort it until I killed and I restarted
the agent.

 

The catching clause is located in the WorkerThread class at lines 853-857. I
know this is a particular case but I am not sure that the fact the agent
hangs after this exception is a normal behavior and furthermore I can
imagine that it can happen with other unkown runtime exceptions. Is there
something we can do to avoid the agent to be hanging in those cases ? 

 

Regards,

Julien 

 



Re: WorkerThread runtime exceptions

2022-02-24 Thread Karl Wright
I'm currently completely consumed with upgrading dependencies for Tika and
CXF.  This is a massive job and won't be done for probably another week or
two.  Once that is done I can try to look into your concern.

Karl


On Thu, Feb 24, 2022 at 8:47 AM Julien Massiera <
julien.massi...@francelabs.com> wrote:

> Hi,
>
>
>
> I have faced a situation where the MCF agent was still up but was not doing
> anything after a runtime exception.
>
>
>
> My use case was the following :
> I have updated the libs used by a repository connector but forgot one.
> During doc processing, a runtime exception < java.lang.NoSuchMethodError >
> has been throwed because the sub dependency lib was not up to date and thus
> the method called was missing. The exception was catched by the
> WorkerThread
> and displayed < Error tossed: .. > but then nothing and the job stayed in
> running status and I was not able to abort it until I killed and I
> restarted
> the agent.
>
>
>
> The catching clause is located in the WorkerThread class at lines 853-857.
> I
> know this is a particular case but I am not sure that the fact the agent
> hangs after this exception is a normal behavior and furthermore I can
> imagine that it can happen with other unkown runtime exceptions. Is there
> something we can do to avoid the agent to be hanging in those cases ?
>
>
>
> Regards,
>
> Julien
>
>
>
>


RE: WorkerThread runtime exceptions

2022-02-24 Thread Julien Massiera
Yes I understand

-Message d'origine-
De : Karl Wright  
Envoyé : jeudi 24 février 2022 14:59
À : dev 
Objet : Re: WorkerThread runtime exceptions

I'm currently completely consumed with upgrading dependencies for Tika and CXF. 
 This is a massive job and won't be done for probably another week or two.  
Once that is done I can try to look into your concern.

Karl


On Thu, Feb 24, 2022 at 8:47 AM Julien Massiera < 
julien.massi...@francelabs.com> wrote:

> Hi,
>
>
>
> I have faced a situation where the MCF agent was still up but was not 
> doing anything after a runtime exception.
>
>
>
> My use case was the following :
> I have updated the libs used by a repository connector but forgot one.
> During doc processing, a runtime exception < 
> java.lang.NoSuchMethodError > has been throwed because the sub 
> dependency lib was not up to date and thus the method called was 
> missing. The exception was catched by the WorkerThread and displayed < 
> Error tossed: .. > but then nothing and the job stayed in running 
> status and I was not able to abort it until I killed and I restarted 
> the agent.
>
>
>
> The catching clause is located in the WorkerThread class at lines 853-857.
> I
> know this is a particular case but I am not sure that the fact the 
> agent hangs after this exception is a normal behavior and furthermore 
> I can imagine that it can happen with other unkown runtime exceptions. 
> Is there something we can do to avoid the agent to be hanging in those cases ?
>
>
>
> Regards,
>
> Julien
>
>
>
>



Build failed in Jenkins: ManifoldCF » ManifoldCF-ant-1x #39

2022-02-24 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 353.10 KB...]
AU
site/src/documentation/resources/images/zh_CN/livelink-authority-server.PNG
AU
site/src/documentation/resources/images/zh_CN/livelink-authority-status.PNG
AU
site/src/documentation/resources/images/zh_CN/livelink-authority-user-mapping.PNG
AU
site/src/documentation/resources/images/zh_CN/livelink-connection-document-access.PNG
AU
site/src/documentation/resources/images/zh_CN/livelink-connection-document-view.PNG
AU
site/src/documentation/resources/images/zh_CN/livelink-connection-server.PNG
AU
site/src/documentation/resources/images/zh_CN/livelink-connection-status.PNG
AUsite/src/documentation/resources/images/zh_CN/livelink-job-filters.PNG
AU
site/src/documentation/resources/images/zh_CN/livelink-job-metadata.PNG
AUsite/src/documentation/resources/images/zh_CN/livelink-job-paths.PNG
AU
site/src/documentation/resources/images/zh_CN/livelink-job-security.PNG
AUsite/src/documentation/resources/images/zh_CN/login.PNG
AU
site/src/documentation/resources/images/zh_CN/mapping-prerequisites.PNG
AUsite/src/documentation/resources/images/zh_CN/mapping-throttling.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-authority-memex-server.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-authority-status.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-authority-user-mapping.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-connection-memex-server.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-connection-status.PNG
AU
site/src/documentation/resources/images/zh_CN/memex-connection-web-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-credentials.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-document-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-records-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-status.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-authority-user-service-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-credentials.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-document-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-records-server.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-status.PNG
AU
site/src/documentation/resources/images/zh_CN/meridio-connection-web-client.PNG
AU
site/src/documentation/resources/images/zh_CN/metadataadjuster-job-add-metadata.PNG
AU
site/src/documentation/resources/images/zh_CN/metadataadjuster-job-move-metadata.PNG
AU
site/src/documentation/resources/images/zh_CN/opensearchserver-connection-parameters.PNG
AU
site/src/documentation/resources/images/zh_CN/opensearchserver-history-report.PNG
AU
site/src/documentation/resources/images/zh_CN/opensearchserver-job-parameters.PNG
AU
site/src/documentation/resources/images/zh_CN/opensearchserver-user.PNG
AUsite/src/documentation/resources/images/zh_CN/output-throttling.PNG
AUsite/src/documentation/resources/images/zh_CN/queue-status-example.PNG
AU
site/src/documentation/resources/images/zh_CN/queue-status-select-connection.PNG
AU
site/src/documentation/resources/images/zh_CN/queue-status-select-job.PNG
AU
site/src/documentation/resources/images/zh_CN/regexp-mapping-status.PNG
AU
site/src/documentation/resources/images/zh_CN/regexp-mapping-user-mapping.PNG
AU
site/src/documentation/resources/images/zh_CN/repository-throttling-with-throttle.PNG
AU
site/src/documentation/resources/images/zh_CN/repository-throttling.PNG
AU
site/src/documentation/resources/images/zh_CN/rss-configure-bandwidth.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-configure-email.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-configure-proxy.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-configure-robots.PNG
AU
site/src/documentation/resources/images/zh_CN/rss-job-canonicalization.PNG
AU
site/src/documentation/resources/images/zh_CN/rss-job-dechromed-content.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-exclusions.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-mappings.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-metadata.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-security.PNG
AUsite/src/documentation/resources/images/zh_CN/rss-job-time-values.PNG
AU

Build failed in Jenkins: ManifoldCF » ManifoldCF-Artifacts-Ant-JDK11 #42

2022-02-24 Thread Apache Jenkins Server
See 


Changes:

[Karl Wright] Update to tika 1.28.1, which requires updates across the stack.  
Followup changes should be expected.


--
[...truncated 1.73 MB...]
[javac]   symbol:   class Authentication
[javac]   location: class CswsSession
[javac] 
:98:
 error: cannot find symbol
[javac]   private final DocumentManagement documentManagementHandle;
[javac] ^
[javac]   symbol:   class DocumentManagement
[javac]   location: class CswsSession
[javac] 
:99:
 error: cannot find symbol
[javac]   private final ContentService contentServiceHandle;
[javac] ^
[javac]   symbol:   class ContentService
[javac]   location: class CswsSession
[javac] 
:100:
 error: cannot find symbol
[javac]   private final MemberService memberServiceHandle;
[javac] ^
[javac]   symbol:   class MemberService
[javac]   location: class CswsSession
[javac] 
:101:
 error: cannot find symbol
[javac]   private final SearchService searchServiceHandle;
[javac] ^
[javac]   symbol:   class SearchService
[javac]   location: class CswsSession
[javac] 
:109:
 error: cannot find symbol
[javac]   private Map workspaceTypeNodes = new HashMap<>();
[javac]   ^
[javac]   symbol:   class Node
[javac]   location: class CswsSession
[javac] 
:198:
 error: cannot find symbol
[javac]   public DocumentManagement getDocumentManagementHandle() {
[javac]  ^
[javac]   symbol:   class DocumentManagement
[javac]   location: class CswsSession
[javac] 
:206:
 error: cannot find symbol
[javac]   public ContentService getContentServiceHandle() {
[javac]  ^
[javac]   symbol:   class ContentService
[javac]   location: class CswsSession
[javac] 
:214:
 error: cannot find symbol
[javac]   public MemberService getMemberServiceHandle() {
[javac]  ^
[javac]   symbol:   class MemberService
[javac]   location: class CswsSession
[javac] 
:222:
 error: cannot find symbol
[javac]   public SearchService getSearchServiceHandle() {
[javac]  ^
[javac]   symbol:   class SearchService
[javac]   location: class CswsSession
[javac] 
:250:
 error: cannot find symbol
[javac]   public Node getRootNode(final String nodeType)
[javac]  ^
[javac]   symbol:   class Node
[javac]   location: class CswsSession
[javac] 
:266:
 error: cannot find symbol
[javac]   public List listNodes(final long nodeId)
[javac] ^
[javac]   symbol:   class Node
[javac]   location: class CswsSession
[javac] 
:282:
 error: cannot find symbol
[javac]   public List getChildren(final long nodeId)
[javac] ^