Editing javasds-app-config.properties
To specify a nondefault location for the services directory, you must edit the javasds-app-config.properties file before deploying the war file. The javasds-app-config.properties file is packaged inside the arcgis.war file; therefore, extract the arcgis.war file and alter the javasds-app-config.properties file after installing ArcGIS Spatial Data Server for Java but before you deploy it.
Steps:
- After installing ArcGIS Spatial Data Server for Java and the JDK, make a backup copy of the arcgis.war file.
Store the backup copy in a directory outside your application server directory structure.
- Extract the arcgis.war file and put it in a temporary directory.
jar xf arcgis.war
-
Edit the javasds-app-config.properties file.
This file is in the \WEB-INF\classes directory.
- Save and close the javasds-app-config.properties file.
- Repackage the arcgis.war file.
jar uf arcgis.war
- Deploy the arcgis.war file as described in the topics appropriate for your web application server.
Related Topics
7/19/2012