Changes between Version 7 and Version 8 of DeveloperGuide
- Timestamp:
- Jul 16, 2015, 10:07:42 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuide
v7 v8 51 51 Before we generate the distributable war file of the ISMI web application, we have to check that the file hibernate.cfg.xml contains a valid MySQL account. 52 52 53 2. The first step of the deploment is the compilation of the source code and the generation of the distributable war file. The following command will generate a war file called ' ismi-richfaces-1.0.war' within the folder `target` of the project. 54 {{{ 53 2. The first step of the deployment is the compilation of the source code and the generation of the distributable war file. The following command will generate a webapp folder and a war file called 'ismi-richfaces-1.0.war' within the folder `target` of the project: 54 55 As root user: 56 {{ 57 cd /usr/local/java/src/ismi-richfaces 55 58 mvn package 56 59 }}} 57 60 58 61 59 3. Currently, ISMI is running in tuxserve01. In order to deploy the war file, you should copy it into your tomcat distribution. For tuxserve01, you should execute following command: 62 3. Currently, ISMI is running on ismi.mpiwg-berlin.mpg.de. In order to deploy the war file, you should copy it into your tomcat distribution. For ismi, you should execute following command: 63 64 As root user: 60 65 {{{ 61 cp /home/workspace/ismi-richfaces/target/ismi-richfaces-1.0.war /usr/local/java/tomcat/webapps/om4-ismi.war 66 rsync -auv /usr/local/java/src/ismi-richfaces/target/ismi-richfaces-1.0/ /usr/local/java/ismi-tomcat/webapps/om4-ismi/ 62 67 }}} 63 It is worth noting that until now we call the ISMI web application 'om4-ismi', therefore we must rename the war file from 'ismi-richfaces-1.0.war' to 'om4-ismi.war'.68 It is worth noting that until now we call the ISMI web application 'om4-ismi', therefore we renamed the webapp folder from 'ismi-richfaces-1.0' to 'om4-ismi'. 64 69 65 70 … … 67 72 For this, you can run following command: 68 73 {{{ 69 s udo service tomcat7restart74 service tomcat restart 70 75 }}} 71 76 If this command does not run successfully, you can get the process id to kill it with this command: 'ps aux | grep tomcat'. 72 77 73 74