site-business¶
Changing database connectivity¶
There are two ways to change the database connectivity, both of which can make use of the property file encryption if the data is sensitive :
Temporary change, i.e. the change will be overwritten on a subsequent redeployment unless the permanent change is undertaken.
If
site-businesshas been deployed in the servlet container (e.g. thesite_business-<version>.warfile has been expanded in the webapps directory), then modify the content of the filesite_business.properties, e.g.CATALINA_HOME/site-business/webapps/site_business-<version>/WEB-INF/classes/META-INF/properties/site_business.propertiesand restartsite-business, upon whichsite-businesswill attempt to connect to the new database.Permanent change.
For a change to become effective when
site-businessis redeployed, thesite-businesssource code file<ap_predict_online>/site-business/src/properties/database/site/site.database.propertiesneeds to be assigned the desired values, then the source code needs to be rebuilt and redeployed.