Document Properties
Last Modified26-Mar-2021
Added to KB26-Mar-2021
Public AccessEveryone
Doc TypeSupport Articles
  • ICM 7.10
  • Intershop CaaS

Support Article - Change Server Properties (UAT/PROD) for CaaS Customers

Product Version


Product To Version



1 Introduction

This article explains the necessary steps to change or add a (specific) property (e.g. webserverURL) when only the implementation partner has access to the required system.

For this, Gradle Deployment Tools provide some features that are applied to the configured file(s) and properties. As an example, this document describes changing the webserverURL, both globally and also domain-specific. 

Generally it is recommended to use domain-specific configuration files (if you want to configure the webserver for domains) for each environment.

1.1 References

2 Technical Background

For changing a global property (e.g. that is specified in the file (located in /server/share/system/config/cluster/), filters can be used. For details see Cookbook - Deployment Tools ICM 7.10 | Recipe: Change Deployed File Content With Filters.

For domain-specific configuration, the following configuration file specifies the relevant domain folder finder settings for the lookup of the domain-specific configuration:

<set finder="domain-folder" scope="domain" matches="^${environment}_[\w&&[^_]]*$" fileExtensions="properties,xml"/>
<set finder="domain-folder" scope="domain" matches="^[\w&&[^_]]*$" fileExtensions="properties,xml"/>

Based on the finder configuration, the following files would be found/match: [IS_SHARE]/system/config/domains/<domain>/<environment>_*.properties

3 Preparation Steps

For information on how to add domain-specific files with the matching names and correct WebServer URLs as custom files via the deployment, see Cookbook - Deployment Tools ICM 7.10 | Recipe: Deploy Custom Files.

Example for configured environment names are:

Directory: [IS_SHARE]/system/config/domains/

As the changes cannot be applied directly to the target system, it is necessary to use a deploy.gradle file in the project. The filters function of Gradle Deployment Tools allows to overwrite the setting ("intershop.WebServerURL") during the deployment. deploy.gradle then could then look as follows:

buildscript {
    dependencies {
        classpath 'com.intershop:deployment-bootstrap:+'

apply plugin: com.intershop.deploy.assembly.TargetPlugin
apply plugin: com.intershop.deploy.infrastructure.InfrastructureDeploymentPlugin

	filters {
		overrideProperties('setWebserverURL') {
			dir = target.shareDirectory
			include 'system/config/cluster/'
			properties['intershop.WebServerURL'] = ''

The domain-specific files with the matching names and correct webserverURL can be added as content via the deployment.

To follow the additional (domain-specific) approach, use a "CustomProperty" (here: DomainSpecificProperties) to copy your custom file to the target.

copy custom file via gradle
	files {
		DomainSpecificProperties {
			// Copy a single file from the root project
			from new File(projectDir, '')
			// Define target of the copy operation
			into new File(target.shareDirectory, 'system/config/domains/>yourSite</')


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.

Customer Support
Knowledge Base
Product Resources