This section lists the prerequisites and explains how to apply the patch on Windows-based and Linux-based operating systems.
Before applying the patch, ensure that you have:
In case you have updated export.xml (during Migration of objects), and you wish to keep changes after applying the patch, keep a backup of this file from the path: ...\…<AdeptiaInstallFolder>\AdeptiaServer\ServerKernel\MigrationUtility. After the patch application is complete, merge the changes done in the backed up file with the new file (export.xml) generated.
Do not replace the backup of export.xml to the newly created export.xml. Only merge the changes from the old file to the new one. |
For Windows
Apply-Patch.bat "<Path where Adeptia Suite is installed till AdeptiaServer folder>"
For example:
Apply-Patch.bat "C:/Program Files/AdeptiaSuite/AdeptiaSuite-x.x/AdeptiaServer"
Once the patch is applied, a confirmation message will be displayed.
Start Kernel and WebRunner.
For Linux
Run the following command to apply the patch:
./Apply-Patch.sh <Path where Adeptia Suite is installed till Adeptia Server folder>
For example:
./Apply-Patch.sh /mnt/AdeptiaSuite-x.x/AdeptiaServer
Once the patch is applied, a confirmation message will be displayed.
|
After applying this patch, refer to post patch deployment section for manual changes.
In this release, some manual changes are required in Server.
Uncomment the following property:
<!-- <property name="entityBaseURL" value="http://localhost:8080/adeptia"/> -->
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderLB">
<property name="scheme" value="http"/>
<property name="serverName" value="www.myserver.com"/>
<property name="serverPort" value="8080"/>
<property name="includeServerPortInRequestURL" value="false"/>
<property name="contextPath" value="/adeptia"/>
</bean>
This table explains the each property of contextProvider bean:
scheme | Name of the scheme (http or https). |
serverName | Name of the server. |
serverPort | Port number of the server. |
includeServerPortInRequestURL | To include server port number in the URL or not. It must be false. |
contextPath | Prefix of a URL path used to select the context(s) to which an incoming request is passed. A URL is in the format: http://hostname.com/contextPath/, where each of the path elements can be zero or more separated elements. It must be /adeptia. |
Property Name | Description |
---|
It will look like:
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderLB">
<property name="scheme" value="http"/>
<property name="serverName" value="www.myserver.com"/>
<property name="serverPort" value="8080"/>
<property name="includeServerPortInRequestURL" value="false"/>
<property name="contextPath" value="/adeptia"/>
</bean>
Two new certificates need to be added to the cacerts file in the application. This step is required to update the cacerts file with COMODO renewed certificates as the existing certificates of COMODO have expired.
Follow the steps below to add the certificates:
On the command prompt, run the following command to import the two new certificates to the cacerts file:
keytool -import -file "<path_to_Certificate_file>" -keystore "<path_to_application_folder>\ServerKernel\etc\truststore\cacerts" - alias "<alias_name>" - storepass "<cacerts file password>"
Where,
path_to_Certificate_file: The location where you have downloaded the certificates.
path_to_application_folder: Location of the cacerts file in the Connect Server.
alias_name: Alias name for '1199354.crt' and '1720081.crt' are 'USERTrust RSA Certification Authority' and 'COMODO RSA Certification Authority' respectively.
cacerts file password: Password for the cacerts file. By default, the password for the cacerts file is 'changeit'.
This section is applicable only if you are using Server in Linux environment.
In view of using open source Amazon Coretto JRE with this release, it is mandatory for you to install the Fontconfig library on the machine where Server is running.
Ensure that you have Read, Write, and Execute permissions in Linux environment. |
Follow the steps below to install the Fontconfig library:
Run the following command to install the Fontconfig library:
yum install fontconfig
Command to install Fontconfig library may vary for different Linux editions. |
Once the post patch deployment steps are done, start the services, i.e. Kernel and WebRunner.