Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tutorial:adm:czechidm_installation_win [2021/12/02 15:58] – [Change Tomat logging properties] urbanl | tutorial:adm:czechidm_installation_win [2021/12/14 08:53] (current) – [Configure environment properties. Select application profile] fiserp | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
|    * Add '' |    * Add '' | ||
| - |   * Add '' | + |   * Add '' | 
|   * Add '' |   * Add '' | ||
| - | |||
| - | ===== Change Tomat logging properties ===== | ||
| - | |||
| - | In order to set-up log rotation we need stop logging to stdout and start logging to catalina.log . | ||
| - | |||
| - | Make these changes in file '' | ||
| - | < | ||
| - | handlers = 1catalina.org.apache.juli.AsyncFileHandler, | ||
| - | #handlers = java.util.logging.ConsoleHandler | ||
| - | |||
| - | .handlers = 1catalina.org.apache.juli.AsyncFileHandler | ||
| - | #.handlers = java.util.logging.ConsoleHandler, | ||
| - | |||
| - | # | ||
| - | # | ||
| - | |||
| - | </ | ||
| - | |||
| - | In 1catalina file handler change log level to " | ||
| - | |||
| - | < | ||
| - | # | ||
| - | # | ||
| - | 1catalina.org.apache.juli.AsyncFileHandler.level = INFO | ||
| - | 1catalina.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/ | ||
| - | 1catalina.org.apache.juli.AsyncFileHandler.prefix = tomcat | ||
| - | 1catalina.org.apache.juli.AsyncFileHandler.rotatable = false | ||
| - | 1catalina.org.apache.juli.AsyncFileHandler.suffix = .log | ||
| - | |||
| - | </ | ||
| - | |||
| - | ==== ==== | ||
| Line 112: | Line 80: | ||
| ==== Create CzechIdM configuration ==== | ==== Create CzechIdM configuration ==== | ||
| - | Now we will create configuration files the CzechIdM will use. < | + | Now we will create configuration files the CzechIdM will use. < | 
| - |    | + |    * The **C: | 
| < | < | ||
| Line 147: | Line 115: | ||
| org.quartz.jobStore.misfireThreshold=60000 | org.quartz.jobStore.misfireThreshold=60000 | ||
| org.quartz.jobStore.tablePrefix=qrtz_ | org.quartz.jobStore.tablePrefix=qrtz_ | ||
| + | |||
| </ | </ | ||
| Line 204: | Line 173: | ||
|                                 </ |                                 </ | ||
|                         </ |                         </ | ||
| - |                         < | + |                         < | 
| - | </ | + |                                  | 
| + |                         </ | ||
|                         < |                         < | ||
|                                 < |                                 < | ||
| Line 216: | Line 186: | ||
|         </ |         </ | ||
| </ | </ | ||
| + | |||
| </ | </ | ||
| Line 282: | Line 253: | ||
| spring.servlet.multipart.max-file-size=100MB | spring.servlet.multipart.max-file-size=100MB | ||
| spring.servlet.multipart.max-request-size=100MB | spring.servlet.multipart.max-request-size=100MB | ||
| + | |||
| </ | </ | ||
| Line 296: | Line 268: | ||
| spring.datasource.validationQuery=SELECT 1 | spring.datasource.validationQuery=SELECT 1 | ||
| spring.datasource.test-on-borrow=true | spring.datasource.test-on-borrow=true | ||
| + | |||
| </ | </ | ||
| Line 307: | Line 280: | ||
| # We recommend the VALUE to be at least 25. | # We recommend the VALUE to be at least 25. | ||
| idm.sec.security.jwt.secret.token=********** TODO ********* | idm.sec.security.jwt.secret.token=********** TODO ********* | ||
| + | |||
| </ | </ | ||
| Line 334: | Line 308: | ||
| # System.getProperty(" | # System.getProperty(" | ||
| idm.sec.core.attachment.storagePath=c:/ | idm.sec.core.attachment.storagePath=c:/ | ||
| + | |||
| </ | </ | ||
| Line 344: | Line 319: | ||
| # Application stage (development, | # Application stage (development, | ||
| idm.pub.app.stage=production | idm.pub.app.stage=production | ||
| + | |||
| </ | </ | ||
| + | |||
| ==== Deploy the CzechIdM ==== | ==== Deploy the CzechIdM ==== | ||