Menu

wdk-update

Kazushi Hiranuka Nicojo

Quick instruction for updating of WDK varDB on x4806

(also see Uehara-san's memo)

1: Log into x4806
$ ssh your_scl_account@x4806.scl.genome.ad.jp

2: Switch to vardb
$ su - vardb
Password:*********

3: Switch the shell to bash (to load correct environment variables)
$ bash
PROJECT_ID =varDB
PROJECT_HOME =/home/vardb/sWDK/project_home
GUS_HOME =/home/vardb/sWDK/vardb

4: cd to project directory
$ cd ${PROJECT_HOME}/${PROJECT_ID}

5: Update to latest version
$ svn update
Updated to revision 7.

6: Add password in model-config.xml (2 lines)
$ vim ${PROJECT_HOME}/${PROJECT_ID}/Model/config/model-config.xml

7: Stop Tomcat
$ catalina.sh stop

8: Build (install)
build varDB install -append

9: Refresh cache (don't know if necessary, but just in case)
$ wdkCache -model ${PROJECT_ID} -drop (you may need add -forceDrop)
$ wdkCache -model ${PROJECT_ID} -new
In the case you see some errors, try other options like -forceDrop or -recreate

10: Build (web install)
$ build ${PROJECT_ID} webinstall -append -webPropFile ${GUS_HOME}/webapps/WEB_INF/myProp.prop

11: Restart Tomcat and go to check site page
$ catalina.sh start


Related

Wiki: Home

MongoDB Logo MongoDB