Externalized Configuration
This page is not applicable to Planview Hub Cloud.
Externalized Configuration
Planview Hub enables you to externalize configurations from Tomcat, Keycloak, and certain application properties in a single place. This allows you to use property files to override default values such as:
- Keycloak: ports (e.g., https), Keycloak database paths, java memory variables, and custom system properties
- Tomcat: ports (e.g., https), keystores (e.g., files, passwords, types), java memory variables, and custom system properties
- Application Properties: Derby, Tasktop Hub, Liquibase, log4j, and keycloak host
To override default values through a properties file, you must provide the tasktop-hub.properties
file in a directory that Hub can scan and read.
This can be done as follows:
-
Rename the file
tasktop-hub.properties.default
totasktop-hub.properties
.- For Windows, this file can be found in the App Data Directory.
- For Linux, this file can be found in the root level of the
.tar.gz
package.- Note: For Linux users, we recommend creating an environment variable named
TASKTOP_HOME
with its value pointing to an exclusive directory where thetasktop-hub.properties
file will be placed.
- Note: For Linux users, we recommend creating an environment variable named
- Provide values to properties that need to be overridden.
- For example, if you'd like to change the Tomcat https port to port 9443, uncomment the property from
#server.port=8443
toserver.port=9443
- For example, if you'd like to change the Tomcat https port to port 9443, uncomment the property from
Good to Know:
- Only properties/lines uncommented within the
<AppDataDirectory>/tasktop-hub.properties
file will be applied, otherwise Hub will assume default values for commented properties. - Only properties at
<AppDataDirectory>/tasktop-hub.properties
file will be used; the file<AppDataDirectory>/tasktop-hub.properties.default
is just a template and will not work in Hub. - Keycloak properties prefixed with
jboss
have been deprecated. It is recommended to replace the prefix with keycloak. For example,jboss.https.port
should be changed tokeycloak.https.port
.
Upgrading
Upgrading on Windows
The tasktop-hub.properties
file will not be replaced or deleted during the installation/upgrade process. For this reason, newer versions of Hub can retain settings automatically after upgrading.
Upgrading on Linux
Because the properties file is placed in the $TASKTOP_HOME
directory, newer versions of Planview Hub will automatically apply all configurations.
If the properties file is not placed in the $TASKTOP_HOME
directory, it is necessary to copy the properties file from the old installation directory to the new installation directory.
Upgrading from a Version Earlier than 20.4
If you have made manual changes to Tomcat and/or Jboss files, you have two options upon upgrading to 20.4:
1. You can apply all configurations that have been applied manually to server.xml, standalone.xml
, standalone.conf,
standalone.conf.bat
, setenv.sh
, and Manage Tasktop -> Java -> Java Options
to the tasktop-hub.properties
file .
During an upgrade, it is not necessary to override the server.xml
file from the old version to the new installation directory. This can be done by simply providing the tasktop-hub.properties
file in a directory that Hub is able to read and ensuring that there is an uncommented line as shown below:
... server.port=9443 ...
Other properties can be configured the same way as shown in the example above.
2. You can copy all configuration files from Tomcat and/or Jboss that were previously modified and override them in the new version directories.
Upgrading to Version 23.2 or Later
Manual customizations to Keycloak outside of tasktop-hub.properties
are no longer supported. Please ensure that all Keycloak customizations are configured in tasktop-hub.properties
.
Properties
The tasktop-hub.properties
file contains three main blocks:
- Keycloak Properties
- Tomcat Properties
- Planview Hub Properties
Keycloak
The properties listed in the table below are used only if Hub is using Keycloak as an Authentication Provider.
Note: Starting in 23.2, Keycloak runs on the Quarkus framework instead of the Jboss application server. This change led to the deprecation or renaming of certain properties as noted in the table.
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to select a custom HTTPS port for keycloak. |
Formerly named |
|
Use this property if you want to place the keycloak database in a custom directory. |
This is the directory where the keycloak database lives. Formerly named The name of the database file must not be changed (it should be For both Windows and Linux, the directory separator needs to be '/'. |
|
Use this property to change memory settings. |
We recommend setting the maximum Java heap size value to 50-75% of your system’s memory. Formerly named |
|
Use this property to load custom system properties. For example:
|
Formerly named |
|
Use this property to override the default authentication server URL detection |
This is only needed in rare scenarios with proxies or load balancers where Planview Hub is unable to determine the externally accessible URL for Keycloak. It is recommended to host Hub and Keycloak on the same machine and restrict access to Keycloak via firewall. |
Tomcat
The properties listed in the table below are used to override some properties from Tomcat
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to provide a value for the attribute port in the tag |
After changing the port, if Keycloak is being used, you will need to go into the User Administration Console and adjust the client to the new port. |
|
Use this property to provide a value for the attribute redirectPort in the tag |
|
|
Use this property to provide a value for the attribute port in the tag |
|
|
Use this property to provide a value for the attribute connectionTimeout in the tag |
|
|
Use this property to provide a value for the attribute keystoreFile in the tag |
This property is shared with Keycloak. |
|
Use this property to provide a value for the attribute |
This property is shared with Keycloak. |
|
Use this property to provide a value for the attribute |
|
|
Use this property to provide a value for the attribute |
Enable this property only if your custom Keystore has an alias and it is different than Tomcat. |
|
Use this property to change memory settings. |
We recommend setting the maximum Java heap size value to 50-75% of your system’s memory. For Windows: Initial memory pool size (-Xms) and maximum memory pool size (-Xmx) needs to be in MB. That means that the value needs to be suffixed with 'M'. Values suffixed with 'G' will cause an error at the start of Hub. For Linux: Values can be specified in MB or GB. Both suffixes 'M' and 'G' work. |
|
Use this property to provide a custom path for - |
|
|
Use this property to provide a custom path for |
|
|
Use this property to provide a custom path for Tomcat’s |
|
|
Use this property to provide |
|
|
Use this property to load custom system properties such as:
|
Tasktop Hub
The properties listed in the table below are used to override some Hub values.
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to change the data page cache in the database. |
|
|
Use this property to provide a custom path to the Derby database directory. |
Providing the Derby database directory is useful for Linux environments when upgrading, as you do not need to copy files from the old installation directory to the new installation directory. |
|
Use this property to provide a custom path to the Derby database. |
|
|
Use this property to whether or not suppress liquibase warnings. |
|
|
Use this property to provide a custom path to the |
|
|
Use this property to provide a custom path to the |
|
|
Use this property to provide a list of paths that will be excluded from the CORS verification. |
Prior to version 21.1, this property was configured in |
Good to Know
- Properties must be modified in the
tasktop-hub.properties
file as this file has more priority than properties modified inManage Tasktop > Java > Java Options | Initial memory pool | Maximum memory pool
.
Linux
It is possible to use environment variables to compound a specific value. As an example, it is possible to use $CATALINA_BASE to compound a path.
hub.database.configuration.directory=$CATALINA_BASE/../../directory log4j.configuration.verbose=file:$CATALINA_BASE/../../log4j2-troubleshooting.xml
Externalized Configuration
Planview Hub enables you to externalize configurations from Tomcat, Keycloak, and certain application properties in a single place. This allows you to use property files to override default values such as:
- Keycloak: ports (e.g., http, https), Keycloak database paths, java memory variables, and custom system properties
- Tomcat: ports (e.g., http https), keystores (e.g., files, passwords, types), java memory variables, and custom system properties
- Application Properties: Derby, Tasktop Hub, Liquibase, log4j, and keycloak host
To override default values through a properties file, you must provide the tasktop-hub.properties
file in a directory that Hub can scan and read.
This can be done as follows:
-
Rename the file
tasktop-hub.properties.default
totasktop-hub.properties
.- For Windows, this file can be found in the App Data Directory.
- For Linux, this file can be found in the root level of the
.tar.gz
package.- Note: For Linux users, we recommend creating an environment variable named
TASKTOP_HOME
with its value pointing to an exclusive directory where thetasktop-hub.properties
file will be placed.
- Note: For Linux users, we recommend creating an environment variable named
- Provide values to properties that need to be overridden.
- For example, if you'd like to change the Tomcat https port to port 9443, uncomment the property from
#server.port=8443
toserver.port=9443
- For example, if you'd like to change the Tomcat https port to port 9443, uncomment the property from
Good to Know:
- Only properties/lines uncommented within the
<AppDataDirectory>/tasktop-hub.properties
file will be applied, otherwise Hub will assume default values for commented properties. - Only properties at
<AppDataDirectory>/tasktop-hub.properties
file will be used; the file<AppDataDirectory>/tasktop-hub.properties.default
is just a template and will not work in Hub. - Keycloak properties prefixed with
jboss
have been deprecated. It is recommended to replace the prefix with keycloak. For example,jboss.http.port
should be changed tokeycloak.http.port
.
Upgrading
Upgrading on Windows
The tasktop-hub.properties
file will not be replaced or deleted during the installation/upgrade process. For this reason, newer versions of Hub can retain settings automatically after upgrading.
Upgrading on Linux
Because the properties file is placed in the $TASKTOP_HOME
directory, newer versions of Planview Hub will automatically apply all configurations.
If the properties file is not placed in the $TASKTOP_HOME
directory, it is necessary to copy the properties file from the old installation directory to the new installation directory.
Upgrading from a Version Earlier than 20.4
If you have made manual changes to Tomcat and/or Jboss files, you have two options upon upgrading to 20.4:
1. You can apply all configurations that have been applied manually to server.xml, standalone.xml
, standalone.conf,
standalone.conf.bat
, setenv.sh
, and Manage Tasktop -> Java -> Java Options
to the tasktop-hub.properties
file .
During an upgrade, it is not necessary to override the server.xml
file from the old version to the new installation directory. This can be done by simply providing the tasktop-hub.properties
file in a directory that Hub is able to read and ensuring that there is an uncommented line as shown below:
... server.port=9443 ...
Other properties can be configured the same way as shown in the example above.
2. You can copy all configuration files from Tomcat and/or Jboss that were previously modified and override them in the new version directories.
Upgrading to Version 23.2 or Later
Manual customizations to Keycloak outside of tasktop-hub.properties
are no longer supported. Please ensure that all Keycloak customizations are configured in tasktop-hub.properties
.
Properties
The tasktop-hub.properties
file contains three main blocks:
- Keycloak Properties
- Tomcat Properties
- Planview Hub Properties
Keycloak
The properties listed in the table below are used only if Hub is using Keycloak as an Authentication Provider.
Note: Starting in 23.2, Keycloak runs on the Quarkus framework instead of the Jboss application server. This change led to the deprecation or renaming of certain properties as noted in the table.
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to select a custom HTTP port for keycloak. |
Formerly named |
|
Use this property to select a custom HTTPS port for keycloak. |
Formerly named |
|
Use this property if you want to place the keycloak database in a custom directory. |
This is the directory where the keycloak database lives. Formerly named The name of the database file must not be changed (it should be For both Windows and Linux, the directory separator needs to be '/'. |
|
Use this property to change memory settings. |
We recommend setting the maximum Java heap size value to 50-75% of your system’s memory. Formerly named |
|
Use this property to load custom system properties. For example:
|
Formerly named |
|
Use this property to override the default authentication server URL detection |
This is only needed in rare scenarios with proxies or load balancers where Planview Hub is unable to determine the externally accessible URL for Keycloak. It is recommended to host Hub and Keycloak on the same machine and restrict access to Keycloak via firewall. |
Tomcat
The properties listed in the table below are used to override some properties from Tomcat
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to provide a value for the attribute port in the tag |
After changing the port, if Keycloak is being used, you will need to go into the User Administration Console and adjust the client to the new port. |
|
Use this property to provide a value for the attribute redirectPort in the tag |
|
|
Use this property to provide a value for the attribute port in the tag |
|
|
Use this property to provide a value for the attribute connectionTimeout in the tag |
|
|
Use this property to provide a value for the attribute keystoreFile in the tag |
This property is shared with Keycloak. |
|
Use this property to provide a value for the attribute |
This property is shared with Keycloak. |
|
Use this property to provide a value for the attribute |
|
|
Use this property to provide a value for the attribute |
Enable this property only if your custom Keystore has an alias and it is different than Tomcat. |
|
Use this property to change memory settings. |
We recommend setting the maximum Java heap size value to 50-75% of your system’s memory. For Windows: Initial memory pool size (-Xms) and maximum memory pool size (-Xmx) needs to be in MB. That means that the value needs to be suffixed with 'M'. Values suffixed with 'G' will cause an error at the start of Hub. For Linux: Values can be specified in MB or GB. Both suffixes 'M' and 'G' work. |
|
Use this property to provide a custom path for - |
|
|
Use this property to provide a custom path for |
|
|
Use this property to provide a custom path for Tomcat’s |
|
|
Use this property to provide |
|
|
Use this property to load custom system properties such as:
|
Tasktop Hub
The properties listed in the table below are used to override some Hub values.
Property |
---|
Purpose
Notes
derby.storage.pageCacheSize
Use this property to change the data page cache in the database.
derby.system.home=/path/to/db
Use this property to provide a custom path to the Derby database directory.
Providing the Derby database directory is useful for Linux environments when upgrading, as you do not need to copy files from the old installation directory to the new installation directory.
hub.database.configuration.directory=/path/to/db
Use this property to provide a custom path to the Derby database.
liquibase.ignoreRecycleBinWarning=true
Use this property to whether or not suppress liquibase warnings.
log4j.configuration=file:/path/to/log4j2.xml
Use this property to provide a custom path to the log4j2.xml
file.
log4j.configuration.verbose=file:/path/to/log4j2-troubleshooting.xml
Use this property to provide a custom path to thelog4j2
-troubleshooting.xml
file.
hub.security.cors.exclusionPaths
Use this property to provide a list of paths that will be excluded from the CORS verification.
For example: /first-path,/second-path
Prior to version 21.1, this property was configured in /tasktop/container/webapps/root/WEB-INF/web.xml
Good to Know
- Properties must be modified in the
tasktop-hub.properties
file as this file has more priority than properties modified inManage Tasktop > Java > Java Options | Initial memory pool | Maximum memory pool
.
Linux
It is possible to use environment variables to compound a specific value. As an example, it is possible to use $CATALINA_BASE to compound a path.
hub.database.configuration.directory=$CATALINA_BASE/../../directory log4j.configuration.verbose=file:$CATALINA_BASE/../../log4j2-troubleshooting.xml
Externalized Configuration
Planview Hub enables you to externalize configurations from Tomcat, Keycloak, and certain application properties in a single place. This allows you to use property files to override default values such as:
- Keycloak: ports (e.g., http, https), Keycloak database paths, java memory variables, and custom system properties
- Tomcat: ports (e.g., http https), keystores (e.g., files, passwords, types), java memory variables, and custom system properties
- Application Properties: Derby, Tasktop Hub, Liquibase, log4j, and keycloak host
To override default values through a properties file, you must provide the tasktop-hub.properties
file in a directory that Hub can scan and read.
This can be done as follows:
-
Rename the file
tasktop-hub.properties.default
totasktop-hub.properties
.- For Windows, this file can be found in the App Data Directory.
- For Linux, this file can be found in the root level of the
.tar.gz
package.- Note: For Linux users, we recommend creating an environment variable named
TASKTOP_HOME
with its value pointing to an exclusive directory where thetasktop-hub.properties
file will be placed.
- Note: For Linux users, we recommend creating an environment variable named
- Provide values to properties that need to be overridden.
- For example, if you'd like to change the Tomcat https port to port 9443, uncomment the property from
#server.port=8443
toserver.port=9443
- For example, if you'd like to change the Tomcat https port to port 9443, uncomment the property from
Good to Know:
- Only properties/lines uncommented within the
<AppDataDirectory>/tasktop-hub.properties
file will be applied, otherwise Hub will assume default values for commented properties. - Only properties at
<AppDataDirectory>/tasktop-hub.properties
file will be used; the file<AppDataDirectory>/tasktop-hub.properties.default
is just a template and will not work in Hub. - Keycloak properties prefixed with
jboss
have been deprecated. It is recommended to replace the prefix with keycloak. For example,jboss.http.port
should be changed tokeycloak.http.port
.
Upgrading
Upgrading on Windows
The tasktop-hub.properties
file will not be replaced or deleted during the installation/upgrade process. For this reason, newer versions of Hub can retain settings automatically after upgrading.
Upgrading on Linux
Because the properties file is placed in the $TASKTOP_HOME
directory, newer versions of Planview Hub will automatically apply all configurations.
If the properties file is not placed in the $TASKTOP_HOME
directory, it is necessary to copy the properties file from the old installation directory to the new installation directory.
Upgrading from a Version Earlier than 20.4
If you have made manual changes to Tomcat and/or Jboss files, you have two options upon upgrading to 20.4:
1. You can apply all configurations that have been applied manually to server.xml, standalone.xml
, standalone.conf,
standalone.conf.bat
, setenv.sh
, and Manage Tasktop -> Java -> Java Options
to the tasktop-hub.properties
file .
During an upgrade, it is not necessary to override the server.xml
file from the old version to the new installation directory. This can be done by simply providing the tasktop-hub.properties
file in a directory that Hub is able to read and ensuring that there is an uncommented line as shown below:
... server.port=9443 ...
Other properties can be configured the same way as shown in the example above.
2. You can copy all configuration files from Tomcat and/or Jboss that were previously modified and override them in the new version directories.
Upgrading to Version 23.2 or Later
Manual customizations to Keycloak outside of tasktop-hub.properties
are no longer supported. Please ensure that all Keycloak customizations are configured in tasktop-hub.properties
.
Properties
The tasktop-hub.properties
file contains three main blocks:
- Keycloak Properties
- Tomcat Properties
- Planview Hub Properties
Keycloak
The properties listed in the table below are used only if Hub is using Keycloak as an Authentication Provider.
Note: Starting in 23.2, Keycloak runs on the Quarkus framework instead of the Jboss application server. This change led to the deprecation or renaming of certain properties as noted in the table.
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to select a custom HTTP port for keycloak. |
Formerly named |
|
Use this property to select a custom HTTPS port for keycloak. |
Formerly named |
|
Use this property if you want to place the keycloak database in a custom directory. |
This is the directory where the keycloak database lives. Formerly named The name of the database file must not be changed (it should be For both Windows and Linux, the directory separator needs to be '/'. |
|
Use this property to change memory settings. |
We recommend setting the maximum Java heap size value to 50-75% of your system’s memory. Formerly named |
|
Use this property to load custom system properties. For example:
|
Formerly named |
|
Use this property to override the default authentication server URL detection |
This is only needed in rare scenarios with proxies or load balancers where Planview Hub is unable to determine the externally accessible URL for Keycloak. It is recommended to host Hub and Keycloak on the same machine and restrict access to Keycloak via firewall. |
Tomcat
The properties listed in the table below are used to override some properties from Tomcat
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to provide a value for the attribute port in the tag |
After changing the port, if Keycloak is being used, you will need to go into the User Administration Console and adjust the client to the new port. |
|
Use this property to provide a value for the attribute redirectPort in the tag |
|
|
Use this property to provide a value for the attribute port in the tag |
|
|
Use this property to provide a value for the attribute connectionTimeout in the tag |
|
|
Use this property to provide a value for the attribute keystoreFile in the tag |
This property is shared with Keycloak. |
|
Use this property to provide a value for the attribute |
This property is shared with Keycloak. |
|
Use this property to provide a value for the attribute |
|
|
Use this property to provide a value for the attribute |
Enable this property only if your custom Keystore has an alias and it is different than Tomcat. |
|
Use this property to change memory settings. |
We recommend setting the maximum Java heap size value to 50-75% of your system’s memory. For Windows: Initial memory pool size (-Xms) and maximum memory pool size (-Xmx) needs to be in MB. That means that the value needs to be suffixed with 'M'. Values suffixed with 'G' will cause an error at the start of Hub. For Linux: Values can be specified in MB or GB. Both suffixes 'M' and 'G' work. |
|
Use this property to provide a custom path for - |
|
|
Use this property to provide a custom path for |
|
|
Use this property to provide a custom path for Tomcat’s |
|
|
Use this property to provide |
|
|
Use this property to load custom system properties such as:
|
Tasktop Hub
The properties listed in the table below are used to override some Hub values.
Property |
---|
Purpose
Notes
derby.storage.pageCacheSize
Use this property to change the data page cache in the database.
derby.system.home=/path/to/db
Use this property to provide a custom path to the Derby database directory.
Providing the Derby database directory is useful for Linux environments when upgrading, as you do not need to copy files from the old installation directory to the new installation directory.
hub.database.configuration.directory=/path/to/db
Use this property to provide a custom path to the Derby database.
liquibase.ignoreRecycleBinWarning=true
Use this property to whether or not suppress liquibase warnings.
log4j.configuration=file:/path/to/log4j2.xml
Use this property to provide a custom path to the log4j2.xml
file.
log4j.configuration.verbose=file:/path/to/log4j2-troubleshooting.xml
Use this property to provide a custom path to thelog4j2
-troubleshooting.xml
file.
hub.security.cors.exclusionPaths
Use this property to provide a list of paths that will be excluded from the CORS verification.
For example: /first-path,/second-path
Prior to version 21.1, this property was configured in /tasktop/container/webapps/root/WEB-INF/web.xml
Good to Know
- Properties must be modified in the
tasktop-hub.properties
file as this file has more priority than properties modified inManage Tasktop > Java > Java Options | Initial memory pool | Maximum memory pool
.
Linux
It is possible to use environment variables to compound a specific value. As an example, it is possible to use $CATALINA_BASE to compound a path.
hub.database.configuration.directory=$CATALINA_BASE/../../directory log4j.configuration.verbose=file:$CATALINA_BASE/../../log4j2-troubleshooting.xml
Externalized Configuration
Planview Hub enables you to externalize configurations from Tomcat, Keycloak, and certain application properties in a single place. This allows you to use property files to override default values such as:
- Keycloak: ports (e.g., http, https), Keycloak database paths, java memory variables, and custom system properties
- Tomcat: ports (e.g., http https), keystores (e.g., files, passwords, types), java memory variables, and custom system properties
- Application Properties: Derby, Tasktop Hub, Liquibase, log4j, and keycloak host
To override default values through a properties file, you must provide the tasktop-hub.properties
file in a directory that Hub can scan and read.
This can be done as follows:
-
Rename the file
tasktop-hub.properties.default
totasktop-hub.properties
.- For Windows, this file can be found in the App Data Directory.
- For Linux, this file can be found in the root level of the
.tar.gz
package.- Note: For Linux users, we recommend creating an environment variable named
TASKTOP_HOME
with its value pointing to an exclusive directory where thetasktop-hub.properties
file will be placed.
- Note: For Linux users, we recommend creating an environment variable named
- Provide values to properties that need to be overridden.
- For example, if you'd like to change the Tomcat https port to port 9443, uncomment the property from
#server.port=8443
toserver.port=9443
- For example, if you'd like to change the Tomcat https port to port 9443, uncomment the property from
Good to Know:
- Only properties/lines uncommented within the
<AppDataDirectory>/tasktop-hub.properties
file will be applied, otherwise Hub will assume default values for commented properties. - Only properties at
<AppDataDirectory>/tasktop-hub.properties
file will be used; the file<AppDataDirectory>/tasktop-hub.properties.default
is just a template and will not work in Hub. - Keycloak properties prefixed with
jboss
have been deprecated. It is recommended to replace the prefix with keycloak. For example,jboss.http.port
should be changed tokeycloak.http.port
.
Upgrading
Upgrading on Windows
The tasktop-hub.properties
file will not be replaced or deleted during the installation/upgrade process. For this reason, newer versions of Hub can retain settings automatically after upgrading.
Upgrading on Linux
Because the properties file is placed in the $TASKTOP_HOME
directory, newer versions of Planview Hub will automatically apply all configurations.
If the properties file is not placed in the $TASKTOP_HOME
directory, it is necessary to copy the properties file from the old installation directory to the new installation directory.
Upgrading from a Version Earlier than 20.4
If you have made manual changes to Tomcat and/or Jboss files, you have two options upon upgrading to 20.4:
1. You can apply all configurations that have been applied manually to server.xml, standalone.xml
, standalone.conf,
standalone.conf.bat
, setenv.sh
, and Manage Tasktop -> Java -> Java Options
to the tasktop-hub.properties
file .
During an upgrade, it is not necessary to override the server.xml
file from the old version to the new installation directory. This can be done by simply providing the tasktop-hub.properties
file in a directory that Hub is able to read and ensuring that there is an uncommented line as shown below:
... server.port=9443 ...
Other properties can be configured the same way as shown in the example above.
2. You can copy all configuration files from Tomcat and/or Jboss that were previously modified and override them in the new version directories.
Upgrading to Version 23.2 or Later
Manual customizations to Keycloak outside of tasktop-hub.properties
are no longer supported. Please ensure that all Keycloak customizations are configured in tasktop-hub.properties
.
Properties
The tasktop-hub.properties
file contains three main blocks:
- Keycloak Properties
- Tomcat Properties
- Planview Hub Properties
Keycloak
The properties listed in the table below are used only if Hub is using Keycloak as an Authentication Provider.
Note: Starting in 23.2, Keycloak runs on the Quarkus framework instead of the Jboss application server. This change led to the deprecation or renaming of certain properties as noted in the table.
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to select a custom HTTP port for keycloak. |
Formerly named |
|
Use this property to select a custom HTTPS port for keycloak. |
Formerly named |
|
Use this property if you want to place the keycloak database in a custom directory. |
This is the directory where the keycloak database lives. Formerly named The name of the database file must not be changed (it should be For both Windows and Linux, the directory separator needs to be '/'. |
|
Use this property to change memory settings. |
We recommend setting the maximum Java heap size value to 50-75% of your system’s memory. Formerly named |
|
Use this property to load custom system properties. For example:
|
Formerly named |
|
Use this property to override the default authentication server URL detection |
This is only needed in rare scenarios with proxies or load balancers where Planview Hub is unable to determine the externally accessible URL for Keycloak. It is recommended to host Hub and Keycloak on the same machine and restrict access to Keycloak via firewall. |
Tomcat
The properties listed in the table below are used to override some properties from Tomcat
Property |
Purpose |
Notes |
---|---|---|
|
Use this property to provide a value for the attribute port in the tag |
After changing the port, if Keycloak is being used, you will need to go into the User Administration Console and adjust the client to the new port. |
|
Use this property to provide a value for the attribute redirectPort in the tag |
|
|
Use this property to provide a value for the attribute port in the tag |
|
|
Use this property to provide a value for the attribute connectionTimeout in the tag |
|
|
Use this property to provide a value for the attribute keystoreFile in the tag |
This property is shared with Keycloak. |
|
Use this property to provide a value for the attribute |
This property is shared with Keycloak. |
|
Use this property to provide a value for the attribute |
|
|
Use this property to provide a value for the attribute |
Enable this property only if your custom Keystore has an alias and it is different than Tomcat. |
|
Use this property to change memory settings. |
We recommend setting the maximum Java heap size value to 50-75% of your system’s memory. For Windows: Initial memory pool size (-Xms) and maximum memory pool size (-Xmx) needs to be in MB. That means that the value needs to be suffixed with 'M'. Values suffixed with 'G' will cause an error at the start of Hub. For Linux: Values can be specified in MB or GB. Both suffixes 'M' and 'G' work. |
|
Use this property to provide a custom path for - |
|
|
Use this property to provide a custom path for |
|
|
Use this property to provide a custom path for Tomcat’s |
|
|
Use this property to provide |
|
|
Use this property to load custom system properties such as:
|
Tasktop Hub
The properties listed in the table below are used to override some Hub values.
Property |
---|
Purpose
Notes
derby.storage.pageCacheSize
Use this property to change the data page cache in the database.
derby.system.home=/path/to/db
Use this property to provide a custom path to the Derby database directory.
Providing the Derby database directory is useful for Linux environments when upgrading, as you do not need to copy files from the old installation directory to the new installation directory.
hub.database.configuration.directory=/path/to/db
Use this property to provide a custom path to the Derby database.
liquibase.ignoreRecycleBinWarning=true
Use this property to whether or not suppress liquibase warnings.
log4j.configuration=file:/path/to/log4j2.xml
Use this property to provide a custom path to the log4j2.xml
file.
log4j.configuration.verbose=file:/path/to/log4j2-troubleshooting.xml
Use this property to provide a custom path to thelog4j2
-troubleshooting.xml
file.
hub.security.cors.exclusionPaths
Use this property to provide a list of paths that will be excluded from the CORS verification.
For example: /first-path,/second-path
Prior to version 21.1, this property was configured in /tasktop/container/webapps/root/WEB-INF/web.xml
Good to Know
- Properties must be modified in the
tasktop-hub.properties
file as this file has more priority than properties modified inManage Tasktop > Java > Java Options | Initial memory pool | Maximum memory pool
.
Linux
It is possible to use environment variables to compound a specific value. As an example, it is possible to use $CATALINA_BASE to compound a path.
hub.database.configuration.directory=$CATALINA_BASE/../../directory log4j.configuration.verbose=file:$CATALINA_BASE/../../log4j2-troubleshooting.xml
derby.storage.pageCacheSize
Use this property to change the data page cache in the database.
derby.system.home=/path/to/db
Use this property to provide a custom path to the Derby database directory.
Providing the Derby database directory is useful for Linux environments when upgrading, as you do not need to copy files from the old installation directory to the new installation directory.
hub.database.configuration.directory=/path/to/db
Use this property to provide a custom path to the Derby database.
liquibase.ignoreRecycleBinWarning=true
Use this property to whether or not suppress liquibase warnings.
log4j.configuration=file:/path/to/log4j2.xml
Use this property to provide a custom path to the log4j2.xml
file.
log4j.configuration.verbose=file:/path/to/log4j2-troubleshooting.xml
Use this property to provide a custom path to thelog4j2
-troubleshooting.xml
file.
hub.security.cors.exclusionPaths
Use this property to provide a list of paths that will be excluded from the CORS verification.
For example: /first-path,/second-path
Prior to version 21.1, this property was configured in /tasktop/container/webapps/root/WEB-INF/web.xml
Good to Know
- Properties must be modified in the
tasktop-hub.properties
file as this file has more priority than properties modified inManage Tasktop > Java > Java Options | Initial memory pool | Maximum memory pool
.
Linux
It is possible to use environment variables to compound a specific value. As an example, it is possible to use $CATALINA_BASE to compound a path.
hub.database.configuration.directory=$CATALINA_BASE/../../directory log4j.configuration.verbose=file:$CATALINA_BASE/../../log4j2-troubleshooting.xml