Located in <SAM III install directory>/config/server.config
If you want to change any of the defaults, go to the server.config file in the SAM 3 install directory and remove the '#' character in front of the pertinent entry.
#server.hostname=192.168.1.10
- Hostname for the SAM server to run on. Default – localhost.
#server.http.enabled=true
- <true> - enable http server. <false> disable http server. Default – true
server.http.port=80
- Port that the http server runs on. Default – 80
server.https.enabled=true
- <true> - enable https server. <false> disable https server. Default – true
server.https.port=443
- Port that the https server runs on. Default – 443
#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 the ips set in this list will have access to the SAM server.
rfid.enabled=true
- <true> - enables the RFID listener service for the fixed RFID readers to send the tagstream to. <false> - disables RFID service.
rfid.alien.port=4000
- Port that the RFID listener service listens on.
#database.maxConnections=10
- The maximum connections allowed per database (Default: 10)
#database.timeout=5000
- The database connection timeout in milliseconds (Default: 5000)
#database.idleTimeout=300000
- The database connection idle timeout in milliseconds (Default: 300000)
#database.maxLifetime=28740000
- The maximum database connection lifetime in milliseconds (Default: 28740000)
database.server.url=jdbc:mysql://<hostname>/sam
- JDBC url to the base SAM database hosted by the MySQL server
database.server.user=<MySQL_root_user>
- MySQL root SAM database user
database.server.password=<MySQL_root_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. Default - MM/dd/yy HH:mm:ss
log.level=DEBUG
- Log level. <DEBUG> <WARNING> <ERROR>