Changes between Version 22 and Version 23 of ComponentRegistryRest


Ignore:
Timestamp:
11/05/12 13:54:55 (12 years ago)
Author:
olhsha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ComponentRegistryRest

    v22 v23  
    113113
    114114Obviously, one should not rely on any data in this testing environment
     115
     116Here are the step-by-step instruction "How to transfer your ComponentRegistry project to lux16" for testing. In this instruction, the example local branch directory is called "yourbranch" and  the example version, on which your work on, is called "yourversion".
     117
     1181) Prepare the archive of the project in yourbranch/ComponentRegistry/:
     119
     120mvn clean install -Plux16
     121
     122(This also stated in README in yourbranch/ComponentRegistry/.)  The archive should appear in yourbranch/ComponentRegistry/target/
     123
     124
     1252) go to http://lux16.mpi.nl:8080/manager/html and stop "componentRegistrty". Stop the old version before you start your one.
     126
     127
     1283) Now, if the archive is ready, copy it to "lux16:/tmp/" . You should copy the whole archive  "ComponentRegistry-version-SNAPSHOT-mpi-deploy.tar.gz" . Make sure that you have access to lux16.
     129
     1304) Move "ComponentRegistry-yourversion-SNAPSHOT-mpi-deploy.tar.gz"  to /lat/webapps/componentRegistry
     131
     1325) Go to /lat/webapps/componentRegistry/.  Untar the archive there: tar -zxf /tmp/ComponentRegistry-yourversion-SNAPSHOT-mpi-deploy.tar.gz
     133
     1346) Go to /lat/webapps/componentRegistry/ComponentRegistry-yourversion-SNAPSHOT/war/ .  Unzip the war-file there: unzip ComponentRegistry.war
     135
     1367) Go to  /lat/webapps/componentRegistry/. Symbolic link "current" still  points to the old version of the project. Remove it by: rm current
     137
     1388) Make a new symbolic link: ln -s ComponentRegistry-yourversion-SNAPSHOT/war ./current
     139
     1409) Go to /lat/tomcat-webuser/conf/Catalina/localhost/ .  Now, the xml database can be removed by TomCat, but you need it. Use its backup: cp backup/ds#ComponentRegistry.xml .
     141
     14210) run log to faciliate testing: tail -f /lat/tomcat-webuser/logs/componentRegistry.log