Versions Compared
Version | Old Version 3 | New Version 4 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
This section lists the prerequisites and steps for applying and verifying this patch.
Info |
---|
Though every release of Adeptia comes with seamless upgrades and bug-free patches, for customer's complex use cases, we recommend applying the patch in a non-production environment first followed by testing. After the use cases run successfully without any errors or warnings, you can apply the patch in the production environment. |
Anchor Prerequisites Prerequisites
Prerequisites
Prerequisites | |
Prerequisites |
Ensure that you have:
- Read and Write permissions on all sub-folders and files of .../AdeptiaConnect-<Version>.
- Take backup of launcher.properties file from …<ConnectPoratlInstallFolder>\conf location. This backup file will help you replicate the manual changes in case you have done earlier in the launcher.properties file before applying this patch.
- Take backup of server.xml file from …<ConnectPortalInstallFolder>\conf location. This backup file will help you replicate the manual changes in case you have done earlier in the server.xml file before applying this patch.
- Take backup of securityContext.xml file from …<ConnectPortalInstallFolder>\resources_config\saml location. This backup file will help you replicate the manual changes in case you have done earlier in the server.xml file before applying this patch.
- Take backup of apps.properties file from …<ConnectPortalInstallFolder>\resources_config location. This backup file will help you replicate the manual changes in case you have done earlier in the apps.properties file before applying this patch.
- Connect Server services are running.
- Connect Portal service is stopped.
Anchor Applying the patch Applying the patch
Applying the patch
Applying the patch | |
Applying the patch |
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
Anchor Post Patch Deployment Steps Post Patch Deployment Steps
Post patch deployment steps
Post Patch Deployment Steps | |
Post Patch Deployment Steps |
In this release, some manual changes are required in Connect Portal.
Changes in
weblauncher.
xml Fileproperties file
- Go to …<ConnectPortalInstallFolder>to …<ConnectPoratlInstallFolder>\conf location.
- Take backup of web.xml file from the above-mentioned location.
- Go to the downloaded Adeptia Connect zip folder and rename the web.xml_Portal file to web.xml.
- Copy the renamed web.xml file.
- Replace the existing file with the copied file at the following location: …<ConnectPortalInstallFolder>\conf.
- Open web.xml file and do the following changes:
You need to uncomment the below tag. This is required only when you auto redirect from http to https.
Open launcher.properties file.Code Block language yml <!-- <filter> <filter-name>RedirectToHttpsFilter</filter-name> <filter-class>com.adeptia.connect2.embedded.tomcat.web.RedirectToHttpsFilter</filter-class> </filter> <filter-mapping> <filter-name>RedirectToHttpsFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <security-constraint> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint> -->
- Update the JVM memory properties in the file.
- Do the same manual changes in the file in case you have done in your previous launcher.properties file (that you had saved as a backup).
- Save the file.
Changes in server.xml File
- Go to …<ConnectPortalInstallFolder>\conf location.
Take backup of server.xml file from the above-mentioned location.- Open server.xml file.
- Go to Connector port section and do the following changes:
- Update the property 'sslProtocol' value as TLSv1.2.
- Add this property sslEnabledProtocols="TLSv1.2" as shown below.
Save the file.
Changes in securityContext.xml File
- Go to …<ConnectPortalInstallFolder>\resources_config\saml location.
- Take backup of securityContext.xml file from the above-mentioned location.Go to the folder where you have extracted the patch.
- Copy server.xml file and replace the existing file with the copied file at the following location: …<ConnectPortalInstallFolder>\conf.
- Open and do the comparison of both newly copied file and the one you had saved as a backup. In case you find any changes in the following properties in the backup file, replicate those changes to the newly copied server.xml file:
Update HTTP and HTTPS portsUpdate SSL certificate if configured previously.Update SAML properties if configured previously.
- Save the file.
Changes in securityContext.xml file
- Go to the downloaded Adeptia Connect zip folder and copy rename the securityContext.xml_Portal file to securityContext.xml.
- Copy the renamed securityContext.xml file.
- Replace the existing file with the copied file at the following location: …<ConnectPortalInstallFolder> …<ConnectPortalInstallFolder>\resources_config\saml.
- Open securityContext.xml file file.
- Do the same manual changes that in the file in case you have done in your previous securityContext.xml file xml file (that you had saved as a backup).
- Save the file.
In case you are using SAML authentication then open the replaced securityContext.xml file and do the following changes:
Uncomment the following property:
<!-- <property name="entityBaseURL" value="http://localhost:8080/adeptia"/> -->
- Update the URL as required. Where localhost is the IP address and port of the Connect Server.
- Uncomment the idp.xml property:
- If you are using Adeptia Connect with load balancer, follow these steps:
- Remove or comment out the existing contextProvider bean
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderImpl"/> - Add the below contextProvider bean
<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> - Remove or comment out the existing contextProvider bean
- If there were any other changes in the old file, you have to do the same changes manually in the replaced securitycontext.xml file.
- Save the file.
- Restart Connect Portal.
Changes in apps.properties File
- Go to …<ConnectPortalInstallFolder>\resources_config location.
- Take backup of apps.properties file from the above-mentioned location.
- Go to the downloaded Adeptia Connect zip folder and copy apps.properties file.
- Replace the existing file with the copied file at the following location: …<ConnectPortalInstallFolder>\resources_config.
- Open apps.properties file.
- Do the same manual changes in the file that you have done in your previous apps.properties file (that you had saved as backup).
- Save the file.
Once the post installation steps are done, start the Connect Portal.
Info |
---|
If you are using Database/Advanced Database Event, Source/Target activity with MySQL Database Server using an older version of MySQL JDBC jars then it is recommended to upgrade the jars to mitigate the vulnerability associated with the older jars. |
Anchor | ||||
---|---|---|---|---|
|
Login to Adeptia Connect. If you log in successfully, indicates Connect Portal is updated successfully.
Next Step
Panel | ||||
---|---|---|---|---|
| ||||
|
Panel | ||||
---|---|---|---|---|
| ||||
What's newBest practicesFrequently asked questionsAdeptia Connect APIsAdeptia security report |
Panel | ||||
---|---|---|---|---|
| ||||
Upgrading Spazio jar filesUpgrading MySQL Driver |