This page provides an introduction to Analysis-Server,installation and to troubleshoot.
The Analysis Server performs on-the-fly statistical calculations for the caIntegartor application. It can be hosted on the same machine that runs the any application (ex. Rembrandt or ISPY) or it can be run on any number of remote compute machines. In the remote configuration, each compute machine communicates with the appropriate application via the JBossMQ Java Messaging Service (JMS) provided by JBoss. It is important to note that each compute machine does not require its own JBoss instance. The Analysis Server relies on the JMS queues defined in the JBoss instance running the caIntegator application, such as Rembrandt.
Analysis-commons is a module which defines classes for communicating with the analysis server. caIntegrator Applications like Rembrandt , I-SPY etc use the request and response classes defined in the analysis commons module for communication with the analysis server.
The following assumptions are in place:
You have Java and Ant installed, as listed below
|
And the Rserve installation instructions:
http://stats.math.uni-augsburg.de/Rserve/doc.shtml
It is recommended that you read the Rserve installation instructions before installing R. Specifically, the Rserve instructions recommend building the R distribution from source using the (color:red)--enable-R-shlib flag(color).
The R source distribution can be obtained from R project site:
http://www.r-project.org/ (click the link under download)
NOTE |
The purpose of setting operating system environment variables is so that the Java SDK and Ant build tool are available to run from anywhere in the system. |
To set the environment variables in Linux, follow these steps:
Step |
Action |
---|---|
1 |
As the root user, enter the following in the /etc/profile file. |
2 |
Log out and log back in so that the system recognizes your changes. |
To verify that environment variables have been set correctly, follow these steps:
Step |
Action |
---|---|
1 |
From the command line, enter: |
2 |
To verify your Java SDK installation, enter java -version from a command prompt. |
1) Connect to CVS repository
2) Here are the parameters
a) Host: cbiocvs2.nci.nih.gov
b) Repository path: /share/content/cvsroot
c) User: anonymous
d) Password: anonymous
e) Connection type: pserver
Step :1
Check out caintergrator-analysis commons from HEAD or provided CVS tag. Built it using ant script. (Please follow the steps)
a) Open a COMMAND prompt. cd into caintergrator-analysis commons folder.
b) then type ant build_dependency . It will start the build and get the message
BUILD SUCCESSFUL.
c) Do a CVS check out of the caintegrator-analysis-server
Step:2
Download the latest client jar file (use the exceptions version) from:
http://stats.math.uni-augsburg.de/Rserve/down.shtml after agreeing to their licensing terms and conditions.
Copy the downloaded file into the lib directory under the analysis server install directory and rename it to Rserve.jar .
Step :3
1) Build it using ant script from command prompt.
a) cd into caintergrator-analysis commons folder.
b) then type ant build_tar . It will start the build and you will get the message
BUILD SUCCESSFUL.
Step :4
Setup JMS Configuration Files:
1) Copy the file "caintegrator-jbossmq-destinations-service.xml" from \artifacts to the directory where you installed JBoss.
/jboss-4.0.4.GA/server/default/deploy/jms folder
2) Copy the application specific file for example "rembrandt-jbossmq-destinations-service.xml" (for REMBRANDT) from \artifacts to the directory where you installed JBoss.
/jboss-4.0.4.GA/server/default/deploy/jms folder
Step :5
Deploy the Analysis Server.