Changes between Version 7 and Version 8 of DeveloperGuide


Ignore:
Timestamp:
Jul 16, 2015, 10:07:42 AM (9 years ago)
Author:
casties
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuide

    v7 v8  
    5151Before 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.
    5252
    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 {{{
     532. 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
     55As root user:
     56{{
     57cd /usr/local/java/src/ismi-richfaces
    5558mvn package
    5659}}}
    5760
    5861
    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:
     623. 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
     64As root user:
    6065{{{
    61 cp /home/workspace/ismi-richfaces/target/ismi-richfaces-1.0.war /usr/local/java/tomcat/webapps/om4-ismi.war
     66rsync -auv /usr/local/java/src/ismi-richfaces/target/ismi-richfaces-1.0/ /usr/local/java/ismi-tomcat/webapps/om4-ismi/
    6267}}}
    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'.
     68It 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'.
    6469
    6570
     
    6772For this, you can run following command:
    6873{{{
    69 sudo service tomcat7 restart
     74service tomcat restart
    7075}}}
    7176If this command does not run successfully, you can get the process id to kill it with this command: 'ps aux | grep tomcat'.
    7277
    73 
    74