Nov 5, 2014 - 3. save possible loaded gis icons present in: ${tomcat_home_cmdbuild}/webapps/${cmdbuild_instance}/upload/
www.tecnoteca.com www.cmdbuild.org
CMDBuild and Shark Update - HowTo Data: Cliente: Progetto: Autore:
5 November 2014 Liquid Telecom CMDBuild and Shark Update - HowTo Lisa Pedrazzi Tecnoteca srl
SOMMARIO CMDBuild updating Shark updating
Tecnoteca srl © 2014
e-mail:
[email protected] – tel: 0432.689094 – fax: 0432.689572 Via L'Aquila, 1/B – 33010 Tavagnacco UD - Italy C.F. e P. IVA 02166770301 - Cap. soc. € 10.800 i.v. - R. I. UD 02166770301 - R. E. A. 240394
1
www.tecnoteca.com www.cmdbuild.org
CMDBuild updating
In order to update CMDBuild you have to follow these steps: 1. shut down tomcat 2. save configurations held in ${tomcat_home_cmdbuild}/webapps/${cmdbuild_instance}/WEB-INF/conf 3. save possible loaded gis icons present in: ${tomcat_home_cmdbuild}/webapps/${cmdbuild_instance}/upload/images/gis 4. delete the ${tomcat_home_cmdbuild}/webapps/${cmdbuild_instance}/ directory 5. delete the content of the tomcat work 6. move the war in the webapp directory of tomcat and start tomcat 7. perform the configuration wizard specifying that the database exists and mentioning its name 8. if necessary, when the configuration finishes, the system will advise that you have to update the database and, pressing Confirm, it will perform that operation autonomously 9. after previous steps have been completed, the system is updated. You have to reactivate any configurations (alfresco, workflow). We suggest you copy the values from the saved configuration files. Note that you can't overwrite such files since they can be different in every version. 10. Any manual change in the configuration files demands a system restart.
Tecnoteca srl © 2014
e-mail:
[email protected] – tel: 0432.689094 – fax: 0432.689572 Via L'Aquila, 1/B – 33010 Tavagnacco UD - Italy C.F. e P. IVA 02166770301 - Cap. soc. € 10.800 i.v. - R. I. UD 02166770301 - R. E. A. 240394
2
www.tecnoteca.com www.cmdbuild.org
Shark updating 1. shut down tomcat 2. save ${tomcat_home_shark}/webapps/${shark_instance}/META-INF/context.xml and ${tomcat_home_shark}/webapps/${shark_instance}/conf/Shark.conf files 3. remove the {tomcat_home_shark}/webapps/${shark_instance}/ directory 4. delete the content of the tomcat work 5. copy the new war in the webapp 6. start tomcat and, when started (check in log files), switch it off so that you will get the directory containing the application (otherwise, without starting shark, you can unzip the war – as though it was a file – in a webapp directory with the name of the desired instance) 7. when the tomcat is switched off, edit ${tomcat_home_shark}/webapps/${shark_instance}/META-INF/context.xml and ${tomcat_home_shark}/webapps/${shark_instance}/conf/Shark.conf files so that they refer to the CMDBuild application and database (you can also take data from the previous configuration files, without overwriting the new versions) 8. if any, remove the ${tomcat_home_shark}/conf/Catalina/localhost/{shark_instance}.xml file 9. restart tomcat
Tecnoteca srl © 2014
e-mail:
[email protected] – tel: 0432.689094 – fax: 0432.689572 Via L'Aquila, 1/B – 33010 Tavagnacco UD - Italy C.F. e P. IVA 02166770301 - Cap. soc. € 10.800 i.v. - R. I. UD 02166770301 - R. E. A. 240394
3