SAM III Server Configuration Settings

About

The settings are stored in a text file located at [SAM III install directory]/config/server.config. The default location is C:\Program Files (x86)\SAM III\config\server.config. If you want to change any of the defaults, open this file as an administrator in Notepad and remove the ‘#’ character in front of setting.

The settings below are listed with their default value and an explanation of what the setting does in a comment below it. Do not remove the hashtag in front of the comment text.

Settings


# server.hostname = localhost
# Hostname for the SAM server to run on.

# server.http.enabled = true
# enable http server.
# disable http server.

# server.http.port = 80
# Port that the http server runs on. Default – 80

# server.https.enabled = true
# enable https server.
# disable https server.

# server.https.port = 443
# Port that the https server runs on.

# server.https.ssl-keystore = SAM.jks
# SSL keystore file

# server.https.keystore-password =
# SSL keystore password

# server.ip.whitelist = 12.0.0.1
# Comma separated list of IPs to whitelist. When enabled, only these IPs will have access.

# rfid.enabled = false
# Enable the RFID listener service for the fixed RFID readers.
# Disable RFID service.

# rfid.alien.port = 4000
# Port that the RFID listener service listens on.

# database.maxConnections = 10
# The maximum connections allowed per database

# database.timeout = 5000
# The database connection timeout in milliseconds

# database.idleTimeout = 300000
# The database connection idle timeout in milliseconds

# database.maxLifetime = 28740000
# The maximum database connection lifetime in milliseconds

# database.server.url = jdbc:mysql:///sam
# JDBC url to the base SAM database hosted by the MySQL server

# database.server.user =
# MySQL root SAM database user

# database.server.password =
# MySQL root SAM database password

# log.file = SAMServer.log
# Location to output log. Default – console

# log.date-format = MM/dd/yy HH:mm:ss
# Log date format.

# log.level = DEBUG
# Log level.