Moxi Media Inc.
imf.properties Discussion Forum

IMF Developer's Guide » imf.properties  

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.

Note: The sample imf.properties file distributed with v4.0.6 contains an incorrect property name "imf-path". The correct property name should be "imf-url-path" as shown in this document.

# File: imf.properties
#
# Note: Lines starting with the # symbol are comments. You may have to
#       uncomment some statements to activate them.
#
# 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

#
# 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

#
# 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:/apps_nt/web-folder/pdf/
pdf-url-path = http://moximedia.com/pdf/

#
# Directory to put server side session files in. This doesn't
# need to be a web folder.
#
session-directory = C:/apps_nt/sessions/

#
# 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, if used. The location extent table
# is used by many of the find-location routines.
#
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. The place name table is used
# by the Zoom to Place Name find-location routine.
#
place-name-table = ARCIMS.PLACE_NAME
place-name-column-identifier = PLACE_NAME
place-name-column-x = X
place-name-column-y = Y

#
# Identify results table definition. This table is used by the 
# urlTable identify and selection reporting routines.
#
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 = 100

#
# Settings for upload routines
#
upload-max-size = 4000000
upload-directory = c:/temp/