Difference between revisions of "Local system configuration"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
m (7 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
* Server daemon autostart
* Server daemon autostart
* SMTP server testmode
* SMTP server testmode
 
* Base schema name




Line 14: Line 14:
* The syntax for naming is: "Policy." + configuration name
* The syntax for naming is: "Policy." + configuration name
** Boolean values use: [true|false]
** Boolean values use: [true|false]


=== Example ===
=== Example ===
Line 20: Line 21:
   <Context path="/TempusServa" >
   <Context path="/TempusServa" >
       <Parameter name="Policy.applicationName" value="Test server"/>
       <Parameter name="Policy.applicationName" value="Test server"/>
       <Parameter name="Policy.doMainMenuAccordion" value="false"/>
       <Parameter name="Policy.smtpTestMode" value="true"/>
      <Parameter name="Policy.dbNameBase" value="sandboxtest"/>
      /* More configuration values  */
       /* Connection strings etc.  */
       /* Connection strings etc.  */
   </Context>
   </Context>

Latest revision as of 13:06, 10 December 2021

Using fixed paramaters

As of version 2143 configuration values can be fixed, to ensure easy database replication from live back to test.

Typical fixed parameters include

  • Application name
  • Server daemon autostart
  • SMTP server testmode
  • Base schema name


Usage notes

  • Place in the context file of the application
    • Tomcat: <server root>/conf/Catalina/localhost/<application>.xml
  • The syntax for naming is: "Policy." + configuration name
    • Boolean values use: [true|false]


Example

 <?xml version="1.0" encoding="UTF-8"?>
 <Context path="/TempusServa" >
     <Parameter name="Policy.applicationName" value="Test server"/>
     <Parameter name="Policy.smtpTestMode" value="true"/>
     <Parameter name="Policy.dbNameBase" value="sandboxtest"/>
     /* More configuration values  */
     /* Connection strings etc.  */
 </Context>