Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the latest patch from the provided URL.
  2. Extract the downloaded zip file in a folder.
  3. Open the Command Prompt.
  4. Go to the directory where you have extracted the zip file.
  5. Run the following command to apply the patch:

    Apply-Patch.bat “<Path where Adeptia Suite is installed till Adeptia Server 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.

  6. (This step is applicable only for v2.1) Now, go to …/<AdeptiaInstallFolder/ServerKernel/etc folder and do the following:
    1. Open spring-context.xml file in the Text Editor and do the following:
      1. In the Entity Manger Factory group, remove the below property:

        <prop key="hibernate.hbm2ddl.auto">update</prop>
      2. In the Entity Manger Factory for Log Database group, remove the below property:

        <prop key="hibernate.hbm2ddl.auto">update</prop>
      3. 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"/>
      4. Save the file.
    2. Open adapters.properties file in the Text Editor and do the following:
      1. Go to the application group you are using and set the value of the <application_name>.enableProduction property to true.
        For example, if you are using Dropbox application then go to the Dropbox group and set the value of the property dropbox.enableProduction = true.
      2. Save the file.
  7. Restart Kernel and WebRunner.

Info
  • 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.
  • 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.

...