For anyone concerned the solution was to replace.

javax.activation-api-1.2.0.jar
with
javax.activation-1.2.0.jar 

For details see: 
https://community.cloudera.com/t5/Support-Questions/Nifi-PutEmail-throwing-out-exception/td-p/312397

 

On Thu, 2021-09-30 at 17:17 +0200, Stefan Kok wrote:
> Hi Everyone
> 
> The above two processors fail with the below errors:
> 
> /*** ExtractEmailAttachments ***/
> 
> ExtractEmailAttachments[id=3738d7b2-017c-1000-c120-29f7760d3084] Failed
> to process session due to com/sun/activation/registries/LogSupport;
> Processor Administratively Yielded for 1 sec:
> java.lang.NoClassDefFoundError:
> com/sun/activation/registries/LogSupport
> 
> /*** ExtractEmailHeaders ***/
> 
> ExtractEmailHeaders[id=36a7997a-017c-1000-0405-0197e1cb8792] Failed to
> process session due to com/sun/activation/registries/LogSupport;
> Processor Administratively Yielded for 1 sec:
> java.lang.NoClassDefFoundError:
> com/sun/activation/registries/LogSupport
> 
> Nifi: 
> 
> 1.14.0
> 07/10/2021 12:25:36 SAST
> Tagged nifi-1.14.0-RC2
> From fcbf1d5 on branch UNKNOWN
> 
> Java:
> 
> java --version
> openjdk 11.0.12 2021-07-20
> OpenJDK Runtime Environment 18.9 (build 11.0.12+7)
> OpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7, mixed mode, sharing)
> 
> OS:
> 
> uname -a
> Linux blue.centilliard.io 5.13.16-200.fc34.x86_64 #1 SMP Mon Sep 13
> 12:39:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> 
> Thank you in advance.
> Stefan
> 


Reply via email to