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
|
210
|
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
|
265
|
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
|
1
|
298
|
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
|
146
|
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
|
446
|
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
|
48
|
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
|
1148
|
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
|
460
|
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
|
321
|
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
|
1427
|
Online Status |
Offline
|
Date Last Visited |
12-10-2020
03:50 PM
|