9.10 Upgrade: Add Data from Old Repository to New Repository
Business Analytics 9.10 had two repositories, mashzonerepository and mashzonenextgenrepository. Business Analytics 9.12 has only one repository, mashzonenextgenrepository. The new mashzonenextgenrepository already contains the data from the old mashzonenextgenrepository, but you must manually add the data from the old mashzonerepository.
1. Go to the new_Software AG_directory\MashZoneNG\apache-tomee-jaxrs\webapps\presto\WEB-INF directory, open the web.xml file in a text editor, and add this XML <resource-ref> element to the bottom of the file, just before the closing </web-app> tag:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>amzDatabase</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
2. Start the Business Analytics server.
Data from the amzDatabase will automatically be migrated into the mashzonenextgenrepository, and amzDatabase will no longer be used.
3. Shut down the server.
4. Go to the new_Software AG_directory\MashZoneNG\apache-tomee-jaxrs\webapps\presto\WEB-INF directory and open the web.xml file in a text editor. Remove the <resource-ref> element you just added and save the file.
5. Go to the new_Software AG_directory\MashZoneNG\apache-tomee-jaxrs\conf directory and open the tomee.xml file. Remove the <Resource id="amzDatabase"> element and save the file.