Skip to main content
Version: 6.1

Application Configuration (application.conf)

Application Configuration (application.conf)

This application.conf file is the configuration file for the server.
You can find this file in B2Win Suite Home directory under conf folder

It will only be loaded when the server starts, editing it while the server is running won’t affect the server until restarted.
We will go through the settings that you can edit in this file.

Note: Not all the settings in this file can be changed, since some of them might damage the system or wipe out data, so we highly recommend you to consult us before changing any of the settings we didn’t mention in the manual.

General Settings

application.baseUrl = “http://localhost:9000
This should be the full url where you can access B2Win Suite Server, without changing this everything will work fine, but emails sent by the system will have the link specified here to direct the users to login through it, so we highly recommend placing a valid URL and accessible to all your users.

SMTP Settings

SMTP Server settings that is used for sending emails from the system, to configure smtp server you need to open application.conf file and edit these lines:

Example configuration for using SMTP server from gmail:

\# SMTP Settings  
mail.smtp {
timeout \= 60000
connectiontimeout \= 5000
starttls.enable \= "true"
debug \= "false"
custom.factory \= false

\# Global SMTP Server
auth \= "true"
ssl \= "false"
host \= "smtp.gmail.com"
port \= "587"
login \= "nazdaq@gmail.com"
password \= "yourpassword"
from \= "nazdaq@gmail.com"
maxretry \= 3
}

User Configuration

The configuration you can edit for user login and working in system for user sessions:

login.retry.mins – How many minutes to wait after you have inserted wrong password for number of time (In Minutes, Default: 15)

login.retry.count – How many failed login can be tried before blocking you for number of minutes

login.resetpass.expire – When you request a password reset or forgot password, how many days should the new reset link works (In days, Default: 3)

login.expiration – How many hours should the session be opened before it expires in the browser (With removing all the cached/stored session data). (In Hours, Default: 3)

login.idletime - Idle time until we show login expiring dialog to the user (In seconds, Default: 1800)

login.idletimeout - Timeout from the appearing of the Expire Login until the actual logout process (In seconds, Default: 120)

login.keepalivetime - The interval to checking online clients or updating jobs in browser (In seconds, Default: 5)