|
POST
|
Hi Dan, A database connection is made for each ArcGIS Server instance (ArcSOC.exe) that is created for the service(s). The min and max number of instances can be set by right-clicking on the service > Service Properties > Pooling tab. By default, the minimum number of instances is set to 1 and the maximum is set to 2. Therefore, when you start the service 1 connection is made to the SDE geodatabase. By default, an instance is created as Pooled. This means when a request (ie pan/zoom in web app) is made to the service, an instance is taken from the pool, and then returned when the request is over. Once another request is made, say from another web app, that same instance can be used for that service request. So, multiple requests will need to be made at the same time in order for another instance to be created, thus creating another connection to the SDE geodatabase. This will not exceed the maximum number of instances, so by default a service can never exceed two connections to the geodatabase unless this paramter is increased. If the max number of instances is exceeded, the client will have to wait until an instance is returned to the pool before their request is returned. Say the max instances of a service is set to two and both are being used, creating two connections to the SDE geodatabase. Then one of the users is finished accessing the service. The second SDE connection will remain until the idle time expires (set within the Services Properties > Pooling tab). Once the idle time expires, the instance will be removed from the server and the connection deleted from the SDE geodatabase. thanks for the reply. Now I see why the max. # of instances is set to 2 by default. total connections to personal SDE gdb = 3; ArcSOC gets 2, one left for local editing in desktop envir.
... View more
03-21-2012
09:10 AM
|
0
|
0
|
5024
|
|
POST
|
installed SQLServer Express and enabled GDB storage using our ArcEditor (Desktop - Standard) License. Few questions regarding the number of connections to the SQL Server instance, named "sqldb" Lets say I create/publish a .mxd using data from a SDE gdb stored in sqldb. How many clients can simultaneously connect to the service to view the data (read only)? ArcGIS desktop -- client #1 ArcGIS online mapA -- client #2 ArcGIS online mapB -- client #3 JavascriptAPI custom map -- client #4 <---will this client receive the 'maximum number of connections to instance exceeded'? thanks!
... View more
03-21-2012
07:04 AM
|
0
|
17
|
17750
|
|
POST
|
David, Dan, What version of ArcGIS Server are you running? Was it working before and stopped, like maybe after you upgraded? Thanks Mike mine is a brand new install (hardware bundle) from esri that we received 2 wks ago. Not sure how to tell what SP is loaded, but I know for sure it's v10 EDIT: just found the patchfinder.exe for identifying what SP you have...bottom of this page. It doesn't display any SP info, just displays: ArcGIS Server 10 - GIS services ArcGIS Server 10 - Web Applications So...i'm downloading/installing SP4 right now
... View more
03-20-2012
11:13 AM
|
0
|
0
|
2549
|
|
POST
|
I had the same problem today. I found that using the token parameter on my map service URL worked. 1. Create token on behalf of the user identity with Identifier set to http://www.arcgis.com 2. Include that token value on the Map Service URL that is being added to an ArcGIS.com map. Example URL with token as a parameter: http://arcgisserver.domain.name/ArcGIS/rest/services/mySecureService/MapServer?token=6xgjHf9MIcnI1u87Mfw4is_h4zk2hg8yniTclu9TpwMWw0e5E_3tPxDAcXsStl6hsE2Jw2T0dn1SbqxLliJzQQ.. same problem here; secured GIS service using SqlServer db for users/roles; connection to services is https through reverse proxy. When I attempt to "add from web" and specify my secured service, I get the username/password prompt, but every user/pass I enter is invalid. I was able to add the secured service via generating a token as mentioned above, but as soon as the token expires, we're back to square 1. Could is be a sqlserver user/pass store is the problem? Anyone have secured services (windows auth) in AGO?
... View more
03-20-2012
06:35 AM
|
0
|
0
|
2549
|
|
POST
|
i'm having this exact same problem; not being able to view footprints in JS api through reverse proxy. Did you ever find the problem?
... View more
03-16-2012
11:11 AM
|
0
|
0
|
2460
|
|
POST
|
thanks Jake, that makes sense, but I have a few more clarification q's: 1. setup 2 folders inside server root, folderA-view role, folderB-edit role 2. publish a map service into folderA, no feature access 3. put the same map service into folderB, but enable feature access All users in edit role will be able to make local copy of feature data, edit it, then synchronize changes with server? Data that I add to the map, prior to publishing...does it need to be data from an SDE gdb? If so, I assume the sql-server instance would not necessarily need to be open to the internet for direct-editing as described in my 1st post? thanks!!
... View more
02-10-2012
11:18 AM
|
0
|
0
|
891
|
|
POST
|
Ordered a x64 server, pre-installed Win. Server 2008, ArcGIS Server 10 & SQL Server express. After I connect to the SQL instance via ArcCatalog, I'll create a new SDE gdb and c/p all my current file gdb data into the SDE gdb. As I understand, this type of connection, direct from ArcCatalog to the SQL instance is a 'direct connection'? We don't have a windows domain network (AD), and external, (outside the LAN) users will need to connect to the SQL instance and edit a version of the SDE gdb. To do so, would I have to config. the SQL Server to use database auth. as described here?? Setting up a win active directory domain is not an option, the external clients are gov. computers and would never be able to join the domain. thanks!
... View more
02-10-2012
04:19 AM
|
0
|
3
|
2281
|
|
POST
|
any way to define a query for a shapefile that's been uploaded to the webmap?
... View more
12-08-2011
06:20 AM
|
0
|
0
|
875
|
|
POST
|
hey mike- thanks again for your help! For a webapp newbie, it can get quite confusing, but the SW user conf. really summed things up: 1. Flex/Silverlight web viewer apps are free to download, they enable you to configure a custom website viewer in the language of your choosing. -the viewer connects to SERVICES only, so, you either have to use freely provided data/imagery services from ArcGIS online, OR have an installation of ArcGIS for Server 2. You can also create a basic map using the ArcGIS explorer or web viewer via ArcGIS Online. There is one slight advantage to using ArcGIS Online; you can upload .zipped shapefiles to your map. Otherwise, ArcGIS for Server is required. 3. If your not liking the ArcGIS Explorer or web view maps from ArcGIS online, you can create the share button while on the map, and use a template. This template can be downloaded to your local server and hosted, OR can remain on ArcGIS Online.
... View more
11-22-2011
04:03 AM
|
0
|
0
|
3844
|
|
POST
|
i think i found out why I wasn't able to access my arcgis.com webmap from a template on our local webserver....yesterday at the esri SWUG I found out that only silverlight viewers have the ability to login to esri global acct, to access private web maps. how...i'm going to a tech. workshop today on silverlight to find out! thanks again Mike!
... View more
11-17-2011
04:25 AM
|
0
|
0
|
3844
|
|
POST
|
hi mike- As far as I could tell, the 8th post in that thread just refers to access secure (https) arcgis-server services, not private services on ArcGIS online.
... View more
11-16-2011
02:43 AM
|
0
|
0
|
3844
|
|
POST
|
since joins/relates are not supported for .shp files uploaded to arcgis online, can anyone point me in the direction of accessing the external data? It would be easy to include a URL in the .shp attribute table that accesses an external script that in-turn queries a database, but the results would be displayed outside the popup window; in a browser window. Anyway to put the results inside the pop-up window? thanks!
... View more
11-15-2011
02:33 PM
|
0
|
1
|
2376
|
|
POST
|
Have a map saved on arcgis online that has a few shapefiles added to it. This map is only viewable to a private group, not the public. Is there any way to reference this map 'service' from a template on our webserver? I'm able to successfully view a public map service from ArcGIS online by copying the public mapid and inserting it into the template index.html. I also tried to generate a token as explained in this guide, and was able to get the username/password login when accessing the template, but all username/password entries fail? http://help.arcgis.com/en/arcgismobile/10.0/apis/iphone/AppGuide/Maps.pdf is this even possible? thanks! ps. sorry for double-posting the issue, but the other thread was referring to https (SSL) secure ArcGIS Server resources.
... View more
11-15-2011
10:46 AM
|
0
|
10
|
9364
|
|
POST
|
thanks mike. However, i'm not connecting to any secure ArcGIS Server services, I just added all layers to the map via .zip shapefile. I'm trying to connect to the Arcgis.com map that i have saved, (shared with a private group) from a custom template I have on our webserver. I understand this is accomplished with tokens but i'm not able to get it to work.
... View more
11-10-2011
12:13 PM
|
0
|
0
|
3274
|
|
POST
|
any update on this? I have a non-public map saved on arcgis.com. i generated a token using the following url: https://www.arcgis.com/sharing/generateToken?f=json&request=gettoken&username=MYUSERNAME&password=MYPASSWORD&Referer=MYUSERNAME token = ttttttttttttttttttttttttttttttttttttttttt I then found the ItemID of my non-public map. ItemID = xxxxxxxxxxxxxxxxxxxxxxxxxx I am able to view the json using this url: http://www.arcgis.com/sharing/content/items/xxxxxxxxxxxxxxxxxxxxxxxxxx/data?f=pjson&token=ttttttttttttttttttttttttttttttttttttttttt I downloaded the chrome legend map template from here and installed it on our webserver: http://www.arcgis.com/home/item.html?id=c9f1750f9b9f496ca7df16fa31870145 I can view the default webmap when pointing to our webserver's URL. If I open the template .html file and alter the webmap setting, to point to a different, publicly available map, it works great. However, when I alter the webmap setting in the .html to the following: xxxxxxxxxxxxxxxxxxxxxxxxxx/data?f=pjson&token=ttttttttttttttttttttttttttttttttttttttttt I get a login box, of which i enter my arcgis.com username/password, (same that was used to generate the token) and it just says 'username/password invalid' any ideas?? thanks!
... View more
11-10-2011
09:04 AM
|
0
|
0
|
3274
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-22-2026 06:00 AM | |
| 2 | 06-19-2026 05:33 AM | |
| 1 | 05-02-2024 04:44 PM | |
| 1 | 11-04-2025 11:45 AM | |
| 1 | 10-31-2025 06:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|