The imf.properties file is used to configure the general IMF properties. The file
comments are quite descriptive, so you should be able to figure it out from the
following listing. This page is for intended IMF application administrators only.
The imf.properties file doesn't need to be modified for individual IMF sites.
# File: imf.properties
#
# Note: Lines starting with the # symbol are comments. You may have to
# uncomment some statements to activate them.
#
#
# Logging level for IMF log messages to the console or standard out.
# Choose from SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST.
#
log-level = WARNING
# Allowed configurers. If you want to restrict where the site configuration
# is allowed to come from, put the IP addresses of the allowed servers in the
# following property, separated by spaces or commas.
#
# configurers = 142.36.44.43,209.126.159.110
#
# Set the argument capabilities of imf.jsp. If any of these values are
# false, they will not be considered by the startup script when imf.jsp
# is run. For example, if allow-service is false, the imf.jsp will not
# read the server=, servlet=, or service= parameters.
#
allow-config = true
allow-service = true
#
# SMTP (mail) server host name for use with e-mail tool. Set this to the
# IP address or server name of your SMTP mail host.
#
mail-server = localhost
#
# IMF application URL path. Normally, this is set automatically on
# startup, but the calculated path can be incorrect if your server
# uses URL rewriting or port forwarding. The value should be the
# part of the URL to where the IMF jsps are, such as imf.jsp. Do not
# put a trailing "/" on the value. Example value below:
#
# imf-url-path = http://www.moximedia.com/imf-aims50
#
# Calculate the imf path using the hostname in the request header
# X-FORWARDED-HOST if IMF is behind an Apache mod_proxy and the
# check-apache-proxy flag is true.
#
# check-apache-proxy = "true"
#
# PDF output directory name and URL path. Set the physical disk
# location of where your PDF images will be created, and the
# URL prefix that is added to the image name so they can be
# downloaded by the user using the Internet. Note that the PDF
# process does not delete these files automatically, so you should
# clean them out periodically or develop a scheduled task to do this.
#
pdf-directory = c:/web-site-files/imf-temp/
pdf-url-path = http://www.moximedia.com/imf-temp/
#
# Directory to put server side session files in. This SHOULD NOT
# be a web folder. Server side session files are "touched" each
# time that they are used, changing the file date. You may wish
# to remove old session files from this directory, as it indicates
# that they haven't been used recently.
#
session-directory = c:/user-imf-files/session/
#
# Connection parameters for direct connections to SDE instance. These
# settings are used for the find by SDE and symbolize by SDE routines.
# Note that the driver and string settings are for normal JDBC connections
# to the database while the others are for connections that use ESRI's
# Java API for SDE.
#
sde-connection-server = slkux1.env.gov.bc.ca
sde-connection-port = 5153
sde-connection-database = IDWPROD1
sde-connection-user = myusername
sde-connection-password = mypassword
sde-connection-driver = oracle.jdbc.driver.OracleDriver
sde-connection-string = jdbc:oracle:thin:@slkux1.env.gov.bc.ca:1521:IDWPROD1
#
# Connection parameters for database connection. Examples for Oracle and SQL
# Server are shown, but only one can be active. Note that if you use database
# connections, you may have to install JDBC drivers on your IMF server.
# Substitute valid values for server_name and database_name in the examples below.
#
# Oracle example:
# connection-driver = oracle.jdbc.driver.OracleDriver
# connection-string = jdbc:oracle:thin:@server_name:1521:database_name
# connection-user = arcims
# connection-password = secret
# SQL Server example:
# connection-driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
# connection-string = jdbc:microsoft:sqlserver://server_name:4193;DatabaseName=database_name
# connection-user = arcims
# connection-password = secret
#
# Location extent table definition
#
location-extents-table = ARCIMS.LOCATION_EXTENTS
location-extents-column-type = LOCATION_TYPE
location-extents-column-identifier = IDENTIFIER
location-extents-column-minx = MIN_X
location-extents-column-miny = MIN_Y
location-extents-column-maxx = MAX_X
location-extents-column-maxy = MAX_Y
#
# Place name table definition
#
place-name-table = ARCIMS.V_NAMES_IMF
place-name-column-identifier = PLACE_NAME
place-name-type-column-identifier = PLACE_CODE
place-name-column-x = LON
place-name-column-y = LAT
#
# Identify results table definition
#
identify-results-table = ARCIMS.IDENTIFY_RESULTS
identify-results-column-session = SESSION_ID
identify-results-column-date = DATE_STAMP
identify-results-column-prefix-text = TEXT_
identify-results-column-prefix-number = NUM_
#
# WMS layer basic authentication for secure services. There are
# two options for specifying authentication, both controlled by
# attributes in the <WMS-SERVICE> element. The first method is
# to simply put the authentication string in the "authentication"
# attribute like authentication="user:password". Since the map
# XML could be displayed by the user if it isn't secure, the
# second method is to put reference to an authentication ID in
# the <WMS-SERVICE> element like authentication-id="AUTH_KEY" that
# refers to an entry in this file with the same arbitrary ID.
# Example: AUTHKEY = user:password
#
AUTH_PIXXURES = somebody:secret
#
# Maximum number of layers that can be added using the layer manager
#
layer-manager-limit = 50
#
# Settings for upload routines. The specified directory must be readable
# and writable by the account used for your servlet engine. For security
# reasons, it SHOULD NOT be a web folder. It is dangerous to allow users
# to upload files that can then be opened in their browser. Note that the
# uploaded files are not automatically deleted, so you should clean them
# out periodically or develop a scheduled task to do this.
#
upload-max-size = 4000000
upload-directory = c:/user-imf-files/upload/