Difference between revisions of "Local system configuration"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 19: Line 19:
   <?xml version="1.0" encoding="UTF-8"?>
   <?xml version="1.0" encoding="UTF-8"?>
   <Context path="/TempusServa" >
   <Context path="/TempusServa" >
<Parameter name="Policy.applicationName" value="Test server"/>
<Parameter name="Policy.doMainMenuAccordion" value="false"/>
<Parameter name="Policy.doMainMenuAccordion" value="false"/>
         ...
         /* Connection strings etc. */
   </Context>
   </Context>

Revision as of 09:20, 28 November 2013

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


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.doMainMenuAccordion" value="false"/>

       /* Connection strings etc.  */
 </Context>