Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
tutorial:adm:czechidm_installation_win [2020/11/18 14:46] urbanl Guide upgrade to support postgres 12 and java open-jdk 11 - #2503 |
tutorial:adm:czechidm_installation_win [2021/05/10 18:28] urbanl [Create CzechIdM configuration] Corection of DB appender |
* Add ''C:\CzechIdM\etc;C:\CzechIdM\lib;C:\CzechIdM\lib<nowiki>\*</nowiki>;'' to the **beginning of the** ''CLASSPATH''. If you followed the [[tutorial:adm:server_preparation_win|]] guide, this should already be in place. | * Add ''C:\CzechIdM\etc;C:\CzechIdM\lib;C:\CzechIdM\lib<nowiki>\*</nowiki>;'' to the **beginning of the** ''CLASSPATH''. If you followed the [[tutorial:adm:server_preparation_win|]] guide, this should already be in place. |
* Add ''-Dspring.profiles.active=production'' to the ''Java options''. | * Add ''-Dspring.profiles.active=production'' to the ''Java options''. |
| * Add ''-Djava.security.egd=file:/dev/urandom'' to the ''Java options''. |
| |
==== Create CzechIdM configuration folders ==== | ==== Create CzechIdM configuration folders ==== |
org.quartz.jobStore.tablePrefix=qrtz_ | org.quartz.jobStore.tablePrefix=qrtz_ |
</file> | </file> |
* The **C:\CzechIdM\etc\logback-spring.xml** specifies logging configuration. This is the default logging configuration that you can use out of the box.<code xml logback-spring.xml> | * The **C:\CzechIdM\etc\logback-spring.xml** specifies logging configuration. This is the default logging configuration that you can use out of the box. |
| |
| <code xml logback-spring.xml> |
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> |
<!-- https://springframework.guru/using-logback-spring-boot/ --> | <!-- https://springframework.guru/using-logback-spring-boot/ --> |
<springProperty name="spring.datasource.password" source="spring.datasource.password"/> | <springProperty name="spring.datasource.password" source="spring.datasource.password"/> |
| |
<appender name="DB" class="ch.qos.logback.classic.db.DBAppender"> | <appender name="DB" class="eu.bcvsolutions.idm.core.exception.IdmDbAppender"> |
<connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource"> | <connectionSource class="ch.qos.logback.core.db.DriverManagerConnectionSource"> |
<driverClass>${spring.datasource.driver-class-name}</driverClass> | <driverClass>${spring.datasource.driver-class-name}</driverClass> |