Page History
...
$R_HOME/bin/R
- At the R prompts:
source("http://www.bioconductor.org/biocLite.R")
biocLite()
biocLite("RCurl")
biocLite("SJava")
biocLite("RWebServices")
biocLite("RUnit")
biocLite("DNAcopy")
biocLite("CGHcall")
q()
- Build SJava links missed by install:
cd $R_HOME/lib64/R/library/SJava/libs
ln -s SJava.so libRInterpreter.so
ln -s SJava.so libSJava.so
- Build and test SJava/RWebServices installation, following these steps.
$R_HOME/bin/R
- At the R prompts:
library(RWebServices)
unpackAntScript("/tmp/rservices")
q()
cd /tmp/rservices
ant recompile-sjava
ant basic-prop
- Look for any errors.
ant rservices-test
- This step is optional.
...
cd ~
- This is your home directory
svn checkout
httphttps://gforgencisvn.nci.nih.gov/svnrootsvn/bioconductor./branches/caIntegratorcd bioconductorcaIntegrator/trunk/services/caDNAcopy/R
$R_HOME/bin/R CMD INSTALL caDNAcopy
...
- Download Bioconductor-caGrid-Services.tar.gz.
- Unpack tar file in home directory.
- Build and deploy caDNAcopy grid service.
cd caGrid/CaDNAcopy
ant -Dno.deployment.validation=true deployTomcat
- Prepare Tomcat for Grid applications.
cd $GLOBUS_LOCATION
ant -f share/globus_wsrf_common/tomcat/tomcat.xml deployTomcat -Dtomcat.dir="$CATALINA_HOME"
cp $JMS_HOME/lib/*.jar $CATALINA_HOME/webapps/wsrf/WEB-INF/lib
- Optionally, fix the timeout value in
caDNAcopy.jar
to be 2 hours instead of 60 seconds.- {
mkdir ~/unjar; cd ~/unjar
}} unzip /usr/local/tomcat-5.5.27-8080/$CATALINA_HOME/webapps/wsrf/WEB-INF/lib/caDNAcopy.jar
- Edit org/bioconductor/rserviceJms/services/caDNAcopy/RWebServices4java.properties. Change to:
jms.timeout=7200000
zip -r caDNAcopy.jar *
cd /usr/local/tomcat-5.5.27-8080$CATALINA_HOME/webapps/wsrf/WEB-INF/lib
cp ~/unjar/caDNAcopy.jar .
- {
...
cd ~
- This is your home directory
svn checkout
http[https://gforgencisvn.nci.nih.gov/svnrootsvn/bioconductor
cd bioconductor/branches/caIntegrator
cd caIntegrator/services/caCGHcall/R
$R_HOME/bin/R CMD INSTALL caCGHcall
...
cd /usr/local/bioconductor
$R_HOME/bin/R
- At the R prompts:
library(RWebServices)
unpackAntScript("caCGHcall")
q()
- Optionally, fix timeout value for all R workers to be 2 hours instead of 60 seconds.
- Edit $R_HOME/lib64/R/library/RWebServices/scripts/RWebServicesTuning.properties. Change to:
jms.timeout=7200000
.
- Edit $R_HOME/lib64/R/library/RWebServices/scripts/RWebServicesTuning.properties. Change to:
cd caCGHcall
- Change the queue name for caCGHcall so it does not conflict with caDNAcopy, by editing RWebServicesTuning.properties. Change to:
jms.queue=CGHC
. ant map-package -Dpkg=caCGHcall
ant unpack-package -Dpkg=caCGHcall
ant precompile
- Optionally, test the RWebService, following these steps.
- Start up Tomcat (If Tomcat is already running, you must shut it down before using the following command):
$CATALINA_HOME/bin/startup.sh
- Start up ActiveMQ:
$JMS_HOME/bin/activemq &
- Start up R worker for caCGHcall
nohup ant start-worker &
- Run the test:
ant local-test
- Start up Tomcat (If Tomcat is already running, you must shut it down before using the following command):
...
- Build and deploy caCGHcall grid service.
cd ~/caIntegrator/usrservices/localcaCGHcall/bioconductorcaGrid/caCGHcall
ant -Dno.deployment.validation=true deployTomcat
- Prepare Tomcat for Grid applications.
cd $GLOBUS_LOCATION
ant -f share/globus_wsrf_common/tomcat/tomcat.xml deployTomcat -Dtomcat.dir="$CATALINA_HOME"
cp $JMS_HOME/lib/*.jar to $CATALINA_HOME/webapps/wsrf/WEB-INF/lib
Launch Bioconductor Services
...
mkdir /usr/local/bioconductor/logs
- Edit /usr/local/activemq/conf/log4j.properties
- Change "log4j.rootLogger=INFO, stdout" to "log4j.rootLogger=INFO, out"
- Change "log4j.appender.out.file=${activemq.home}/data/activemq.log" to "log4j.appender.out.file=/usr/local/bioconductor/logs/activemq.log"
cd /usr/local/bioconductor/logs
ln -s /usr/local/bioconductor/caDNAcopy/nohup.out ./rworker-dnacopy.log
ln -s /usr/local/bioconductor/caCGHcall/nohup.out ./rworker-cghcall.log
ln -s $CATALINA_HOME/logs/catalina.out ./tomcat.log