Steps of Installing lookup service from source is given below:
mak@aegir $ svn co http://anonsvn.internet2.edu/svn/perfsonar/trunk/perfsonar;
mak@aegir $ cd perfsonar/
mak@aegir $ ls
ant/ conf/ data/ lib/ releng/ src/
build/ contrib/ doc/ log/ schema/ test/
mak@aegir $ cd ant/
mak@aegir $ ls
add-context-listener.xsl changes-rrdma libs-download-targets.xml
axis-deploy-targets.xml clmp/ nmsmp/
build-clmp.xml configure-targets.xml perfsonar-install.xml
build-flowmp.xml const.properties.clmp pre-install-targets.xml
build-nmsmp.xml const.properties.ma rem-context-listener.xsl
build-rrdma.xml const.properties.mp rrdma/
build-snmpmp.xml const.properties.tcmp snmpmp/
build-sqlma.xml const.properties.tops sqlma/
build-tcmp.xml flowmp/ tcmp/
build-tops.xml java-compile-targets.xml tops/
build-xmlls.xml javadoc-targets.xml xmlls/
mak@aegir $ ant -f build-xmlls.xml libs-xmlls
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath
libs-xmlls:
Overriding previous definition of reference to classpath
init-libs:
libs-generic:
[artifact:dependencies] Downloading: xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: axis/axis/1.4/axis-1.4.pom
[artifact:dependencies] Transferring 2K
[artifact:dependencies] Downloading: axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading: commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom
[artifact:dependencies] Transferring 1K
[artifact:dependencies] Downloading: commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: axis/axis-saaj/1.4/axis-saaj-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: axis/axis-saaj/1.4/axis-saaj-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading: axis/axis-wsdl4j/1.5.1/axis-wsdl4j-1.5.1.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
[artifact:dependencies] Transferring 5K
[artifact:dependencies] Downloading: axis/axis-ant/1.4/axis-ant-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: axis/axis-ant/1.4/axis-ant-1.4.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading: log4j/log4j/1.2.9/log4j-1.2.9.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: xalan/xalan/2.7.0/xalan-2.7.0.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xalan/xalan/2.7.0/xalan-2.7.0.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: xml-apis/xml-apis/2.0.2/xml-apis-2.0.2.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom
[artifact:dependencies] Transferring 2K
[artifact:dependencies] Downloading: commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: jdom/jdom/1.0b8/jdom-1.0b8.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: commons-collections/commons-collections/3.2/commons-collections-3.2.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: commons-collections/commons-collections/3.2/commons-collections-3.2.pom
[artifact:dependencies] Transferring 10K
[artifact:dependencies] Downloading: exist/exist-xmldb/1.0rc/exist-xmldb-1.0rc.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: tomcat/servlet-api/5.0.28/servlet-api-5.0.28.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: exist/exist-db/1.0rc/exist-db-1.0rc.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: urbanophile/java-getopt/1.0.9/java-getopt-1.0.9.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: junit/junit/4.0/junit-4.0.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: exist/exist-xmlrpc/1.0rc/exist-xmlrpc-1.0rc.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: exist/exist-optional/1.0rc/exist-optional-1.0rc.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: commons-pool/commons-pool/1.1/commons-pool-1.1.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: commons-pool/commons-pool/1.1/commons-pool-1.1.pom
[artifact:dependencies] Transferring 2K
[artifact:dependencies] Downloading: xerces/xerces/2.0.2/xerces-2.0.2.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xerces/xerces/2.0.2/xerces-2.0.2.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: xerces/xercesImpl/2.0.2/xercesImpl-2.0.2.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xerces/xercesImpl/2.0.2/xercesImpl-2.0.2.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: commons-collections/commons-collections/2.1/commons-collections-2.1.pom
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: commons-collections/commons-collections/2.1/commons-collections-2.1.pom
[artifact:dependencies] Transferring 3K
[artifact:dependencies] Downloading: javax/mail/mail/1.3.2/mail-1.3.2.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: javax/activation/activation/1.0.2/activation-1.0.2.pom
[artifact:dependencies] Transferring 0K
[artifact:dependencies] Downloading: javax/activation/activation/1.0.2/activation-1.0.2.jar
[artifact:dependencies] Transferring 53K
[artifact:dependencies] Downloading: javax/mail/mail/1.3.2/mail-1.3.2.jar
[artifact:dependencies] Transferring 339K
[artifact:dependencies] Downloading: axis/axis/1.4/axis-1.4.jar
[artifact:dependencies] Transferring 1562K
[artifact:dependencies] Downloading: exist/exist-db/1.0rc/exist-db-1.0rc.jar
[artifact:dependencies] Transferring 3031K
[artifact:dependencies] Downloading: exist/exist-optional/1.0rc/exist-optional-1.0rc.jar
[artifact:dependencies] Transferring 272K
[artifact:dependencies] Downloading: xalan/xalan/2.7.0/xalan-2.7.0.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xalan/xalan/2.7.0/xalan-2.7.0.jar
[artifact:dependencies] Transferring 2666K
[artifact:dependencies] Downloading: xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar
[artifact:dependencies] Transferring 986K
[artifact:dependencies] Downloading: commons-pool/commons-pool/1.1/commons-pool-1.1.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: commons-pool/commons-pool/1.1/commons-pool-1.1.jar
[artifact:dependencies] Transferring 38K
[artifact:dependencies] Downloading: xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xml-apis/xml-apis/1.3.02/xml-apis-1.3.02.jar
[artifact:dependencies] Transferring 189K
[artifact:dependencies] Downloading: commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[artifact:dependencies] Transferring 37K
[artifact:dependencies] Downloading: axis/axis-ant/1.4/axis-ant-1.4.jar
[artifact:dependencies] Transferring 32K
[artifact:dependencies] Downloading: commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[artifact:dependencies] Transferring 184K
[artifact:dependencies] Downloading: log4j/log4j/1.2.9/log4j-1.2.9.jar
[artifact:dependencies] Transferring 344K
[artifact:dependencies] Downloading: jdom/jdom/1.0b8/jdom-1.0b8.jar
[artifact:dependencies] Transferring 87K
[artifact:dependencies] Downloading: xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
[artifact:dependencies] Transferring 121K
[artifact:dependencies] Downloading: axis/axis-jaxrpc/1.4/axis-jaxrpc-1.4.jar
[artifact:dependencies] Transferring 30K
[artifact:dependencies] Downloading: axis/axis-wsdl4j/1.5.1/axis-wsdl4j-1.5.1.jar
[artifact:dependencies] Transferring 123K
[artifact:dependencies] Downloading: axis/axis-saaj/1.4/axis-saaj-1.4.jar
[artifact:dependencies] Transferring 18K
[artifact:dependencies] Downloading: exist/exist-xmldb/1.0rc/exist-xmldb-1.0rc.jar
[artifact:dependencies] Transferring 13K
[artifact:dependencies] Downloading: commons-discovery/commons-discovery/0.2/commons-discovery-0.2.jar
[artifact:dependencies] Transferring 69K
[artifact:dependencies] Downloading: junit/junit/4.0/junit-4.0.jar
[artifact:dependencies] Transferring 103K
[artifact:dependencies] Downloading: commons-collections/commons-collections/3.2/commons-collections-3.2.jar
[artifact:dependencies] [WARNING] Unable to get resource from repository remote.repository (http://anonsvn.internet2.edu/svn/perfsonar/trunk/jar-repository/)
[artifact:dependencies] Downloading: commons-collections/commons-collections/3.2/commons-collections-3.2.jar
[artifact:dependencies] Transferring 557K
[artifact:dependencies] Downloading: urbanophile/java-getopt/1.0.9/java-getopt-1.0.9.jar
[artifact:dependencies] Transferring 52K
[artifact:dependencies] Downloading: exist/exist-xmlrpc/1.0rc/exist-xmlrpc-1.0rc.jar
[artifact:dependencies] Transferring 113K
[artifact:dependencies] Downloading: tomcat/servlet-api/5.0.28/servlet-api-5.0.28.jar
[artifact:dependencies] Transferring 95K
Overriding previous definition of reference to classpath
init-libs:
libs-for-xmlls:
BUILD SUCCESSFUL
Total time: 58 seconds
mak@aegir $ ant -f build-xmlls.xml pre-install
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath
show-info:
[echo] Pre-install
[echo] --- Welcome in perfSONAR LookupService installation script ---
[echo] You're about to install LookupService that may be also called LS during the installation process. The installation guide is accessible on http://wiki.perfsonar.net/jra1-wiki/index.php/Installation_LS_1.1#Lookup_service_installation web page
[echo] Requirements:
[echo] 1. Java 1.5.x
[echo] 2. Ant 1.6.x (we're sure you've already got it installed as you run the installation process)
[echo] 3. eXist DB XML - see Exist DB Installation Guide for LS:
[echo] http://wiki.perfsonar.net/jra1-wiki/index.php/Exist_DB_Installation_Guide_for_LS
[echo] 4. JAVA_HOME environment variable set to your Java directory
[input] Do you want to proceed? Just press ENTER to continue. Otherwise CTRL-C stops the process immediately
[echo] Preparing the installation of XML Lookup Service...
[echo] Answer to all questions. If you go wrong, cancel (ctrl-c) and start again.
get-inputs:
[input] Do you want to install Tomcat webserver?(y,n)
y
[input] Enter webserver home directory [/usr/local/tomcat_ls]
/usr/tomcat_ls
[input] Temporary directory [/tmp]?
[input] Enter webserver hostname (please type your host and domain name - not localhost)
aegir
[input] Enter webserver port [8080]
1011
[input] Enter service directory (where to be installed) [/usr/perfsonar]
[input] Enter service deployment name [LookupService]
confirm-inputs:
[echo] ---------------------------------------------------------------
[echo] Your settings:
[echo] ---------------------------------------------------------------
[echo] Tomcat home directory [/usr/tomcat_ls]
[echo] Service address [http://aegir:1011/LookupService]
[input] Proceed with these settings? (y,n)
y
get-tomcat:
[echo] Download Tomcat
[get] Getting: http://monstera.man.poznan.pl/private/bak/apache-tomcat-5.5.20.tar.gz
[get] To: /tmp/apache-tomcat-5.5.20.tar.gz
[get] ....................................................
[get] ....................................................
[get] .
[get] last modified = Thu Sep 28 07:01:58 PDT 2006
[echo] Unpacking Tomcat
[untar] Expanding: /tmp/apache-tomcat-5.5.20.tar.gz into /tmp
[delete] Deleting: /tmp/apache-tomcat-5.5.20.tar.gz
[move] Moving 832 files to /usr
[move] Moved 174 empty directories to 9 empty directories under /usr
[chmod] Applied chmod to 7 files and 0 directories.
copy-const-properties:
[echo] Create ANT configuration file [/usr/perfsonar/ant/const.properties]
[copy] Copying 1 file to /usr/perfsonar/ant
pre-install:
BUILD SUCCESSFUL
Total time: 59 seconds