HOW TO
Instructions provided describe how to create new internal SOAP and REST end points for the built-in Tomcat Web server at port 8399 on the ArcGIS Server for the Java platform. Additional or alternative SOAP and REST end point names may be preferred or required within the same built-in port 8399.
Also, creating new SOAP and REST end points might help to troubleshoot connectivity and usability problems with ArcGIS Server on port 8399.
Note:
While the concepts presented here apply to both the Windows and Unix/Linux platforms, the steps provided are for ArcGIS Server for the Java platform on a Windows environment.
Code:
<Context path="" docBase="../"/>
<Context path="/arcgis/kml" docBase="../kml"/>
<Context path="/arcgis/wms" docBase="../wms"/>
<Context path="/arcgis/enterprise" docBase="../enterprise"/>
<Context path="/arcgis/explorer" docBase="../explorer"/>
<Context path="/arcgis/manager" docBase="../manager"/>
<Context path="/arcgis/applications" docBase="../applications"/>
<Context path="/arcgis/server" docBase="c:/arcgisserver"/>
<Context path="/arcgis/rest" docBase="../rest"/>
<Context path="/newarcgis/newrest" docBase="../newrest"/>
<Context path="/arcgis/sdk" docBase="../sdk"/>
<Context path="/arcgis/services" docBase="../services"/>
<Context path="/newarcgis/newservices" docBase="../newservices"/>
<Context path="/arcgis/tokens" docBase="../tokens"/>
Note:
Alternatively, the existing arcgis_wshandler.properties file can be edited manually, but the password cannot be encrypted. The edited file should appear as follows:
Code:
arcgis.som.domain=server_name
arcgis.som.username=arcgismanager
arcgis.som.password=arcgis_manager_password
arcgis.som.password.encrypted=false
#cluster type can be none or failover or roundrobin
arcgis.som.resource.clustertype=none
arcgis.som.resource.hosts=server_name
#recheck failed som after n incoming request
arcgis.som.recheckfailedsomcount=100
#List of foldernames to allow; the default is blank, causing all folders to be allowed
#set timeout for check tile file access. Timeout unit is second.
arcgis.webservice.generatedtileaccess.timeout=60
arcgis.som.foldernames=
arcgis.webservices.relativeurls=false
arcgis.webservices.security.authenticationtype=NONE
arcgis.webservices.security.roles=.
arcgis.webservices.security.tokenserviceurl=
Note:
Alternatively, the existing server.properties file can be edited manually, but the password cannot be encrypted. The edited file should appear as follows:
Code:
com.esri.rest.HOST=${Host}
com.esri.rest.DOMAIN=server_name
com.esri.rest.USER_NAME=arcgismanager
com.esri.rest.PASSWORD=arcgis_manager_password
com.esri.rest.PASSWORD_ENCRYPTED=false
com.esri.rest.SOAP_URL=http://server_name:8399/arcgis/services
com.esri.rest.SOAP_HTTPS_URL=
#Secondary Hosts (for failover / roundrobin), if any - comma separated. e.g. host2, host3
com.esri.rest.SECONDARY_HOSTS=
#If secondary hosts are specified, the type of server cluster. Valid values are: failover, roundrobin
com.esri.rest.SERVER_CLUSTER_TYPE=${ServerClusterType}
Get help from ArcGIS experts
Download the Esri Support App