Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Steps of Installing lookup service from source is given below:

Panel

 mak@aegir $ svn co http://anonsvn.internet2.edu/svn/perfsonar/trunk/perfsonar;

Panel

 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:

Wiki Markup
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

Panel

 mak@aegir $ ant -f build-xmlls.xml pre-install
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

Wiki Markup
show-info:
     \[echo\] Pre-install

Wiki Markup
     \[echo\] \---\- Welcome in perfSONAR LookupService installation script \---\-

Wiki Markup
     \[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

Wiki Markup
     \[echo\] Requirements:

Wiki Markup
     \[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

Wiki Markup
    \[input\] Do you want to proceed? Just press ENTER to continue. Otherwise CTRL-C stops the process immediately

Wiki Markup
     \[echo\] Preparing the installation of XML Lookup Service...

Wiki Markup
     \[echo\] Answer to all questions. If you go wrong, cancel (ctrl-c) and start again.

Wiki Markup
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\]?

Wiki Markup
    \[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\]

Wiki Markup
    \[input\] Enter service deployment name \[LookupService\]

Wiki Markup
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

Wiki Markup
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.

Wiki Markup
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

Panel

mak@aegir $ ant -f build-xmlls.xml build
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

load-const-properties:

create-build-dir:

clean-all:

clean-jar-generic:

Wiki Markup
compile-generic:
    \[javac\] Compiling 258 source files to /usr/perfsonar/build
    \[javac\] Note: Some input files use unchecked or unsafe operations.
    \[javac\] Note: Recompile with \-Xlint:unchecked for details.

Wiki Markup
jar-generic:
      \[jar\] Building jar: /usr/perfsonar/build/perfSONAR-generic.jar

clean-jar:

Wiki Markup
compile:
    \[javac\] Compiling 12 source files to /usr/perfsonar/build
     \[copy\] Copying 2 files to /usr/perfsonar/build/org/perfsonar/service/web/wsdd

Wiki Markup
jar:
      \[jar\] Building jar: /usr/perfsonar/build/perfSONAR-xmlls.jar

build:

BUILD SUCCESSFUL
Total time: 8 seconds

Panel

mak@aegir $ ant -f build-xmlls.xml configure
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

load-const-properties:

Wiki Markup
configure-ask-for-values:
     \[echo\] \--------------------------------------------------------------\-
     \[echo\] Enter your settings. Set at least \[base path\] and \[host name\],
     \[echo\]   other may remain default (default values may be accepted just
     \[echo\]   by pressing ENTER)
     \[echo\] \--------------------------------------------------------------\-

Wiki Markup
     \[echo\] 1. Service configuration
     \[echo\] ==========================

Wiki Markup
    \[input\] Enter log configuration file \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/log4j.properties\]

Wiki Markup
    \[input\] Enter logs directory \[/usr/perfsonar/LookupService/log\]

Wiki Markup
    \[input\] Enter path for parser configuration file \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/objects.config\]

Wiki Markup
     \[echo\] 2. Lookup Information configuration
     \[echo\] =====================================

Wiki Markup
    \[input\] Lookup Information of service \-\- access point (URL) \[http://aegir:8080/LookupService\]
[http://aegir:1011/LookupService]
    \[input\] Lookup Information of service \-\- service name \[Test Lookup Service\]

Wiki Markup
    \[input\] Lookup Information of service \-\- service type \[LS\]

Wiki Markup
    \[input\] Lookup Information of service \-\- service description \[Test Lookup Service, perfSONAR\]

Wiki Markup
     \[echo\] 3. LS Storage
     \[echo\] =====================================

Wiki Markup
    \[input\] LS Storage \-\- XML database type (preferred one is HTTP, because it's much faster)(http,xmlrpc)
http
    \[input\] LS Storage \-\- XML database collection \[http://localhost:8680/exist/rest/db/ls\]

Wiki Markup
    \[input\] LS Storage \-\- XML database username \[lookupservice\]

Wiki Markup
    \[input\] LS Storage \-\- XML database password \[sonar\]

Wiki Markup
     \[echo\] 4. LS Cleanup
     \[echo\] =====================================

Wiki Markup
    \[input\] LS Cleanup \-\- enable LS Cleanup (removing old entries when TTL exceeded)?(y,n)
y
    \[input\] LS Cleanup \-\- cleanup interval: how often to search old entries in DB \[300\] (seconds)

Wiki Markup
    \[input\] LS Cleanup \-\- TTL of lookup information \[3600\] (seconds)

Wiki Markup
configure-show-values:
     \[echo\] \--------------------------------------------------------------\-
     \[echo\] Your settings:
     \[echo\] \--------------------------------------------------------------\-
     \[echo\] \[ \] Tomcat directory \[/usr/tomcat_ls\]
     \[echo\] \[ \] Service address \[http://aegir:1011/LookupService\]
     \[echo\] \[ \] Target path for the application \[/usr/perfsonar\]
     \[echo\]      - Properties dir \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf\]
     \[echo\]      - Log config file \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/log4j.properties
     \[echo\]      - Logs directory \[/usr/perfsonar/LookupService/log
     \[echo\]      - Parser config file \[/usr/perfsonar/LookupService/WEB-INF/classes/perfsonar/conf/objects.config\]
     \[echo\] \[ \] Lookup Information
     \[echo\]      - LI-access point (URL) \[http://aegir:1011/LookupService\]
     \[echo\]      - LI-service name \[Test Lookup Service\]
     \[echo\]      - LI-service type \[LS\]
     \[echo\]      - LI-service description \[Test Lookup Service, perfSONAR\]
     \[echo\] \[ \] Lookup Storage
     \[echo\]      - XML database type \[http\]
     \[echo\]      - XML database collection \[http://localhost:8680/exist/rest/db/ls\]
     \[echo\]      - XML database username \[lookupservice\]
     \[echo\]      - XML database password \[sonar\]
     \[echo\] \[ \] LS Cleanup
     \[echo\]      - Cleanup interval \[300\] seconds
     \[echo\]      - Cleanup TTL \[3600\] seconds

Wiki Markup
     \[echo\] \--------------------------------------------------------------\-

Wiki Markup
configure-confirm-values:
    \[input\] Proceed with these settings? (y,n)
y

Wiki Markup
copy-components-properties:
     \[echo\] Create COMPONENTS configuration file \[/usr/perfsonar/conf/components.properties\]
     \[copy\] Copying 1 file to /usr/perfsonar/conf

Wiki Markup
copy-service-properties:
     \[echo\] Create SERVICE configuration file \[/usr/perfsonar/conf/service.properties\]
     \[copy\] Copying 1 file to /usr/perfsonar/conf

Wiki Markup
copy-log4j-properties:
     \[echo\] Create log4j configuration file \[/usr/perfsonar/conf/log4j.properties\]
   \[delete\] Deleting: /usr/perfsonar/conf/log4j.properties
     \[copy\] Copying 1 file to /usr/perfsonar/conf

configure:

BUILD SUCCESSFUL
Total time: 46 seconds

Panel
Wiki Markup
mak@aegir $ ant \-f build-xmlls.xml deploy
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

does-jar-generic-exist:

copy-generic-jar:

create-deploy-root:

copy-axis-for-service:

copy-jars-for-service:

copy-jars-for-xmlls:

does-jar-xmlls-exist:

copy-xmlls-jar:

copy-other-files:

add-context-listener:
     \[copy\] Copying 1 file to /usr/perfsonar/LookupService/WEB-INF
    \[style\] Processing /usr/perfsonar/LookupService/WEB-INF/web.xml to /usr/perfsonar/LookupService/WEB-INF/web.xml.out
    \[style\] Loading stylesheet /usr/perfsonar/ant/add-context-listener.xsl
     \[copy\] Copying 1 file to /usr/perfsonar/LookupService/WEB-INF

deploy:
     \[echo\] Deploying the service...
Overriding previous definition of reference to classpath

tomcat-start-question:
    \[input\] Do you want me to start the application server Tomcat for you? (y,n)n

tomcat-start-for-xmlls-true:

tomcat-start-for-xmlls-false:
     \[echo\] Please, insert now the following xml tag 'Context'
     \[echo\] into Tomcat configuration file server.xml
     \[echo\] (/usr/tomcat_ls/conf/server.xml)
     \[echo\] inside existing xml tag 'Host':

&nbsp;&nbsp;&nbsp;&nbsp; \[echo\] ${newline}&nbsp;&nbsp;&nbsp; <Context path='/LookupService'
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; docBase='/usr/perfsonar/LookupService'>
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp;&nbsp;&nbsp; </Context>

&nbsp;&nbsp;&nbsp;&nbsp; \[echo\] Please, do it now. I will wait for you.
&nbsp;&nbsp;&nbsp; \[input\] Press Return key ...


tomcat-start-for-xmlls:
Overriding previous definition of reference to classpath

\_deploy-adminclient:

&nbsp;&nbsp;&nbsp;&nbsp; \[echo\] The directory with all required service files has been created.
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\] The next step in deploy action is installing the service in Tomcat.
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\] (If you are an expert in Axis and want to install the service other way
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp; than default one use ctrl+c to stop the script in this moment)

&nbsp;&nbsp;&nbsp; \[input\] Press Enter


deploy-adminclient:
&nbsp;&nbsp;&nbsp;&nbsp; \[java\] Processing file /usr/perfsonar/LookupService/wsdd/ls-service-deploy.wsdd
&nbsp;&nbsp;&nbsp;&nbsp; \[java\] <Admin>Done processing</Admin>

BUILD SUCCESSFUL
Total time: 13 seconds
&nbsp;
Panel

mak@aegir $ ant -f build-xmlls.xml test
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

Wiki Markup
test:
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\] For testing web service please run:

Wiki Markup
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml client-echo
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml client-register
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml client-query
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml client-keepalive
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml client-deregister

Wiki Markup
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\] For testing service without Tomcat (just service functionality) please run:

Wiki Markup
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml test-echo
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml test-register
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml test-query
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml test-keepalive
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml test-deregister
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\] We suggest to run "test-echo" first.
&nbsp;&nbsp;&nbsp;&nbsp; \[echo\]&nbsp;&nbsp; ant \-f build-xmlls.xml test-echo

BUILD SUCCESSFUL
Total time: 2 seconds

Panel

mak@aegir $ ant -f build-xmlls.xml client-echo
Buildfile: build-xmlls.xml
Overriding previous definition of reference to classpath

Wiki Markup
client-echo:
&nbsp;&nbsp;&nbsp;&nbsp; \[java\] End point: http://aegir:1011/LookupService/services/LookupService
&nbsp;&nbsp;&nbsp;&nbsp; \[java\] Request file: /usr/perfsonar/schema/example-instances/perfSONAR/LS/test/EchoRequest.xml
&nbsp;&nbsp;&nbsp;&nbsp; \[java\] Response file: /usr/perfsonar/schema/example-instances/perfSONAR/LS/test/EchoResponse.xml
&nbsp;&nbsp;&nbsp;&nbsp; \[java\] time taken :0.787 secs
&nbsp;&nbsp;&nbsp;&nbsp; \[java\] Client exiting

BUILD SUCCESSFUL
Total time: 4 seconds