-
Improvement
-
Resolution: Unresolved
-
Major
-
4.9.7
-
None
-
None
I have a CMS in maintenance mode. An external service is calling an authenticated URL of the CMS.
The following error appears each time we try to call the URL in the CMS:
org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:184:101 at org.apache.cocoon.ProcessingException#throwLocated:113 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:122 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.Cocoon#process:699 at org.ametys.runtime.servlet.RuntimeServlet#service:730 at javax.servlet.http.HttpServlet#service:741 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:231 at org.apache.catalina.core.ApplicationFilterChain#doFilter:166 at org.apache.tomcat.websocket.server.WsFilter#doFilter:53 at org.apache.catalina.core.ApplicationFilterChain#internalDoFilter:193 at org.apache.catalina.core.ApplicationFilterChain#doFilter:166 at org.apache.catalina.core.StandardWrapperValve#invoke:202 at org.apache.catalina.core.StandardContextValve#invoke:96 at org.apache.catalina.authenticator.AuthenticatorBase#invoke:541 at org.apache.catalina.core.StandardHostValve#invoke:139 at org.apache.catalina.valves.ErrorReportValve#invoke:92 at org.apache.catalina.valves.AbstractAccessLogValve#invoke:688 at org.apache.catalina.core.StandardEngineValve#invoke:74 at org.apache.catalina.connector.CoyoteAdapter#service:351 at org.apache.coyote.http11.Http11Processor#service:375 at org.apache.coyote.AbstractProcessorLight#process:65 at org.apache.coyote.AbstractProtocol$ConnectionHandler#process:869 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor#doRun:1639 at org.apache.tomcat.util.net.SocketProcessorBase#run:49 at java.base/java.util.concurrent.ThreadPoolExecutor#runWorker:1144 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker#run:642 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#run:61 at java.base/java.lang.Thread#run:1583 Caused by: org.ametys.runtime.exception.ServiceUnavailableException: User [anonymous] cannot access during maintenance at org.ametys.runtime.maintenance.MaintenanceAction#act:76 at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:125 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47 at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143 at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69 at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode#invoke:93 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:236 at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor#process:178 at org.apache.cocoon.components.treeprocessor.TreeProcessor#process:254 at org.apache.cocoon.components.treeprocessor.sitemap.MountNode#invoke:118 ... 34 more
I could be great to stop filling the log while asking a CMS URL during its maintenance mode