After you have applied the patch, you need to do the following:
- Update the value of the properties
- Clear Java cache
Updating Properties
Go to …/<AdeptiaInstallFolder/ServerKernel/etc folder and do the following:
- Open spring-context.xml file in the Text Editor and do the following:
In the Entity Manger Factory group, remove the below property:
<prop key="hibernate.hbm2ddl.auto">update</prop>
In the Entity Manger Factory for Log Database group, remove the below property:
<prop key="hibernate.hbm2ddl.auto">update</prop>
- 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"/>
- Save the file.
- Open adapters.properties file in the Text Editor and do the following:
- 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. - Save the file.
- Go to the application group you are using and set the value of the <application_name>.enableProduction property to true.
- Restart Kernel and WebRunner.
Clearing Java Cache
- Go to Control Panel > Java
- On the General tab, click Settings.
- On the Temporary Files Settings window, click Delete Files.
- On the Delete Files and Applications window, select all check boxes and click OK.
- Click OK to close Temporary Files Settings window.
- On the Security tab, click Manage Certificates.
- The list of existing Adeptia certificates appears. Select the certificate and click Remove.
- Click Close to close Certificates window.
- Click OK to close Java dialog box.
Next Step