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:
  1. 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.

  2. Extract the arcgis.war file and put it in a temporary directory.

    jar xf arcgis.war

  3. Edit the javasds-app-config.properties file.

    This file is in the \WEB-INF\classes directory.

  4. Save and close the javasds-app-config.properties file.
  5. Repackage the arcgis.war file.

    jar uf arcgis.war

  6. Deploy the arcgis.war file as described in the topics appropriate for your web application server.

Related Topics

7/19/2012