|
POST
|
Correct, it doesn't appear that maxStartupTime is exposed through either the Desktop or Manager UIs. It's likely one of those properties that the vast majority of users never need to change, so it's omitted for brevity. And, to my knowledge, the default values for the various service "timeout" properties are not configurable, or at least the configuration is not officially documented by Esri.
... View more
02-09-2015
12:11 PM
|
0
|
0
|
1444
|
|
POST
|
Priscilla, See the maxStartupTime property of a service. You can set this value through the ArcGIS REST API.
... View more
02-09-2015
11:27 AM
|
0
|
2
|
1444
|
|
POST
|
Hi Miri, In my experience, deleting .glock files did not have unintended consequences on the system/ArcGIS Server, though this was always done as a last resort and in a surgical fashion (i.e. only the .glock file for a single locked-up service was deleted). Once these files are removed, it is possible to administer the related services and return them to a usable state. You may run into a situation where the ArcGIS Server Java process (javaw.exe) has hooks into the .glock file that will prevent you from deleting it. In that case, you will either have to restart ArcGIS Server (to release its hooks in the file), or use "kludgy" tools to force that same release. Of course, if you are running in a production environment then restarting ArcGIS Server is less of an option and you may have to turn to tools like this one. On a related note, there is a bug number for this problem (NIM100965: "Starting a service with 0 minimum instances causes the service locks not to release if service is consumed while it is starting"), and the Issues Addressed List reports it as being fixed in 10.3. I was able to reproduce this issue on a pristine server and install of ArcGIS Server (10.2.1) by creating a high-isolation Map Service with 0 minimum instances and then rapid-fire reloading the service's WSDL URL while the service started. Hope this info is helpful to you.
... View more
02-02-2015
12:42 PM
|
5
|
1
|
6688
|
|
POST
|
I believe you can use a backtick (grave accent) instead of a single quotation mark to wrap the text value in your query. So, your python tool SQL query string would become: "NAME " + "LIKE " + "`" + strField_NAME + "`"
... View more
02-02-2015
08:32 AM
|
0
|
3
|
1935
|
|
POST
|
If your issues seem to be related to ArcGISConnectionBin.exe repeatedly crashing and restarting, you may have some luck unchecking the "Automatically detect settings" option under "LAN Settings" in the "Connections" tab of your Internet Options (accessed via IE):
... View more
01-23-2015
07:55 AM
|
1
|
0
|
1427
|
|
POST
|
One way would be to convert the JSON geometry definition into a well-known-text (WKT) format, and then use the Oracle SDO_UTIL.FROM_WKTGEOMETRY method to convert the WKT to a Geometry (i.e. inside a stored procedure). Here is a post on converting JSON geometry text to WKT.
... View more
01-22-2015
09:29 AM
|
0
|
1
|
2264
|
|
POST
|
Hi Raphael, I believe what you want to use is the replaceDataSource method off of the Layer class. This method should allow you to change the name of the layer file serving as the datasource for the layer in your MXDs. Below is some sample code to help you get started. I added {} bracket placeholders to describe the actual values that should be used. import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd") for lyr in arcpy.mapping.ListLayers(mxd): if lyr.supports("DATASOURCE"): if lyr.dataSource == r"{Full path to old layer file}\{Layer name in layer file}": lyr.replaceDataSource(r"{Full path to new layer file}", "NONE", "{Layer name in layer file}") mxd.save() Good luck!
... View more
01-22-2015
08:01 AM
|
1
|
0
|
678
|
|
POST
|
Short and sweet; I like it. Glad you got this figured out.
... View more
11-25-2014
02:45 PM
|
0
|
0
|
1557
|
|
POST
|
Hi Jamari, Is the CurrentTool property off IApplication what you're looking for?
... View more
11-24-2014
10:57 AM
|
1
|
1
|
1557
|
|
POST
|
Enable the "Command Line" column in Task Manager. In that column, you will see a lot of information following the arcsoc executable path; that information should be enough for you to identify the specific service that the arcsoc is associated with.
... View more
11-18-2014
07:25 AM
|
1
|
0
|
1212
|
|
POST
|
Hi Murray, One option would be to refactor your geodatabase query logic into a Custom Geoprocessing Function Tool. This would enable you to execute the logic in a separate/background thread while still retaining the necessary performance.
... View more
11-07-2014
11:58 AM
|
1
|
0
|
1900
|
|
POST
|
Eric, At a glance, your extension methods and wrapper class implementing IEnumLayer look good. The problem may be in the way that the IFeatureCache object is interacting with the structure you've created. Have you instrumented the methods of your wrapper class (e.g. Debug.WriteLine) to see what happens after calling cache.AddLayers?
... View more
11-04-2014
10:06 AM
|
0
|
0
|
1513
|
|
POST
|
Hi Luc, I believe you will need to recompile your SOE against the older assemblies in order to deploy on the server running 10.1. You might have gotten away with your deployment if the situation were reversed (10.1 SOE on 10.2 ArcGIS Server).
... View more
11-04-2014
08:32 AM
|
0
|
1
|
453
|
|
POST
|
Hi Eric, So long as the performance and results are at least as good or better, I would lean toward using the simpler ReturnDistance method if you are itching to change this code. I'd also be curious to learn what you find If you do end up comparing the performance of these two methods.
... View more
11-04-2014
08:19 AM
|
0
|
0
|
821
|
|
POST
|
Based strictly on the inputs and outputs of IHitTest.HitTest vs. IProximityOperator.ReturnDistance, you could infer that HitTest is most likely a heavier call, but you can't know for certain without running some performance tests with your data. Is there anything else to the code that would explain the preference of HitTest over ReturnDistance, e.g. are the QueryPoint, searchRadius, or geometryPart parameters being used in ways that could produce different results compared to ReturnDistance?
... View more
11-03-2014
03:20 PM
|
0
|
2
|
821
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-18-2015 01:41 PM | |
| 1 | 11-07-2014 11:58 AM | |
| 1 | 01-22-2015 08:01 AM | |
| 1 | 02-18-2015 08:18 AM | |
| 1 | 04-17-2015 03:14 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|