Select to view content in your preferred language

installing Web Adaptor IIS SP1

9338
20
07-26-2013 06:47 PM
TimHayes
Frequent Contributor
We already are running ArcGIS Server 10.1. Just installed SP1. I have map services running in a virtual directory in inetpub wwwroot on our machine's c drive.

However, after I upgraded to IIS SP1 I get the following error after I complete the Config:

Application Error

Failed to get administrator token from the GIS server. Please verify that the GIS Server URL specified can be accessed successfully


I can no longer access ArcGIS Server Manager. I am the ArcGIS Server Administrator and Machine Administrator. All was good before I installed IIS SP1.

Any ideas on what could be wrong?
0 Kudos
20 Replies
BubbaHey
Deactivated User
Make sure World Wide Web service is started.

Also,if using a firewall, make sure ports are open.

See:


http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000537000000
0 Kudos
TimHayes
Frequent Contributor
Make sure World Wide Web service is started.

Also,if using a firewall, make sure ports are open.

See:


http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000537000000


I see in Server Manager that the World Wide Wed Publishing is Started and set to Automatic. I restarted it.

The Windows Firewall Service is Started and set to Automatic. I restarted it.

Still the same results.

In Services Manager, I checked Windows Firewall with Advanced Security, says Firewall is off.
0 Kudos
ThomasMontefusco
Deactivated User
Check to see if one of these bugs applies:



Bug NIM-087508
Cannot configure ArcGIS Server to use Active Directory as the identity store if the user account provided is restricted from logging onto the Active Directory host.
http://support.esri.com/en/bugs/nimbus/TklNMDg3NTA4

Fixed in 10.2

Bug NIM-087257

Users in a lot of groups cannot authenticate when using HTTPS, ActiveDirectory, and web tier authentication together.

Workaround:

1. Open arcgis/server/framework/runtime/tomcat/conf/server.xml in a text editor.
2.  Look for this text at the end of the file:

  <Connector SSLEnabled="true" clientAuth="false" keyAlias="SelfSignedCertificate" keystoreFile="/opt/esri/3135_upgrade/arcgis/server/usr/config-store/machines/RHDAILY.ESRI.COM/arcgis.keystore" keystorePass="<blah blah blah>" maxThreads="150" port="6443" protocol="org.apache.coyote.http11.Http11Protocol" scheme="https" secure="true" sslProtocol="TLS"/>

3. Insert maxHttpHeaderSize="65535"  as an attribute of the XML so that it looks like this:

<Connector SSLEnabled="true" clientAuth="false" keyAlias="SelfSignedCertificate" keystoreFile="/opt/esri/3135_upgrade/arcgis/server/usr/config-store/machines/RHDAILY.ESRI.COM/arcgis.keystore" keystorePass="<blah blah blah>" maxThreads="150" port="6443" protocol="org.apache.coyote.http11.Http11Protocol" scheme="https" secure="true" sslProtocol="TLS" maxHttpHeaderSize="65535"/>
0 Kudos
BubbaHey
Deactivated User
Even if the Firewall is disabled, make sure port 6080 is open. Also what path are you using to access Web Adaptor. For example:

http://localhost/arcgis/webadaptor

Did you enable SSL? If so, make sure you followed this procedure:

http://resources.arcgis.com/en/help/main/10.1/index.html#/Enabling_SSL_on_ArcGIS_Server_when_accesse...
0 Kudos
TimHayes
Frequent Contributor
Even if the Firewall is disabled, make sure port 6080 is open. Also what path are you using to access Web Adaptor. For example:

http://localhost/arcgis/webadaptor

Did you enable SSL? If so, make sure you followed this procedure:

http://resources.arcgis.com/en/help/main/10.1/index.html#/Enabling_SSL_on_ArcGIS_Server_when_accesse...



Yes, I am using http://localhost/arcgis/webadaptor

I cannot enablke SSL because I cannot gain access to:
http://gisserver:6080/arcgis/admin
0 Kudos
TimHayes
Frequent Contributor
Even if the Firewall is disabled, make sure port 6080 is open. Also what path are you using to access Web Adaptor. For example:

http://localhost/arcgis/webadaptor

Did you enable SSL? If so, make sure you followed this procedure:

http://resources.arcgis.com/en/help/main/10.1/index.html#/Enabling_SSL_on_ArcGIS_Server_when_accesse...


How do I check if port 6080 is open?
0 Kudos
TimHayes
Frequent Contributor
Check to see if one of these bugs applies:



Bug NIM-087508
Cannot configure ArcGIS Server to use Active Directory as the identity store if the user account provided is restricted from logging onto the Active Directory host.
http://support.esri.com/en/bugs/nimbus/TklNMDg3NTA4

Fixed in 10.2

Bug NIM-087257

Users in a lot of groups cannot authenticate when using HTTPS, ActiveDirectory, and web tier authentication together.

Workaround:

1. Open arcgis/server/framework/runtime/tomcat/conf/server.xml in a text editor.
2.  Look for this text at the end of the file:

  <Connector SSLEnabled="true" clientAuth="false" keyAlias="SelfSignedCertificate" keystoreFile="/opt/esri/3135_upgrade/arcgis/server/usr/config-store/machines/RHDAILY.ESRI.COM/arcgis.keystore" keystorePass="<blah blah blah>" maxThreads="150" port="6443" protocol="org.apache.coyote.http11.Http11Protocol" scheme="https" secure="true" sslProtocol="TLS"/>

3. Insert maxHttpHeaderSize="65535"  as an attribute of the XML so that it looks like this:

<Connector SSLEnabled="true" clientAuth="false" keyAlias="SelfSignedCertificate" keystoreFile="/opt/esri/3135_upgrade/arcgis/server/usr/config-store/machines/RHDAILY.ESRI.COM/arcgis.keystore" keystorePass="<blah blah blah>" maxThreads="150" port="6443" protocol="org.apache.coyote.http11.Http11Protocol" scheme="https" secure="true" sslProtocol="TLS" maxHttpHeaderSize="65535"/>


I did this, and I do not even see this code in the xml file. Should I just copy and paste it? if so, where?
0 Kudos
TimHayes
Frequent Contributor
I did this, and I do not even see this code in the xml file. Should I just copy and paste it? if so, where?


Here is my server.xml file:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!-- Note:  A "Server" is not itself a "Container", so you may not
     define subcomponents such as "Valves" at this level.
     Documentation at /docs/config/server.html
-->
<Server port="6006" shutdown="SHUTDOWN">

  <!--APR library loader. Documentation at /docs/apr.html -->
  <Listener SSLEngine="on" className="org.apache.catalina.core.AprLifecycleListener"/>
  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
  <Listener className="org.apache.catalina.core.JasperListener"/>
  <!-- Prevent memory leaks due to use of particular java/javax APIs-->
  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>

  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/>

  <!-- Global JNDI resources
       Documentation at /docs/jndi-resources-howto.html
  -->
  <GlobalNamingResources>
    <!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate users
    -->
    <Resource auth="Container" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" name="UserDatabase" pathname="conf/tomcat-users.xml" type="org.apache.catalina.UserDatabase"/>
  </GlobalNamingResources>

  <!-- A "Service" is a collection of one or more "Connectors" that share
       a single "Container" Note:  A "Service" is not itself a "Container",
       so you may not define subcomponents such as "Valves" at this level.
       Documentation at /docs/config/service.html
   -->
  <Service name="Catalina">
 
    <!--The connectors can use a shared executor, you can define one or more named thread pools-->
    <!--
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="150" minSpareThreads="4"/>
    -->
   
   
    <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL HTTP/1.1 Connector on port 6080
    -->
    <Connector connectionTimeout="20000" maxHttpHeaderSize="65535" maxPostSize="10485760" port="6080" protocol="HTTP/1.1" redirectPort="6443" server=" "/>
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="6080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="6443" server=" "/>
    -->          
    <!-- Define a SSL HTTP/1.1 Connector on port 6443
         This connector uses the JSSE configuration, when using APR, the
         connector should be using the OpenSSL style configuration
         described in the APR documentation -->
    <!--
    <Connector maxHttpHeaderSize="65535" port="6443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" server=" "/>
    -->

    <!-- Define an AJP 1.3 Connector on port 6009 -->
    <!--<Connector port="6009" protocol="AJP/1.3" redirectPort="6443"/>-->


    <!-- An Engine represents the entry point (within Catalina) that processes
         every request.  The Engine implementation for Tomcat stand alone
         analyzes the HTTP headers included with the request, and passes them
         on to the appropriate Host (virtual host).
         Documentation at /docs/config/engine.html -->

    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">        
    -->
    <Engine defaultHost="localhost" name="Catalina">

      <!--For clustering, please take a look at documentation at:
          /docs/cluster-howto.html  (simple how to)
          /docs/config/cluster.html (reference documentation) -->
      <!--
      <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
      -->       

      <!-- The request dumper valve dumps useful debugging information about
           the request and response data received and sent by Tomcat.
           Documentation at: /docs/config/valve.html -->
      <!--
      <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
      -->

      <!-- Use the LockOutRealm to prevent attempts to guess user passwords
           via a brute-force attack -->
      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <!-- This Realm uses the UserDatabase configured in the global JNDI
             resources under the key "UserDatabase".  Any edits
             that are performed against this UserDatabase are immediately
             available for use by the Realm.  -->
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase"/>
      </Realm>
      <!--  Custom Security realm for ArcGIS      -->
      <Realm className="com.esri.arcgis.discovery.security.tomcat.realm.ArcGISRealm"/>


      <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">

        <!-- SingleSignOn valve, share authentication between web applications
             Documentation at: /docs/config/valve.html -->
        <!--
        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
        -->

        <!-- Access log processes all example.
             Documentation at: /docs/config/valve.html
             Note: The pattern used is equivalent to using pattern="common" -->
<!--   
    <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>

-->
<Context docBase="../../../../help/server_help" path="/arcgis/help"/>
  <Context docBase="../../../../help/SDK" path="/arcgis/sdk"/>
  <Context docBase="../../../../help/SDK/REST" path="/arcgis/sdk/rest"/>
  <Context docBase="../../../../help/SDK/SOAP" path="/arcgis/sdk/soap"/>
<!--   <Context docBase="webservices" path="/arcgis/services"/>
   <Context docBase="rest" path="/arcgis/rest"/>  
   <Context docBase="manager" path="/arcgis/manager"/>
   <Context docBase="agsadmin" path="/arcgis/admin"/>
   <Context docBase="tokens" path="/arcgis/tokens"/>-->
   <!--<Context docBase="tomcat-manager" path="/tomcatmgr" privileged="true"/>-->
      </Host>
    </Engine>
  </Service>
</Server>
0 Kudos
BubbaHey
Deactivated User
If using http://localhost/arcgis/webadaptor try the FQDN instead. For example: http://bubba.bubba.com/arcgis/webadaptor

There are different ways, try netstat -an | find "6080" or telnet

telnet [domainname or ip] [port]
0 Kudos