Difference between revisions of "Networking.properties"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 245: Line 245:
::* This property allows the user to configure the size of the PDF file that is generated by clicking '''Print''' from the '''Actions''' dropdown of a record.
::* This property allows the user to configure the size of the PDF file that is generated by clicking '''Print''' from the '''Actions''' dropdown of a record.
|<tt>page_dimension=Letter</tt> (enabled)
|<tt>page_dimension=Letter</tt> (enabled)
Other sample values:
:<tt>page_dimension=A4</tt>
:<tt>page_dimension=A3</tt>
|}
|}
<noinclude>
<noinclude>

Revision as of 05:08, 20 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)

On behalf of email disabled

Parameter Default Setting
on_behalf_of_email_disabled
Notes and Usage:
  • This property is used to disable the emails which are sent by email ids or domains other than AgileApps emails to avoid email spoofing.
#on_behalf_of_email_disabled=0 (disabled)

Digitally sign email enabled

Parameter Default Setting
digitally_sign_email_enabled
Notes and Usage:
  • This property is used to enable digital signature for the emails which are sent by AgileApps.
#digitally_sign_email_enabled=0 (disabled)

Digitally sign digest algorithm

Parameter Default Setting
digitally_sign_digest_algorithm
Notes and Usage:
  • This property is used to select a valid digest algorithm.
  • Supported algorithms are DIGEST_SHA1, DIGEST_MD5, DIGEST_SHA256, DIGEST_SHA384, and DIGEST_SHA512.
#digitally_sign_digest_algorithm=DIGEST_SHA512 (disabled)

Digi sign email key alias

Parameter Default Setting
digiSignEmailKeyAlias
Notes and Usage:
  • This property specifies the key alias in the digital signature certificate.
#digiSignEmailKeyAlias=longjump (disabled)

Passman configuration file

Parameter Default Setting
passmanConfigFile
Notes and Usage:
  • This property specifies the file path of the configuration file that is used for securing keystore password of the certificate.
#passmanConfigFile=<file_path> (disabled)

Code instrumentation enabled

Parameter Default Setting
code_instrumentation_enabled
Notes and Usage:
  • This property enables code instrumentation for custom Class and JSP.
code_instrumentation_enabled=0 (disabled)

mcode_instrumentation_enabled=1 (enabled)

Messaging channel

Parameter Default Setting
messaging_channel
Notes and Usage:
  • This property enables Process Engine to communicate through Universal Messaging allowing you to create a case when a step executes and a case spawns a process.
messaging_channel=0 (disabled)

messaging_channel=1 (enabled)

Page dimension

Parameter Default Setting
page_dimension
Notes and Usage:
  • This property allows the user to configure the size of the PDF file that is generated by clicking Print from the Actions dropdown of a record.
page_dimension=Letter (enabled)

Other sample values:

page_dimension=A4
page_dimension=A3