networking.properties

From AgileApps Support Wiki
Revision as of 10:12, 7 December 2016 by imported>Aeric

The networking.properties configuration file is used to enable or disable backend servers and configure performance parameters. (The settings apply to all tenants.)

This file can also be modified manually, after which the server will need to be restarted. Often, other servers will need to be modified in compatible ways. When that is the case:

  1. The modifications should be made to the networking.properties files for all servers.
  2. All the servers should then be brought down
  3. The servers can then be restarted.

The networking.properties file is located in the following directory:

{install_dir}/profiles/LJP/configuration/tomcat/conf/RN
directory

Changing Configuration Parameters

To enable a configuration parameter, remove the Hash mark (#):

config_param (Enabled)

To disable a configuration parameter, add a Hash mark (#):

#config_param (Disabled)

After changing parameters, Restart the Application Server to read the new values.

Warn.png

Warning: Do not change the DBSource property. It's value (RN) is the alias used by the Application Server to connect to the data source. If inadvertently changed, the platform won't run.

Report Scheduler Service

Parameter Default Setting
report_scheduler_manager_instance
report_threads
Notes and Usage:
  • If report_scheduler_manager_instance is enabled, then report_threads must also be enabled
  • The report_threads parameter defines the number of threads to be spawned. It can be changed to manage performance.
Learn more: Tuning Report Threads

#report_scheduler_manager_instance =1 (Disabled) #report_threads=2 (Disabled, Default = 2)

Import Service

Parameter Default Setting
import_manager_instance
Notes and Usage:
  • In distributed server environments, this parameter should be enabled on a single server, only
Learn more: Data Import'
#import_manager_instance = 1 (Disabled)

Export Service

Parameter Default Setting
export_manager_instance
Notes and Usage:
  • In distributed server environments, this parameter should be enabled on a single server, only
Learn more: Export Queue
#export_manager_instance = 1 (Disabled)

Memcached Service

Parameter Default Setting
MemCachedServers=localhost:1121
Notes and Usage:
  • Hostname and Port must match values set at installation
  • Learn more: Installation FAQs
Distributed Caching
Multiple memcached servers can be used for distributed access, and minimized response time:
MemCachedServers=172.28.1.10:11211 172.28.0.120:11211
Notes:
  • The value is space-separated list of server IP addresses and port numbers (11211, in this example)
  • Make sure that all instances are configured the same way, to keep the caches in sync.
Learn more: Configuring memcached
#MemCachedServers=localhost:1121 (Disabled)

Bounce Service

Parameter Default Setting
third_party_marketing_campaign_bounce_processing
Learn more: Email Bounce Notification
third_party_marketing_campaign_bounce_processing=1 (Enabled)

One-Click Document Viewing

When enabled, .docx files and PDFs added as attachments appear in a pop-up PDF viewer when clicked. When turned off, only images appear in a popup when clicked. Other documents must be downloaded to be viewed.

Parameter Notes

<syntaxhighlight lang="apache" enclose="div">

  1. One-Click Document Viewing

open_office_enabled=1 open_office_host= open_office_port= </syntaxhighlight>

  • Requires OpenOffice to be installed on the application server.
    Learn more: Software Requirements
  • Default OpenOffice port is 8100.
  • Default host is localhost.