Difference between revisions of "Networking.properties"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 6: Line 6:
In case of multiple servers, the <tt>networking.properties</tt> configurations should be in sync across all the servers.  
In case of multiple servers, the <tt>networking.properties</tt> configurations should be in sync across all the servers.  


#Modifications should be made to the <tt>networking.properties</tt> files for all the servers.
#Modify the <tt>networking.properties</tt> file for all the servers.
#Shut down the servers.
#Shut down the servers.
#Start the servers.
#Start the servers.

Revision as of 09:08, 15 February 2017

The networking.properties configuration file is used to enable or disable back end servers and configure performance parameters. These settings apply to all the tenants.

The networking.properties file can also be modified manually, after which the server should be shut down and started again.

In case of multiple servers, the networking.properties configurations should be in sync across all the servers.

  1. Modify the networking.properties file for all the servers.
  2. Shut down the servers.
  3. Start the servers.

The networking.properties file is located at {install_dir}/profiles/LJP/configuration/tomcat/conf/RN directory

Changing Configuration Parameters

To enable a configuration parameter, remove the pound key (#):

config_param (Enabled)

To disable a configuration parameter, add a pound key (#):

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

CacheType

Parameter Default Setting
CacheType
Notes and Usage:
  • CacheType value determines the cache to be used - EHCache or Memcached
  • CacheType value 1 is for Memcached, CacheType value 2 is for EHCache
  • By default, “1” is selected
#CacheType=1 (Disabled)

CacheName

Parameter Default Setting
CacheName
Notes and Usage:
  • Comes into effect when EHCache is selected. CacheType=2
  • local is for in-memory EHCache, distributed is for distributed EHCache using Terracotta Server
  • local or distributed cache is defined at {install_dir}/profiles/LJP/configuration/tomcat/conf/RN directory/ehcache.xml
  • New cache configuration can be created in {install_dir}/profiles/LJP/configuration/tomcat/conf/RN directory/ehcache.xml with a unique name for the cache and CacheName property can be set to this unique name
  • By default, “localCache” is selected
#CacheName=localCache (Disabled)