You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
The patch will automatically recover if any error occurs. In case, you want to recover the patch manually, follow the steps described later in this section.
This section lists the prerequisites and steps for recovering the patch.
Prerequisites
Ensure that you have:
- Read and Write permissions on all subfolders and files of .../AdeptiaSuite-<Version>.
- Stopped Kernel and WebRunner.
Recovering the patch
Prerequisites for MySQL database
This section is applicable only when MySQL is being used as a backend or log database. In case you are using MS SQL or Oracle as backend or log database then you can skip this step.
Steps to remove the manual changes from server-configure.properties file:
- Go to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc 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.jdbc.Driver.
- Update the property 'abpm.jdo.url' by removing the value ?useSSL=false&serverTimezone=<time zone> at the end of the URL.
- Go to Database Appender section and do the following changes:
Save the file.
Steps to remove the manual changes from qaurtz.properties file:
- Go to .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc location.
- Open quartz.properties file.
- Go to Configure Datasources section and do the following changes:
- Save the file.
For Windows
- Open the Command Prompt.
- Go to the folder from where you applied the previous patch.
- Run the following command to recover the patch:
Recover-Patch.bat “<Path where Adeptia Suite is installed till AdeptiaServer folder>”
For example:
Recover-Patch.bat "C:/Program Files/AdeptiaSuite/AdeptiaSuite-x.x/AdeptiaServer"
Once the patch is recovered, a confirmation message will be displayed.
- Start Kernel and WebRunner.
For Linux
- Open the Terminal.
- Go to the directory from where you applied the previous patch.
- Run the following command to recover the patch:
Recover-Patch.bat <Path where Adeptia Suite is installed till AdeptiaServer folder>
For example:
Recover-Patch.bat /mnt/AdeptiaSuite-x.x/AdeptiaServer
Once the patch is recovered, a confirmation message will be displayed.
- Start Kernel and WebRunner.
Post Recovery Steps
After recovery of this patch, you will have to manually perform these steps:
- Paste the backup web.xml (that you had saved as a backup) at the .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/web/WEB-INF location.
- Paste the backup jetty.xml (that you had saved as a backup) at the .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc/jetty location.
- In case you are using MySQL as Backend and Log database and you have done the manual changes, then follow the below step:
Paste the backup quartz.properties (that you had saved as a backup) at the .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc location. - In case you are using MySQL as Backend and Log database and you have done the manual changes, then follow the below step:
Paste the backup server-configure.properties (that you had saved as a backup) at the .../<AdeptiaInstallFolder>/AdeptiaServer/ServerKernel/etc location.