Exception AuthenticationCredentialsNotFoundException in thread FeedNotifier1.

cancel
Showing results for 
Search instead for 
Did you mean: 
Andreas_L-Å
Partner

Exception AuthenticationCredentialsNotFoundException in thread FeedNotifier1.

Hi

I have the following exception that I can't find a solution to.

Exception in thread "FeedNotifier1" net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext
	at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:481)
	at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:359)
	at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:166)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
	at com.sun.proxy.$Proxy122.countPeople(Unknown Source)
	at org.alfresco.repo.activities.feed.FeedNotifierImpl$3.getTotalEstimatedWorkSize(FeedNotifierImpl.java:427)
	at org.alfresco.repo.batch.BatchProcessor.reportProgress(BatchProcessor.java:472)
	at org.alfresco.repo.batch.BatchProcessor.access$10(BatchProcessor.java:465)
	at org.alfresco.repo.batch.BatchProcessor$TxnCallback.commitProgress(BatchProcessor.java:862)
	at org.alfresco.repo.batch.BatchProcessor$TxnCallback.run(BatchProcessor.java:811)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

This error is repeated six times for FedNotifierN. I found another post on this forum discussing this but the answer linked to a dead link and the person asking for help said it did not help anyway.

 

//Andreas

1 Reply
Andreas_L-Å
Partner

Re: Exception AuthenticationCredentialsNotFoundException in thread FeedNotifier1.

This seems to be a problem with the windows mail server and was solved by adding


activities.feedNotifier.numThreads=1

 

to the global properties.