Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

This section lists the prerequisites and steps for applying this patch.

Prerequisites

Make sure that:

...

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. 

Prerequisites

Ensure that you have:

  • Readand Write permissions on all subfolders and files of .../AdeptiaSuite-<Version>. 
  • You have stopped Stopped Kernel and WebRunner. 

Steps to apply the patch


Expand
titleFor Windows
  1. Download the latest patch from the provided URL.
  2. Extract the downloaded zip file in a folder.
  3. Open

...

  1. the Command Prompt.
  2. Go to the

...

  1. folder where you have extracted the zip file.
  2. Run the following command to apply the patch:

    Apply-Patch.bat “<Path where Adeptia Suite is installed till 

...

  1. AdeptiaServer 

...

  1. folder>” 

    For example:

    Apply-Patch.bat "C:/Program Files/AdeptiaSuite/AdeptiaSuite-

...

  1. x.

...

  1. x/AdeptiaServer"

    Once the patch is applied, a confirmation message will be displayed.

...

  1. In the Entity Manger Factory and Entity Manger Factory for Log Database group, remove the below property:

    <prop key="hibernate.hbm2ddl.auto">update</prop>
  2. In the Transaction Manager group, remove the below bean:
    <bean autowire="byType" class="com.adeptia.connect2.app.LookupRegistry" id="lookupRegistry"/>
    <bean autowire="byType" class="com.adeptia.connect2.app.CompanyRegistry" id="companyRegistry"/>
    <bean autowire="byType" class="com.adeptia.connect2.app.NetworkRegistry" id="networkRegistry"/>
    <bean autowire="byType" class="com.adeptia.connect2.app.RoleRegistry" id="roleRegistry"/>
    <bean autowire="byType" class="com.adeptia.connect2.app.UserRegistry" id="userRegistry"/>
  3. Save the file.

...

  1. Restart Kernel and WebRunner.
  • The patch will automatically rollback, in case of any error during the deployment.
  • Patch application may take some time, in case there are a large number of records in the backend and log database.
  • Expand
    titleFor Linux
    1. Open the Terminal.
    2. Download the latest patch from the provided URL.
    3. Extract the downloaded zip file in a directory.
    4. Go to the directory where you have extracted the zip file.
    5. Run the following command to apply the patch:

      ./Apply-Patch.sh <Path where Adeptia Suite is installed till AdeptiaServer folder> 

      For example:

      ./Apply-Patch.sh /mnt/AdeptiaSuite-x.x/AdeptiaServer

      Once the patch is applied, a confirmation message will be displayed.

    6. Restart Kernel and WebRunner.
    Info

    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.


    Next Steps

    Post Deployment Steps

    Verifying Patch

    See also

    Recovering Patch