Select to view content in your preferred language

Fail to publish services

518
0
03-23-2023 01:33 AM
GuillaumeArnaud
Occasional Contributor

Hi,

I try ArcGIS server and portal federated 11.0 with ArcGIS Pro 3.0 to evaluate changes for an old project.

When I try to publish a new mapservice from ArcGIS Pro, I have this error :

GuillaumeArnaud_2-1679560215272.png

If 

GuillaumeArnaud_0-1679559877802.png

On debug log I have this error :

javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.ServletException: com.esri.arcgis.discovery.admin.rest.ResourceNotFoundException: La ressource ou l'opération 'Map.MapServer' est introuvable sur le système. at
com.esri.arcgis.discovery.admin.rest.filters.OutputFormatterFilter.doFilter(OutputFormatterFilter.java:108) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
com.esri.arcgis.discovery.admin.rest.filters.ErrorFilter.doFilter(ErrorFilter.java:81) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
com.esri.arcgis.discovery.admin.rest.filters.AdminFilter.doFilter(AdminFilter.java:68) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:660) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) at
org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1701) at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at
org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1190) at
org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:633) at
org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:611) at
org.apache.tomcat.util.net.SecureNio2Channel$1.completed(SecureNio2Channel.java:1010) at
org.apache.tomcat.util.net.SecureNio2Channel$1.completed(SecureNio2Channel.java:938) at
java.base/sun.nio.ch.Invoker.invokeUnchecked(Unknown Source) at
java.base/sun.nio.ch.Invoker$2.run(Unknown Source) at
java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(Unknown Source) at
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at
java.base/java.lang.Thread.run(Unknown Source) Caused by: javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.ServletException: com.esri.arcgis.discovery.admin.rest.ResourceNotFoundException: La ressource ou l'opération 'Map.MapServer' est introuvable sur le système. at
com.esri.arcgis.discovery.admin.rest.DispatcherServlet.service(DispatcherServlet.java:198) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
com.esri.arcgis.discovery.admin.rest.filters.CSRFFilter.doFilter(CSRFFilter.java:113) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
com.esri.arcgis.discovery.admin.rest.filters.OutputFormatterFilter.doFilter(OutputFormatterFilter.java:87) ... 32 more Caused by: javax.servlet.ServletException: javax.servlet.ServletException: com.esri.arcgis.discovery.admin.rest.ResourceNotFoundException: La ressource ou l'opération 'Map.MapServer' est introuvable sur le système. at
com.esri.arcgis.discovery.admin.rest.site.SiteServlet.service(SiteServlet.java:407) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711) at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:353) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313) at
com.esri.arcgis.discovery.admin.rest.DispatcherServlet.service(DispatcherServlet.java:194) ... 45 more Caused by: javax.servlet.ServletException: com.esri.arcgis.discovery.admin.rest.ResourceNotFoundException: La ressource ou l'opération 'Map.MapServer' est introuvable sur le système. at
com.esri.arcgis.discovery.admin.rest.services.RootFolderServlet.service(RootFolderServlet.java:345) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:711) at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:353) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:313) at
com.esri.arcgis.discovery.admin.rest.site.SiteServlet.service(SiteServlet.java:241) ... 56 more Caused by: com.esri.arcgis.discovery.admin.rest.ResourceNotFoundException: La ressource ou l'opération 'Map.MapServer' est introuvable sur le système. at
com.esri.arcgis.discovery.admin.rest.util.AdminMacros.throwResourceNotFoundException(AdminMacros.java:1517) at
com.esri.arcgis.discovery.admin.rest.services.RootFolderServlet.service(RootFolderServlet.java:343) ... 67 more

When I try to publish service directly on manager on webadaptor address : 

GuillaumeArnaud_1-1679560124760.png

I wait for an infinite time without result after click next :

GuillaumeArnaud_3-1679560284217.png

 

When I try to publish service directly on manager on 6443 port : it's work !

Do you have any idea to investigate this trouble ?

ArcGIS Server and Portal, tomcat webadaptor and nginx reverse proxy (for tomcat) are on the same server.

Thanks.

Guillaume

0 Kudos
0 Replies