Versions Compared
Version | Old Version 19 | New Version 20 |
---|---|---|
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.
Table of Contents | ||
---|---|---|
|
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 | ||||
---|---|---|---|---|
|
Ensure that you have:
- You have Read and Write permissions on all sub-folders and files of .../AdeptiaConnect-<Version>.
- Services such as Kernel, WebRunner, and AIMap are stopped.
- Take backup of securityContext.xml file from …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc\saml location. This file will help you recover the patch manually, if required.
- Take backup of web.xml file from …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\web\WEB-INF location. This file will help you recover the patch manually, if required.
- Take backup of cacert file from …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc\truststore location. his file will help you recover the patch manually, if required.
- No process flow or transaction should be in running, waiting or queued state.
- Latest License details of Adeptia Connect. You can contact Adeptia Support for more details.
Anchor | ||||
---|---|---|---|---|
|
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
After you have applied the patch, PatchApplicationLog_<Date>.log file is created inside the logs folder. The logs folder is available in the same folder from where you have applied the patch. PatchApplicationLog_<Date>.log file contains the logs generated during patch application and can be used to troubleshoot any issue related to the patch application.
Patch application may take some time, in case there are a large number of records in the backend and log database.
The patch will automatically rollback, in case of any error during the deployment.
After applying this patch, refer to post patch deployment section for manual changes.
Anchor | ||||
---|---|---|---|---|
|
Changes in jetty.xml File
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc\jetty location.
- Open jetty.xml file.
- Update the sslContextFactory bean class value by adding $Server at the end.
- Add one Array type item as <Item>TLSv1.1</Item> to exclude the TLSv1.1 protocol.
- Save the file.
Changes in web.xml File
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\web\WEB-INF 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_Server file to web.xml.
- Copy the renamed web.xml file.
- Replace the existing file with the copied file at the following location: …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\web\WEB-INF.
- Open web.xml file.
- Do the same manual changes in the file that you have done in your previous web.xml file (that you had saved as a backup).
- Save the file.
Changes in server-configure.properties File
In case you are using MySQL as Backend and Log database then do the following manual changes.
Info |
---|
This is required as MySQL JDBC jars have been upgraded to the latest version. |
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Take backup of server-configure.properties file from the above-mentioned location.
- Open server-configure.properties file.
- Go to Database Configuration section and do the following changes:
- Update the property 'abpm.jdo.driver' value as com.mysql.cj.jdbc.Driver.
Update the property 'abpm.jdo.url' by appending the value ?useSSL=false&serverTimezone=<time zone> at the end of the URL.
Info - Append the value ?useSSL=false at the end of the URL. However, this argument is not required if SSL is configured on your MySQL database server.
- Append the value &serverTimezone=<time zone> at the end of the URL. For example, &serverTimezone=UTC+3:00. This argument is required only when an error related to the time zone is displayed while starting the Connect Kernel.
Here, <time zone> is the time zone of your MySQL server.
Save the file.
- Go to Database Appender section and do the following changes:
- Update the property 'log4j.appender.jdbc.dbclass' value as com.mysql.cj.jdbc.Driver.
Update the property 'abpm.jdo.url' by appending the value ?useSSL=false&serverTimezone=<time zone> at the end of the URL.
Info - Append the value ?useSSL=false at the end of the URL. However, this argument is not required if SSL is configured on your MySQL database server.
- Append the value &serverTimezone=<time zone> at the end of the URL. For example, &serverTimezone=UTC+3:00. This argument is required only when an error related to the time zone is displayed while starting the Connect Kernel.
Here, <time zone> is the time zone of your MySQL server.
Save the file.
Changes in quartz.properties File
In case you are using MySQL as Backend and Log database then do these manual changes.
Info |
---|
This is required as MySQL JDBC jars have been upgraded to the latest version. |
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Take backup of quartz.properties file from the above-mentioned location.
- Open quartz.properties file.
- Go to Configure Datasources section and do the following changes:
- Update the property 'org.quartz.dataSource.aBPM.driver' value as com.mysql.cj.jdbc.Driver.
Update the property 'abpm.jdo.url' by appending the value ?useSSL=false&serverTimezone=<time zone> at the end of the URL.
Info - Append the value ?useSSL=false at the end of the URL. However, this argument is not required if SSL is configured on your MySQL database server.
- Append the value &serverTimezone=<time zone> at the end of the URL. For example, &serverTimezone=UTC+3:00. This argument is required only when an error related to time zone is displayed while starting the Connect Kernel.
Here, <time zone> is the time zone of your MySQL server.
- Save the file.
Restoring user-defined jars
With the new patch the launcher.properties file is updated and no longer has the list of jars in it. If you have defined your own jars in previous version of launcher.properties file, you need to move them to the ext folder to load them at the time of Kernel and WebRunner start up. Follow the steps below:
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Open launcher-bak.properties file.
- Identify your jars and move those jars from their current location to the following location: …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\ext.
Update window services
If you have upgraded from Adeptia Connect v2.9.2 or earlier to the higher versions, you need to remove the existing windows services i.e. Adeptia Suite Kernel and Adeptia Suite WebRunner and add two new windows services (Connect Kernel and Connect WebRunner).
Follow the steps below to remove the older services:
- Open the Terminal as an administrator.
- Go to the …<ConnectServerInstallFolder>\jre\bin.
Run the following command to remove the old Windows services:
jsl -remove "…<ConnectServerInstallFolder>\ServerKernel\jsl-Kernel_Unregister.ini"
jsl -remove "…<ConnectServerInstallFolder>\ServerKernel\jsl-WebRunner_Unregister.ini"
Follow the steps below to add the new services:
- Open the Terminal as an administrator.
- Go to the …<ConnectServerInstallFolder>\jre\bin.
Run the following command to add the new Windows services:
jsl -install "…<ConnectServerInstallFolder>\ServerKernel\jsl-Kernel.ini"
jsl -install "…<ConnectServerInstallFolder>\ServerKernel\jsl-WebRunner.ini"
Go to windows services to check if these services have been added successfully. To start Adeptia Connect server, you need to start these two services.
Once the post patch deployment steps are done, start the services, i.e. Kernel, WebRunner, and AIMap.
Info |
---|
|
Updating database info for CDATA drivers
If you are using any CDATA JDBC driver to connect with any business application such as salesforce, etc. then follow the steps below to update the database info:
- Login into Adeptia application.
- Edit the database info which is using CDATA driver.
- Save it.
Info |
---|
This will update the license of upgraded CDATA driver into database info activity. |
Anchor | ||||
---|---|---|---|---|
|
To verify whether the patch is applied successfully:
Open the browser and visit the URL:
http://<hostname>:8080/adeptia/control
where hostname is the name of the server on which Connect Server is running. Developer Studio home page appears.
- Type the username and password in the User Id and Password text boxes respectively.
- Click Login.
- Click Help > About.
- Check the Build Tag. If it is the same you applied, indicates patch is deployed successfully.
Next Step
Panel | ||||
---|---|---|---|---|
| ||||
|
Panel | ||||
---|---|---|---|---|
| ||||
What's newBest practicesFrequently asked questionsAdeptia Connect APIsAdeptia security report |
Panel | ||||
---|---|---|---|---|
| ||||
Upgrading Spazio jar filesUpgrading MySQL Driver |