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
...
- If you want to use Dynamics CRM and Active Directory applications in Adeptia Connect then you need to download the drivers and deploy it in your environment.
- Copy the below code in the apps-properties file (.../<AdeptiaConnectWar>/resources_config).
# Concur properties
#concur.appKey=
#concur.appKeySecret=
concur.oauthVersion=2.0
concur.oauth20.accessToken=https://www.concursolutions.com/net2/oauth2/GetAccessToken.ashx
concur.oauth20.authorize=https://www.concursolutions.com/net2/oauth2/Login.aspx
concur.oauth.signatureMethod=PLAINTEXT
concur.oauth10.requestToken=N/A
concur.oauth10.accessToken=N/A
concur.oauth10.authorize=N/A
concur.refreshToken=N/A
concur.scope=ATTEND,LIST,USER,CONFIG,EXPRPT,INSGHT,TRVREQ,TRVPRF,IMAGE,TWS,MTNG,PAYBAT,ITINER,ERECPT,EXTRCT
concur.enableProduction=false
Next Step