POST
|
I think the answer is 'no' but thought I'd ask - does Server log any information when services are updated, e.g. Pooling setting are changed, KML capabilities are disabled, etc. Ideally would like to see is standard audit trail info - the user,'s name, a date/time stamp, and old-new values. I'm currently running 10.4 and don't see this available anywhere in Manager or the Admin API. I did a quick search for this in Ideas.esri.com but didn't come across anything. If you now of an idea out there, please send me the link and I'll up-vote for it a few hundred times Thanks!
... View more
06-29-2018
10:54 AM
|
0
|
0
|
550
|
POST
|
basic implementation of Dan Patterson's answer - takes them all out and puts the non group layers back in, in the order they were. Assumes there are no properties set on the group layers (e.g. scale dependency) that you would also want apply to the sublayers once ungrouped. import arcpy
def is_group_layer(layer):
return not layer.isGroupLayer
mxd = arcpy.mapping.MapDocument("current")
for df in arcpy.mapping.ListDataFrames(mxd):
layers = arcpy.mapping.ListLayers(mxd,"",df)
keep_layers = filter(is_group_layer,layers)
for layer in layers:
arcpy.mapping.RemoveLayer(df,layer)
for layer in keep_layers:
arcpy.mapping.AddLayer(df,layer,"BOTTOM")
mxd.save()
... View more
10-23-2017
01:22 PM
|
2
|
1
|
2564
|
POST
|
I'm querying AGOL to get info on our users & their items. When I get a user via a request to https://my_org.maps.arcgis.com/sharing/rest/community/users/<userID>/?f=pjson&token=<valid token> it includes a userType property in the response. Looking @ the docs for a User I do not see what this represents. Most users return the value of 'arcgisonly' but a couple have 'both' for this property. Anyone know what the domain is for this property & what the values mean? sample response: {
"username": "my_username",
"fullName": "Terry Giles",
"firstName": "Terry",
"lastName": "Giles",
"preferredView": null,
"description": "Terry Giles, ent. account",
"email": "my.email@work.gov",
"userType": "arcgisonly",
...
}
Thanks, Terry
... View more
10-23-2017
08:59 AM
|
0
|
2
|
1147
|
IDEA
|
thanks khibma-esristaff, I was just digging around for a way to pull this kind of info this morning!
... View more
10-18-2017
01:13 PM
|
0
|
0
|
1555
|
POST
|
We have a 10.4.1 server (with Web Adaptor) that is exposed via a load balancer that has HSTS enabled so all requests are forced to HTTPS. However when we try to manually generate a token we cannot, as the token page (https://my.server.com/webadaptor/tokens) is trying to load JS and CSS resources over HTTP. Is there a way to configure the page to request these over HTTPS or is this something I need to ask the network folks to handle from the load balancer box? Screen shot shows the network requests for the resources over HTTP failing. Thanks, Terry
... View more
05-08-2017
04:05 PM
|
0
|
0
|
644
|
POST
|
I was wondering if that was the case too and have put in a request to our network admins to see if that endpoint is receiving WMS requests. We have over 70 services but this is the only one in which I see that error in the log files. Thank you for your feedback, I will follow up again after I hear from our network team. Terry
... View more
09-14-2016
06:28 AM
|
0
|
0
|
793
|
POST
|
I was going over our Server (v10.4 on Win 2008) logs and came across the error (and stack trace) below repeatedly. It's appears to be having issues with the WMS server, but the service in question does not have WMS capabilities turned on (just MapServer). Digging around on GeoNet and GIS StackExchange I can only find similar errors related to the feature server SOE but those seem to be database access issues. The service in question draws just fine in both ArcMap and using the default JS viewer. Any ideas on what's causing this? Error handling request to service '<folder>/<service>.MapServer'. java.io.IOException: Server object extension 'wmsserver' not found. SEVERE Aug 5, 2016, 9:46:58 AM com.esri.arcgis.discovery.ejb.ArcGISServiceException: java.io.IOException: Server object extension 'wmsserver' not found. at com.esri.arcgis.discovery.ejb.impl.GenericServerBean.handleRequest(GenericServerBean.java:72) at sun.reflect.GeneratedMethodAccessor12439.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:162) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:144) at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:164) at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:92) at sun.reflect.GeneratedMethodAccessor12438.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:162) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:144) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:122) at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:221) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:174) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:136) at org.apache.openejb.server.ejbd.EjbRequestHandler.doEjbObject_BUSINESS_METHOD(EjbRequestHandler.java:238) at org.apache.openejb.server.ejbd.EjbRequestHandler.processRequest(EjbRequestHandler.java:129) at org.apache.openejb.server.ejbd.EjbDaemon.processEjbRequest(EjbDaemon.java:196) at org.apache.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:149) at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:71) at org.apache.openejb.server.ejbd.KeepAliveServer$Session.service(KeepAliveServer.java:213) at org.apache.openejb.server.ejbd.KeepAliveServer.service(KeepAliveServer.java:233) at org.apache.openejb.server.ejbd.EjbServer.service(EjbServer.java:66) at org.apache.openejb.server.ServicePool$2.run(ServicePool.java:91) at org.apache.openejb.server.ServicePool$3.run(ServicePool.java:120) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.esri.arcgis.discovery.servicelib.AGSException: java.io.IOException: Server object extension 'wmsserver' not found. at com.esri.arcgis.discovery.servicelib.impl.RemoteServiceImpl.handleRequest(RemoteServiceImpl.java:98) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179) at com.sun.proxy.$Proxy43.handleRequest(Unknown Source) at com.esri.arcgis.discovery.ejb.util.EJBBase.handleRequestBase(EJBBase.java:548) at com.esri.arcgis.discovery.ejb.impl.GenericServerBean.handleRequest(GenericServerBean.java:70) ... 29 more Caused by: java.lang.Exception: java.io.IOException: Server object extension 'wmsserver' not found. at com.esri.arcgis.discovery.servicelib.impl.ServiceImpl.handleRequest(ServiceImpl.java:244) at com.esri.arcgis.discovery.servicelib.impl.RemoteServiceImpl.handleRequest(RemoteServiceImpl.java:92) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) ... 3 more Caused by: java.io.IOException: Server object extension 'wmsserver' not found. at com.esri.arcgis.discovery.servicelib.impl.SOThread.a(SOThread.java:647) at com.esri.arcgis.discovery.servicelib.impl.SOThread.run(SOThread.java:446)
... View more
08-05-2016
09:12 AM
|
0
|
2
|
1893
|
POST
|
createService is a method of a folder, so the service will publish in the folder you access the method from and does not need to be specified in the JSON. If you log in to the Administrative API, go to the services link, and then select the folder you want to publish in you should see a list of the services already in that folder and under 'support operations' at the bottom of the screen you will find a link to createService. or if you wish to call it in code, Python for example, just include the folder name in the path - http://yourserver:6080/arcgis/admin/services/Test/createService
... View more
07-11-2016
07:40 AM
|
2
|
0
|
2448
|
POST
|
Thank You for posting the work around. Just hit this today even though I'd just republished the same service with query layers last week with no issue & to a different 10.4 server yesterday... A note for anyone else who uses the MSD and createService workflow method - if you have a multiple machine set up the .msd file must be on each server in the location specified in the filePath in the JSON & the service account must have access to this location (or a network share that account can reach should work too).
... View more
06-15-2016
03:27 PM
|
1
|
0
|
2108
|
POST
|
I'm having issues with a proxy/CDN (which I have no control over) blocking ExportMap requests containing compound definitions, e.g. amount >= 1000 and amount <= 10000 and program in ('abc','xyz'). In talking with tech support the requests as getting blocked as they are seen as possible SQL injection. One suggestion was to encode the >= and <=, like amount ≥ 1000 and amount ≤ 10000 and program in ('abc','xyz'). In testing ArcGIS Server always returns blank images using the encoded symbols, so this does not seem to be an option. Has anyone else had issues similar to this or have suggestions? Thank you, Terry
... View more
03-04-2016
09:57 AM
|
0
|
0
|
1738
|
POST
|
Esri support was able to help fix this. I cannot describe what to do if anyone ever has this issue, other than contact Tech Support. It was a lot of 'delete this file, now edit this file...' until the services finally started properly.
... View more
01-14-2016
09:55 AM
|
1
|
0
|
1483
|
POST
|
I have an Server 10.3.1 installation package that was downloaded from Esri and am working with our IT folks to automate installation. This is the .exe file downloaded from Esri which is a Paquet archive file containing all the of the actual setup files. If you run the exe manually it prompts for a location to unpack the folders/files to and the default is C:\Users\<me>\Documents\ArcGIS 10.3.1. I can run the exe command line silently by adding a "/s" switch but it will always default to the C:\Users\<me>\Documents\ArcGIS 10.3.1. Does anyone know if there are switches to specify the output so we can use a non-user specific folder, e.g.. d:\temp\installers\arcgis 10.3.1? Performing the actual silent install of server after this is a piece of cake, as it's well documented here Thank you, Terry
... View more
01-13-2016
01:48 PM
|
0
|
1
|
3450
|
POST
|
I found another forum post here which was close to the issues I was having. Renaming the upgrade.txt file got at least one of the javaw.exe to spin up but not the 2nd. I can access manager now but all my services are in a state of 'stopping..'. Looking at some of the log files C:\Program Files\ArcGIS\Server\framework\etc\ I'm getting java errors when the Geronimo web server is trying to start. I've opened a ticket with Esri support to get this solved. Thanks everyone for the suggestions!
... View more
08-06-2015
01:23 PM
|
0
|
1
|
1483
|
POST
|
Thank you Loren, I just hit this today & same as you uninstall/reinstall did not work. Renamed the upgrade.txt file restarted ArcGIS Server service and back in business!
... View more
08-06-2015
12:34 PM
|
0
|
0
|
681
|
POST
|
Hi Jayanta, No I cannot access the manager page in any browser. Yes I had a site created and running prior to installing SP1. Sorry but your message got cut off, what would you like screen shots of? Thank you, Terry
... View more
08-06-2015
11:38 AM
|
0
|
1
|
1483
|
Title | Kudos | Posted |
---|---|---|
1 | 06-15-2016 03:27 PM | |
1 | 01-14-2016 09:55 AM | |
2 | 12-14-2012 09:38 AM | |
2 | 10-23-2017 01:22 PM | |
3 | 01-15-2013 07:31 AM |
Online Status |
Offline
|
Date Last Visited |
07-17-2024
08:14 PM
|