Select to view content in your preferred language

Deployment JavaScript application with IIS - web adaptor

5204
8
10-23-2014 06:16 AM
ConstancioAmurrio_García
New Contributor

Hello to everyone.

 

I've developed an application using the ESRI's JavaScript API. My web services are deployed in an ArcGIS Server 10.2 machine. These services are working properly through a web adaptor and I can access the admin interface externally (using sitename.com/arcgis/rest/services).

 

Due to economical restrictions I have to deploy the app in the same machine where the services and the web adaptor are. By now, I have created a site in IIS and I am able to run it locally (localhost/sitename). The problems come when I try to use my sitename (and not localhost) to access the application. I want to use the web adaptor name for both the services interface and the application itself. I've tried few things:

 

  • If I set the web adaptor pool to my application site, I am able to load the application locally on the server (using sitename.com), but the application is not totally loaded. Some of its resources throw a 503 error.
  • Using the web adaptor pool does not allow external access (503 error again). It is not a firewall issuee because I've set an inbound rule.
  • I've checked multiple configurations of the pool without success.

 

Does anyone have an idea on how to deploy, on the same machine, a Javascript application and give external access to it using the site name (the web adaptor name)? I have been taking a look to many resources without success.

 

Thanks in advance and sorry if these kind of questions are too obvious.

 

Regards.

 

Constan.

0 Kudos
8 Replies
MatthewBaker2
Occasional Contributor II

All,

We're having the exact same issue. ESRI Tech support has ping-ponged back and forth several times to our Systems staff, and we're currently deadlocked.

Constan: did you ever resolve this issue? I would love to hear what you did.

-m

0 Kudos
LuciHawkins
Occasional Contributor III

We have been able to get it to perform on two different servers.

Server 1 we have an IIS - "Intranet" - html/javascript website utilizing the rest services on the ArcGIS Server 10.2.2 installed on that same server.  The web adaptor is installed and is configured as:   http://machinename:6080

If you are on the internal network - you reach the default IIS website by entering   http://machinename

This server is not accessable from outside of our network without a VPN connection.

Server 2 we have an IIS - "Internet" - html/javascript website utilizing the rest services on the ArcGIS Server 10.2.2 installed on that same server.  The web adaptor is installed and is configured as:  http://gis.orgname.com:6080

Our IT department registered http://gis.orgname.com  so that any DNS will resolve it to our server and it will open the default IIS website on Server 2.

Do you have "sitename.com" registered and setup so that any DNS resolves it to your IP address?

Thanks,

Luci

0 Kudos
MatthewBaker2
Occasional Contributor II

Luci,

We have http://externalDevSite.domain.org/ pointing to http://internalDevSite/

Any requests to http://externalDevSite.domain.org:6080/arcgis/rest go right to ArcGIS server as designed.

Our problem is:

1) the root http://externalDevSite.domain.org/ goes right to http://externalDevSite.domain.org/arcgis- we cannot hit our IIS landing page from the external network, as everything is redirected to the ./arcgis suffix.

2) Most importantly (frustratingly), requests to the application we have deployed at http://externalDevSite.domain.org/devwebsite cannot be resolved. ESRI throws it back to our Systems department, who checks everything off just fine, and throws it back to ESRI.

Thanks!

0 Kudos
LuciHawkins
Occasional Contributor III

Hey Matt,

Do any requests (without the port number)   http://externalDevSite.domain.org/arcgis/rest  go to the ArcGIS server?

1) the root http://externalDevSite.domain.org/ goes right to http://externalDevSite.domain.org/arcgis- we cannot hit our IIS landing page from the external network, as everything is redirected to the ./arcgis suffix. - Why is everything redirected to /arcgis?

Luci

0 Kudos
MatthewBaker2
Occasional Contributor II

Hi Luci,

No, as far as I remember, requests to server w/out the port # do not go to ArcGIS server. (I say as far as I remember because our GIS server is offline due to all this support poking and proding...)

And - no one has any idea why everything is re-directed to /arcgis... that's the mystery here!

0 Kudos
LuciHawkins
Occasional Contributor III

Matt,

I would check to see if Web Adaptor has been installed and if so, was it configured properly.

Then I would try to figure out why IIS seems to think that http://externalDevSite.domain.org/arcgis  is the default website. 

Luci

0 Kudos
MatthewBaker2
Occasional Contributor II

Luci,

ESRI Tech support confirmed all the web adaptor components were installed and configured correctly and that the web adaptor was functioning properly.

As for the IIS default app... again, neither ESRI nor our Systems folks can figure that out...

0 Kudos
LuciHawkins
Occasional Contributor III

Sorry, but I am leaving for vacation for a week.  Hope you get it figured out.  I'll check back with the discussion when I get back

0 Kudos