Checkout, Installation and Running Tutorial-1 By V. Gyurjyan
Checkouts Check out Clara svn co Clara-1.7https://clas12svn.jlab.org/repos/clas12/Clara/tags/1.7.1 svn co Clara- 2.1https://clas12svn.jlab.org/repos/clas12/Clara/trunk Check out JToolBox svn co JToolBoxhttps://clas12svn.jlab.org/repos/clas12/JToolBox
Environmental Variables CLARA_HOME points to Clara distribution CLARA_SERVICES directory (arbitrary) that holds compiled service engines and orchestrators CLARA_SERVICES directory must have lib subdirectory
Compiling and installation Java 1.6.x and above Apache Ant 1.8.x cd JToolBox distribution directory ant cd $CLARA_HOME cp $CLARA_HOME/lib/cMsg-3.3 $CLARA_SERVICES/lib/. ant
Starting a Platform (Master Clara- Container) $CLARA_HOME/bin/clara-platform gurjyan:Clara>bin/clara-platform >> **** cMsg server sucessfully started at Wed Jul 25 22:41:55 EDT 2012 **** << ************************************************** * Clara-2 Platform * ************************************************** - Name = VTest_Platform - Host = TCP port = UDP port = Start time = 2012/07/25 22:41:55 ************************************************** * Clara-2 Data Processing Environment * ************************************************** - Name = _admin - Host = Start time = 2012/07/25 22:41: Platform host = Platform name = VTest_Platform - Platform TCP port = Platform UDP port = ************************************************** _admin registered with the platform at 2012/07/25 22:41:55
setup.xml defines the host and the name of the Clara platform. CLAS12_PLATFORM quark.richmond.edu Edit setup.xml