Document Tree
Document Properties
Kbid
28Z691
Last Modified
04-Feb-2020
Added to KB
21-Aug-2018
Public Access
Everyone
Status
Online
Doc Type
Guidelines
Product
ICM 7.10
Guide - 7.10 Migration of Cartridge Properties

Introduction

The <cartridge_name>.properties were moved from \share\system\config\cartridges to <cartridge_name>\src\main\resources\cartridges in ICM 7.10. This has the following implications:

  • The <cartridge_name>.properties are always deployed to the same location, regardless where the cartridges are deployed.
  • A different finder (cartridge-resource) is used to load these properties.
  • For compatibility reasons, the previous used finder (cartridge-folder) is still available and this finder even provides an higher priority then the newly introduced.

Overwriting Properties

It is still possible to overwrite these properties using the configuration framework, see Guide - Configuration Framework (valid to 7.10). If a customer wants to overwrite some cache properties, these properties have to be added into a properties file, which has a higher priority than the current cartridge-resource finder. These are the finders, which are listed above the cartridge-resource finder in the configuration.xml file (in <IS_SHARE>/system/config/cluster). So the customer can add the properties to the production.properties (represented by ${environment}.properties in the code below) for example.

configuration.xml
<configuration-setup>
  ...
  <sets>
	...
    <set finder="property" scope="cluster,server,domain" fileName="${IS_SHARE}/system/config/cluster/${environment}.properties"/>
	...
    <set finder="cartridge-folder" scope="cluster,server,domain" cartridges="${cartridges}"/>
    <set finder="cartridge-folder" scope="cluster,server,domain" enabled="${system.dbInitMode}" cartridges="${cartridges.dbinit}"/>
    <set finder="cartridge-resource" scope="cluster,server,domain" cartridges="${cartridges}"/>
    <set finder="cartridge-resource" scope="cluster,server,domain" enabled="${system.dbInitMode}" cartridges="${cartridges.dbinit}"/>
	...
  </sets>
</configuration-setup>
Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.