This section lists the prerequisites and explains how to apply the patch on Windows-based and Linux-based operating systems.
Prerequisites
Before applying the patch, ensure that you have:
- Read and Write permissions on all sub-folders and files of ../AdeptiaSuite-<Version>.
- Stopped Kernel and WebRunner.
- Stopped process flows that are in Running or Queued state.
- Deactivated any running Mail Event.
- Taken the backup of a backend database.
- In case, the embedded database is used as the backend database, follow the below steps to take the backup:
- Stop Kernel and WebRunner.
- Go to …<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel folder.
- Copy the embeddedDB folder and keep it into a separate folder.
- In case, any other database is used as the backend database, you need to follow the backup instructions given by that Database Server. To know, which database is used as the back end database, refer to Appendix A: Identify Backend Database.
- Take backup of the following files:
- web.xml file located at .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/web/WEB-INF.
jetty.xml file located at .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc/jetty.
- webdefault.xml file located at .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/web/WEB-INF.
- launcher.properties file located at ...<AdeptiaInstallFolder>\AdeptiaServer\ServerKernel\etc.
Ensure that you have followed the Prerequisites' instructions given on the Installing Adeptia Suite page.
Applying the patch
For Windows
- Download the latest patch from the provided URL.
- Extract the downloaded zip file in a folder.
- Open the Command Prompt.
- Go to the folder where you have extracted the zip file.
- Run the following command to apply the patch:
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.
For Linux
- Open the Terminal.
- Download the latest patch from the provided URL.
- Extract the downloaded zip file in a directory.
- Go to the directory where you have extracted the zip file.
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.
- Patch application may take some time, in case there are a large number of records in the backend and log database.
- A PatchApplicationLog<Date>.log file is also 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.
- After applying the patch, clear the browser history before login to Adeptia Suite.
- Clear the Java cache and the previous certificate of Adeptia from Java Control Panel. Click here to know how to clear Java cache and delete Adeptia certificates.
- If any error occurs during patch deployment then the patch will be recovered automatically.
After applying this patch, refer to post patch deployment section for manual changes.
Post Patch Deployment Steps
In this release, some manual changes are required in Server.
Changes in web.xml.
- Copy the web.xml file from patch location, and paste it at .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/web/WEB-INF location replacing the existing one.
- Open the copied file and replicate the manual changes that you may have done in your previous web.xml file (that you had saved as a backup).
Save the file.
Changes in jetty.xml
- Copy the jetty.xml file from patch location, and paste it at .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc/jetty location replacing the existing one.
- Open the copied file and replicate the manual changes that you may have done in your previous jetty.xml file (that you had saved as a backup).
Save the file.
Changes in webdefault.xml
- Copy the webdefault.xml file from patch location, and paste it at .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/web/WEB-INF location replacing the existing one.
- Open the copied file and replicate the manual changes that you may have done in your previous webdefault.xml file (that you had saved as a backup).
Save the file.
Changes in launcher.properties
- Copy the launcher.properties_Server file from patch location, and paste it at ...<AdeptiaInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Rename the copied launcher.properties_Server file to launcher.properties.
- Open the copied file and replicate the manual changes that you may have done in your previous launcher.properties file (that you had saved as a backup).
Save the file.
Once the post patch deployment steps are done, start the services, i.e. Kernel and WebRunner.