POST
|
Hi all, I should clarify my question. We have ArcGIS enterprise installed on Azure, and we can't monitor process and system information from ArcGIS monitor. So I try to run the batch file from azure vm to get optimization information of ArcSOCs. I know this is an extension of ArcGIS monitor, so my question is that is it possible to run the ArcSOC optimizer batch file without installation of ArcGIS monitor? Thanks!
... View more
06-07-2021
09:05 AM
|
0
|
1
|
472
|
POST
|
I tried to run ArcSOC optimizer from dos command by calling test.bat; however, I got error: 06/03/2021 04:43:05 PM INFO: root: Arguments.py 06/03/2021 04:43:05 PM INFO: root: mode: list 06/03/2021 04:43:05 PM INFO: root: agsTokenURL: https://vanmappubdev.vancouver.ca/portal/sharing/rest/generateToken 06/03/2021 04:43:05 PM INFO: root: agsUser: adminUser 06/03/2021 04:43:05 PM ERROR: __main__: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host> 06/03/2021 04:43:05 PM ERROR: __main__: None Traceback (most recent call last): File "urllib\request.py", line 1342, in do_open File "http\client.py", line 1255, in request File "http\client.py", line 1301, in _send_request File "http\client.py", line 1250, in endheaders File "http\client.py", line 1010, in _send_output File "http\client.py", line 950, in send File "http\client.py", line 1424, in connect File "ssl.py", line 500, in wrap_socket File "ssl.py", line 1040, in _create File "ssl.py", line 1309, in do_handshake ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host Do I miss some configure to run the test.bat? Thanks! Nick
... View more
06-03-2021
04:47 PM
|
0
|
2
|
537
|
POST
|
we have one load balancer, 2 portals, 2 servers, 2 data stores and all portal content and server directories are on a shared file server. Recently, we updated our sandbox from 10.6.1 to 10.8.1, before and after upgradation, we verified federation and data store, server status and all works. however, we noticed that when I open a rest service folder, sometimes, it directs to the login page. the server log file shows severe errors: Failed to return all services configurations in the folder 'Locator'. Could not connect to the ArcGIS component at URL 'https://sandbox.ourdomain.ca:7443/arcgis/sharing/rest/search'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: I checked the server covgis33 log file and the error: <Msg time="2020-09-25T21:21:36,62" type="SEVERE" code="6605" source="Admin" process="17392" thread="1" methodName="" machine="COVGIS33.DS.CITY.ourCity.BC.CA" user="" elapsed="" requestID="0fce8b36-e385-472f-942a-de447ab2eb09">Failed to return all services configurations in the folder 'Locator'. Could not connect to the ArcGIS component at URL 'https://sandbox.ourDomain.ca:7443/arcgis/sharing/rest/search'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: </Msg> <Msg time="2020-09-25T21:21:36,63" type="DEBUG" code="9999" source="Rest" process="17392" thread="1" methodName="" machine="COVGIS33.DS.CITY.ourCity.BC.CA" user="" elapsed="" requestID="0fce8b36-e385-472f-942a-de447ab2eb09">Time (ms): 28 (/arcgis/rest/services/Locator)</Msg> <Msg time="2020-09-25T21:21:36,62" type="DEBUG" code="9999" source="Server" process="17392" thread="26" methodName="" machine="COVGIS33.DS.CITY.ourCity.BC.CA" user="" elapsed="" requestID="0fce8b36-e385-472f-942a-de447ab2eb09">Failed to return all services configurations in the folder 'Locator'. Could not connect to the ArcGIS component at URL 'https://sandbox.ourdomain.ca:7443/arcgis/sharing/rest/search'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: </Msg> <Msg time="2020-09-25T21:21:36,62" type="DEBUG" code="9999" source="Admin" process="17392" thread="1" methodName="" machine="COVGIS33.DS.CITY.ourcity.BC.CA" user="" elapsed="" requestID="0fce8b36-e385-472f-942a-de447ab2eb09">java.io.IOException: Could not connect to the ArcGIS component at URL 'https://sandbox.ourdomain.ca:7443/arcgis/sharing/rest/search'. The ArcGIS component on that machine may not be running or the machine may not be reachable at this time.Error: at com.esri.arcgis.discovery.admin.util.HttpUtil.handleConnectionIOException(HttpUtil.java:721) at com.esri.arcgis.discovery.admin.util.PooledHttpClientUtil.postToURL(PooledHttpClientUtil.java:253) at com.esri.arcgis.discovery.admin.util.PooledHttpClientUtil.postPropsToURL(PooledHttpClientUtil.java:289) at com.esri.arcgis.discovery.admin.security.portal.ArcGISPortal.search(ArcGISPortal.java:2075) at com.esri.arcgis.discovery.admin.security.portal.ArcGISPortal.checkAccessOnItems(ArcGISPortal.java:2009) at com.esri.arcgis.discovery.admin.services.ServiceManager.getAllServiceCfgsInFederatedMode(ServiceManager.java:3071) at com.esri.arcgis.discovery.security.manager.WebSecurityManager.showFolder(WebSecurityManager.java:572) at com.esri.discovery.app.security.SecurityPreHandler.authorizeServices(SecurityPreHandler.java:432) at com.esri.discovery.app.security.SecurityPreHandler.servicesSecurity(SecurityPreHandler.java:154) at com.esri.discovery.app.security.SecurityPreHandler.preHandle(SecurityPreHandler.java:85) at com.esri.rf.RServlet.service(RServlet.java:113) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:666) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1684) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1104) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:599) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:577) at org.apache.tomcat.util.net.SecureNio2Channel$1.completed(SecureNio2Channel.java:969) at org.apache.tomcat.util.net.SecureNio2Channel$1.completed(SecureNio2Channel.java:898) 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 java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Unknown Source) </Msg> I have created a esri ticket: Esri Case #02645437 Thanks! Nick
... View more
09-25-2020
09:59 PM
|
0
|
4
|
4600
|
POST
|
Hi all, I find the reason. We use UNC drive, for example, \\foldername\f, if I change it to forword slash as code sniper did //foldername/ then the py script runs without error. I don't know this is a bug of the address locator py api thanks all!
... View more
11-28-2018
12:37 PM
|
0
|
1
|
720
|
POST
|
I'm trying to create a Gazetteer style address locator by python script as: import arcpy
arcpy.CreateAddressLocator_geocoding(
in_address_locator_style="General Gazetteer",
in_reference_data="(folder)\address2.gdb\ADDRESS_LOCATOR 'Primary Table'",
in_field_map="'Feature ID' OBJECTID VISIBLE NONE;'*Place Name' ADDRESS VISIBLE NONE;Category <None> VISIBLE NONE;Type <None> VISIBLE NONE;Tags <None> VISIBLE NONE;Description <None> VISIBLE NONE;'3-Digit Language Code' <None> VISIBLE NONE;'2-Digit Language Code' <None> VISIBLE NONE;Rank <None> VISIBLE NONE;Neighborhood <None> VISIBLE NONE;City <None> VISIBLE NONE;County <None> VISIBLE NONE;State <None> VISIBLE NONE;'State Abbreviation' <None> VISIBLE NONE;Country <None> VISIBLE NONE;'Country Abbreviation' <None> VISIBLE NONE;'Street Address' <None> VISIBLE NONE;'Full Address' <None> VISIBLE NONE;'Primary Phone' <None> VISIBLE NONE;'Primary URL' <None> VISIBLE NONE;'Display X' <None> VISIBLE NONE;'Display Y' <None> VISIBLE NONE;'Min X value for extent' <None> VISIBLE NONE;'Max X value for extent' <None> VISIBLE NONE;'Min Y value for extent' <None> VISIBLE NONE;'Max Y value for extent' <None> VISIBLE NONE;'Additional Field' USER_DATA VISIBLE NONE",
out_address_locator="(out_put_folder)\test.GeocodeServer",
config_keyword="",
enable_suggestions="ENABLED"
) but got error as: Traceback (most recent call last): File "<module1>", line 12, in <module> File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\geocoding.py", line 160, in CreateAddressLocator raise e ExecuteError: Failed to execute. Parameters are not valid. ERROR 000046: Too many reference data tables for this style. Failed to execute (CreateAddressLocator). I did try create locator from arcMap and Pro using the same data and successful. Any thing wrong with my python script? thank you for any help.
... View more
11-28-2018
11:29 AM
|
0
|
7
|
1214
|
Online Status |
Online
|
Date Last Visited |
4m ago
|