Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorial:adm:czechidm_installation_win [2021/12/06 09:52]
urbanl
tutorial:adm:czechidm_installation_win [2021/12/07 13:33]
urbanl Uprava formatovani v sekci nastaveni logback spring
Line 113: Line 113:
 ==== Create CzechIdM configuration ==== ==== Create CzechIdM configuration ====
  
-Now we will create configuration files the CzechIdM will use. <note>Code snippets in this chapter can be **mostly**  copy-pasted or (but please read through whole chapter to be aware of setting you have to adjust). Configuring the CzechIdM is about altering four or five lines altogether.</note>+Now we will create configuration files the CzechIdM will use. <note>Code snippets in this chapter can be **mostly** copy-pasted or (but please read through whole chapter to be aware of setting you have to adjust). Configuring the CzechIdM is about altering four or five lines altogether.</note>
  
-  * The **C:\CzechIdM\etc\secret.key**  is a file with confidential storage secret key. This key has to have 128 bit (= 16 bytes). Creation of the **secret.key**  is a bit tricky (because Windows). Open the Git Bash, run the **vim**  editor and type the key into the file. Then check its format.+   * The **C:\CzechIdM\etc\secret.key**  is a file with confidential storage secret key. This key has to have 128 bit (= 16 bytes). Creation of the **secret.key**  is a bit tricky (because Windows). Open the Git Bash, run the **vim**  editor and type the key into the file. Then check its format.
  
 <code> <code>
Line 148: Line 148:
 org.quartz.jobStore.misfireThreshold=60000 org.quartz.jobStore.misfireThreshold=60000
 org.quartz.jobStore.tablePrefix=qrtz_ org.quartz.jobStore.tablePrefix=qrtz_
 +
  
 </file> </file>
Line 205: Line 206:
                                 </pattern>                                 </pattern>
                         </encoder>                         </encoder>
-                        <file>logs/catalina.log +                        <file> 
-</file>+                                logs/catalina.log 
 +                        </file>
                         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">                         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
                                 <fileNamePattern>logs/catalina.%d{yyyy-MM-dd}.log</fileNamePattern>                                 <fileNamePattern>logs/catalina.%d{yyyy-MM-dd}.log</fileNamePattern>
Line 217: Line 219:
         </springProfile>         </springProfile>
 </configuration> </configuration>
 +
  
 </code> </code>
Line 283: Line 286:
 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
 +
  
 </file> </file>
Line 297: Line 301:
 spring.datasource.validationQuery=SELECT 1 spring.datasource.validationQuery=SELECT 1
 spring.datasource.test-on-borrow=true spring.datasource.test-on-borrow=true
 +
  
 </code> </code>
Line 308: Line 313:
 # 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 *********
 +
  
 </code> </code>
Line 335: Line 341:
 # System.getProperty("user.home")/idm_data will be used if no path is given # System.getProperty("user.home")/idm_data will be used if no path is given
 idm.sec.core.attachment.storagePath=c:/czechidm/data idm.sec.core.attachment.storagePath=c:/czechidm/data
 +
  
 </code> </code>
Line 345: Line 352:
 # Application stage (development, test, production (default)) # Application stage (development, test, production (default))
 idm.pub.app.stage=production idm.pub.app.stage=production
 +
  
 </code> </code>
 +
  
 ==== Deploy the CzechIdM ==== ==== Deploy the CzechIdM ====
  • by fiserp