Menu

Replicaiton Agent has invalid agent userId | Adobe AEM

Problem

Replicaiton Agent [publish] has invalid agent userId [your_replication_user]

Cannot serve request to /etc/replication/agents.author/publish.test.html in BundledScriptServlet (/libs/cq/replication/components/agent/test.jsp)

Exception:

com.day.cq.replication.ReplicationException: Replicaiton Agent [publish] has invalid agent userId [your_replication_user]
	at com.day.cq.replication.impl.ReplicatorImpl.buildContents(ReplicatorImpl.java:962)
	at com.day.cq.replication.impl.ReplicatorImpl.buildSingleContents(ReplicatorImpl.java:569)
	at com.day.cq.replication.impl.ReplicatorImpl.replicateInternal(ReplicatorImpl.java:489)
	at com.day.cq.replication.impl.ReplicatorImpl.replicate(ReplicatorImpl.java:417)
	at com.day.cq.replication.impl.ReplicatorImpl.replicate(ReplicatorImpl.java:398)
	at com.day.cq.replication.impl.ReplicatorImpl.replicate(ReplicatorImpl.java:380)
	at libs.cq.replication.components.agent.test__002e__jsp._jspService(test__002e__jsp.java:221)
	at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:521)
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:464)
	at org.apache.sling.scripting.jsp.PrecompiledJSPRunner.callPrecompiledJSP(PrecompiledJSPRunner.java:87)
	at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.callJsp(JspScriptEngineFactory.java:496)
	at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:582)
	at org.apache.sling.scripting.core.impl.bundled.PrecompiledScript.eval(PrecompiledScript.java:56)
	at org.apache.sling.scripting.core.impl.bundled.ScriptContextProvider$ExecutableContext.eval(ScriptContextProvider.java:170)
	at org.apache.sling.scripting.core.impl.bundled.AbstractBundledRenderUnit.eval(AbstractBundledRenderUnit.java:135)
	at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptServlet.service(BundledScriptServlet.java:82)
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:587)
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88)
	at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:119)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter.doFilter(ErrorLoggingComponentFilter.java:71)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter.doFilter(PageComponentRequestFilter.java:105)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:278)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:225)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:284)
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:331)
	at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:218)
	at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:104)
	at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:516)
	at libs.cq.Page.Page__002e__jsp._jspService(Page__002e__jsp.java:116)
	at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:521)
	at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:464)
	at org.apache.sling.scripting.jsp.PrecompiledJSPRunner.callPrecompiledJSP(PrecompiledJSPRunner.java:87)
	at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.callJsp(JspScriptEngineFactory.java:496)
	at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:582)
	at org.apache.sling.scripting.core.impl.bundled.PrecompiledScript.eval(PrecompiledScript.java:56)
	at org.apache.sling.scripting.core.impl.bundled.ScriptContextProvider$ExecutableContext.eval(ScriptContextProvider.java:170)
	at org.apache.sling.scripting.core.impl.bundled.AbstractBundledRenderUnit.eval(AbstractBundledRenderUnit.java:135)
	at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptServlet.service(BundledScriptServlet.java:82)
	at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:587)
	at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:88)
	at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:138)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter.doFilter(ErrorLoggingComponentFilter.java:71)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter.doFilter(PageComponentRequestFilter.java:105)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375)
	at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.page.PageLockFilter.doFilter(PageLockFilter.java:91)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:94)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:284)
	at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84)
	at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler.doFilter(AdhocAssetShareAuthHandler.java:516)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:109)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84)
	at com.day.cq.dam.core.impl.servlet.ActivityRecordHandler.doFilter(ActivityRecordHandler.java:141)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.rest.impl.servlet.ApiResourceFilter.doFilter(ApiResourceFilter.java:70)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.requests.logging.impl.RequestLoggerImpl.doFilter(RequestLoggerImpl.java:135)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84)
	at com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter.doFilter(AssetContentDispositionFilter.java:96)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84)
	at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.java:395)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:248)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:109)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84)
	at com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter.executeFilter(DisableLegacyServletFilter.java:197)
	at com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter.doFilter(DisableLegacyServletFilter.java:154)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:84)
	at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226)
	at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:138)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:76)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:226)
	at com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet.doFilter(CoreFormHandlingServlet.java:123)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.cq.history.impl.HistoryRequestFilter.doFilter(HistoryRequestFilter.java:111)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:87)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:81)
	at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:60)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:225)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.security.impl.ContentDispositionFilter.doFilter(ContentDispositionFilter.java:162)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl.doFilter(ResourceResolverHelperImpl.java:79)
	at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78)
	at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:149)
	at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:251)
	at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:126)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:86)
	at com.adobe.granite.metrics.knownerrors.impl.ReportingRequestFilter.doFilter(ReportingRequestFilter.java:100)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at com.adobe.granite.cors.impl.CORSFilter.doFilter(CORSFilter.java:87)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at com.adobe.granite.license.impl.http.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:301)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:73)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.sling.engine.impl.parameters.RequestParameterSupportConfigurer.doFilter(RequestParameterSupportConfigurer.java:67)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:149)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.felix.http.base.internal.dispatch.Dispatcher$1.doFilter(Dispatcher.java:152)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1000)
	at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:323)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1006)
	at com.adobe.granite.cors.impl.CORSFilter.doFilter(CORSFilter.java:87)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1006)
	at com.adobe.granite.auth.oauth.impl.OAuthCallbackFilter.doFilter(OAuthCallbackFilter.java:78)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1006)
	at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:97)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1006)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.invokePreprocessors(WhiteboardManager.java:1010)
	at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:94)
	at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
	at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:179)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: javax.jcr.LoginException: Login Failure: all modules ignored
	at org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:302)
	at org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:237)
	at org.apache.jackrabbit.oak.jcr.session.SessionImpl.impersonate(SessionImpl.java:310)
	at com.adobe.granite.repository.impl.CRX3SessionImpl.impersonate(CRX3SessionImpl.java:161)
	at com.adobe.granite.repository.impl.SlingRepositoryImpl.impersonateFromService(SlingRepositoryImpl.java:200)
	at com.day.cq.replication.impl.ReplicatorImpl.buildContents(ReplicatorImpl.java:956)
	... 199 more
Caused by: javax.security.auth.login.LoginException: Login Failure: all modules ignored
	at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:871)
	at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665)
	at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:663)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:663)
	at java.base/javax.security.auth.login.LoginContext.login(LoginContext.java:574)
	at org.apache.jackrabbit.oak.core.ContentRepositoryImpl.login(ContentRepositoryImpl.java:163)
	at org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl.login(RepositoryImpl.java:294)
	... 204 more

Request Progress:

      0 TIMER_START{Request Processing}
      2 COMMENT timer_end format is {<elapsed microseconds>,<timer name>} <optional message>
      6 LOG Method=GET, PathInfo=null
      7 TIMER_START{handleSecurity}
   1588 TIMER_END{1579,handleSecurity} authenticator org.apache.sling.auth.core.impl.SlingAuthenticator@3ed3602a returns true
   1926 TIMER_START{ResourceResolution}
   2104 TIMER_END{176,ResourceResolution} URI=/etc/replication/agents.author/publish.test.html resolves to Resource=JcrNodeResource, type=cq:Page, superType=null, path=/etc/replication/agents.author/publish
   2140 LOG Resource Path Info: SlingRequestPathInfo: path='/etc/replication/agents.author/publish', selectorString='test', extension='html', suffix='null'
   2141 TIMER_START{ServletResolution}
   2146 TIMER_START{resolveServlet(/etc/replication/agents.author/publish)}
   3550 TIMER_END{1400,resolveServlet(/etc/replication/agents.author/publish)} Using servlet BundledScriptServlet (/libs/cq/Page/Page.jsp)
   3557 TIMER_END{1415,ServletResolution} URI=/etc/replication/agents.author/publish.test.html handled by Servlet=BundledScriptServlet (/libs/cq/Page/Page.jsp)
   3561 LOG Applying Requestfilters
   3578 LOG Calling filter: com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl
   3589 LOG Calling filter: org.apache.sling.security.impl.ContentDispositionFilter
   3597 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter
   3611 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
   3618 LOG Calling filter: com.adobe.granite.httpcache.impl.InnerCacheFilter
   3628 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
   3633 LOG Calling filter: com.adobe.cq.history.impl.HistoryRequestFilter
   4215 LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
   4240 LOG Calling filter: com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet
   4249 LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter
   4261 LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
   4284 LOG Calling filter: com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter
   4294 LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
   4300 LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
   4304 LOG Calling filter: com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl
   4474 LOG Calling filter: com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter
   4481 LOG Calling filter: com.adobe.granite.requests.logging.impl.RequestLoggerImpl
   4488 LOG Calling filter: com.adobe.granite.rest.impl.servlet.ApiResourceFilter
   4537 LOG Calling filter: com.day.cq.dam.core.impl.servlet.ActivityRecordHandler
   4553 LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter
   4558 LOG Calling filter: com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler
   4567 LOG Applying Componentfilters
   4569 LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter
   4572 LOG Calling filter: com.day.cq.wcm.core.impl.page.PageLockFilter
   4576 LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
   4611 LOG Calling filter: com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter
   4615 LOG Calling filter: com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter
   4617 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
   4627 TIMER_START{BundledScriptServlet (/libs/cq/Page/Page.jsp)#0}
   4965 LOG Adding bindings took 48 microseconds
   5406 LOG Including resource JcrNodeResource, type=cq/replication/components/agent, superType=null, path=/etc/replication/agents.author/publish/jcr:content (SlingRequestPathInfo: path='/etc/replication/agents.author/publish/jcr:content', selectorString='test', extension='html', suffix='null')
   5413 TIMER_START{resolveServlet(/etc/replication/agents.author/publish/jcr:content)}
   6878 TIMER_END{1463,resolveServlet(/etc/replication/agents.author/publish/jcr:content)} Using servlet BundledScriptServlet (/libs/cq/replication/components/agent/test.jsp)
   6884 LOG Applying Includefilters
   6891 LOG Calling filter: com.adobe.granite.csrf.impl.CSRFFilter
   6898 LOG Calling filter: com.day.cq.personalization.impl.TargetComponentFilter
   6903 LOG Calling filter: com.day.cq.wcm.core.impl.page.PageLockFilter
   6908 LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
   7016 LOG Calling filter: com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter
   7020 LOG Calling filter: com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter
   7022 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
   7024 LOG Calling filter: com.day.cq.wcm.core.impl.WCMDeveloperModeFilter
   7056 TIMER_START{BundledScriptServlet (/libs/cq/replication/components/agent/test.jsp)#1}
   7194 LOG Adding bindings took 28 microseconds
 372049 LOG SCRIPT ERROR: An exception occurred processing JSP page /libs/cq/replication/components/agent/test.jsp at line 57 : Replicaiton Agent [publish] has invalid agent userId [your_replication_user]
 372070 TIMER_END{365011,BundledScriptServlet (/libs/cq/replication/components/agent/test.jsp)#1}
 372352 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMDeveloperModeFilter, inner=365028, total=365051, outer=23
 372357 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMDebugFilter, inner=365051, total=365054, outer=3
 372361 LOG Filter timing: filter=com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter, inner=365054, total=365290, outer=236
 372365 LOG Filter timing: filter=com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter, inner=365290, total=365300, outer=10
 372368 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMComponentFilter, inner=365300, total=365418, outer=118
 372372 LOG Filter timing: filter=com.day.cq.wcm.core.impl.page.PageLockFilter, inner=365418, total=365424, outer=6
 372375 LOG Filter timing: filter=com.day.cq.personalization.impl.TargetComponentFilter, inner=365424, total=365430, outer=6
 457431 LOG SCRIPT ERROR: An exception occurred processing JSP page /libs/cq/Page/proxy.jsp at line 47 : An exception occurred processing JSP page /libs/cq/replication/components/agent/test.jsp at line 57 : Replicaiton Agent [publish] has invalid agent userId [your_replication_user]
 457448 TIMER_END{452818,BundledScriptServlet (/libs/cq/Page/Page.jsp)#0}
 457504 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMDebugFilter, inner=452832, total=452836, outer=4
 457508 LOG Filter timing: filter=com.adobe.granite.metrics.knownerrors.impl.ErrorLoggingComponentFilter, inner=452836, total=452851, outer=15
 457512 LOG Filter timing: filter=com.day.cq.wcm.core.impl.monitoring.PageComponentRequestFilter, inner=452851, total=452858, outer=7
 457516 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMComponentFilter, inner=452858, total=452907, outer=49
 457522 LOG Filter timing: filter=com.day.cq.wcm.core.impl.page.PageLockFilter, inner=452907, total=452911, outer=4
 457641 LOG Filter timing: filter=com.adobe.cq.dtm.reactor.impl.servlets.ClientLibraryFilter, inner=0, total=452965, outer=452965
 457646 LOG Filter timing: filter=com.adobe.cq.dam.webdav.impl.io.DamWebdavRequestFilter, inner=452965, total=452965, outer=0
 457650 LOG Filter timing: filter=com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler, inner=452965, total=452969, outer=4
 457653 LOG Filter timing: filter=com.day.cq.wcm.core.impl.warp.TimeWarpFilter, inner=452969, total=452976, outer=7
 457657 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.DamContentDispositionFilter, inner=452976, total=452977, outer=1
 457660 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.ActivityRecordHandler, inner=452977, total=452993, outer=16
 457664 LOG Filter timing: filter=com.adobe.granite.rest.impl.servlet.ApiResourceFilter, inner=452993, total=453042, outer=49
 457668 LOG Filter timing: filter=com.adobe.granite.requests.logging.impl.RequestLoggerImpl, inner=453042, total=453130, outer=88
 457671 LOG Filter timing: filter=com.adobe.cq.projects.impl.servlet.ProjectContentDispositionFilter, inner=453130, total=453131, outer=1
 457675 LOG Filter timing: filter=com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter, inner=453131, total=453138, outer=7
 457679 LOG Filter timing: filter=com.adobe.cq.commerce.core.components.internal.servlets.CatalogPageNotFoundFilter, inner=453138, total=453142, outer=4
 457682 LOG Filter timing: filter=com.adobe.cq.commerce.core.components.internal.servlets.SpecificPageFilterFactory, inner=453142, total=453148, outer=6
 457686 LOG Filter timing: filter=com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl, inner=453148, total=453309, outer=161
 457689 LOG Filter timing: filter=com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter, inner=453309, total=453315, outer=6
 457692 LOG Filter timing: filter=org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter, inner=453315, total=453321, outer=6
 457695 LOG Filter timing: filter=org.apache.sling.distribution.servlet.DistributionAgentCreationFilter, inner=453321, total=453324, outer=3
 457699 LOG Filter timing: filter=com.day.cq.dam.core.impl.servlet.DisableLegacyServletFilter, inner=453324, total=453341, outer=17
 457702 LOG Filter timing: filter=com.adobe.cq.wcm.core.extensions.amp.internal.AmpModeForwardFilter, inner=453341, total=453350, outer=9
 457706 LOG Filter timing: filter=com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet, inner=453350, total=453358, outer=8
 457709 LOG Filter timing: filter=com.adobe.granite.optout.impl.OptOutFilter, inner=453358, total=453370, outer=12
 457712 LOG Filter timing: filter=com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet, inner=453370, total=453380, outer=10
 457716 LOG Filter timing: filter=com.day.cq.wcm.core.impl.WCMRequestFilter, inner=453380, total=453412, outer=32
 457719 LOG Filter timing: filter=com.adobe.cq.history.impl.HistoryRequestFilter, inner=453412, total=453987, outer=575
 457723 LOG Filter timing: filter=org.apache.sling.rewriter.impl.RewriterFilter, inner=453987, total=453993, outer=6
 457727 LOG Filter timing: filter=com.adobe.granite.httpcache.impl.InnerCacheFilter, inner=453993, total=454006, outer=13
 457730 LOG Filter timing: filter=org.apache.sling.i18n.impl.I18NFilter, inner=454006, total=454012, outer=6
 457733 LOG Filter timing: filter=com.adobe.granite.csrf.impl.CSRFFilter, inner=454012, total=454027, outer=15
 457736 LOG Filter timing: filter=org.apache.sling.security.impl.ContentDispositionFilter, inner=454027, total=454035, outer=8
 459110 LOG Applying Error filters
 459119 LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
 459126 LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
 459196 TIMER_START{handleError:throwable=com.day.cq.replication.ReplicationException}
 460754 TIMER_END{1556,handleError:throwable=com.day.cq.replication.ReplicationException} Using handler BundledScriptServlet (/libs/sling/servlet/errorhandler/default.jsp)
 460889 LOG Adding bindings took 34 microseconds
 462739 LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html], order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobile: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=mobiledebug, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-mobiledebug: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), Config(type=contentsync, config=JcrPropertyMap [node=Node[NodeDelegate{tree=/libs/cq/config/rewriter/default/transformer-contentsync: { jcr:primaryType = nt:unstructured, component-optional = true}}], values={jcr:primaryType=nt:unstructured, component-optional=true}]), serializer=Config(type=htmlwriter, config={}))}
 465627 TIMER_END{465624,Request Processing} Dumping SlingRequestProgressTracker Entries


Resolution

  1. Go to AEM replication queue setup.
  2. Open the replication setting Default Agent Publish.
  3. Set the replication user in Agent User Id field. Below is the screenshot.
AEM replication queue setting
AEM Replication Queue


References

AEM Replication: https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/replication.html?lang=en#configuring-your-replication-agents

No comments:

Post a Comment