...
Code Block |
---|
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$ ant -f build-sqlma.xml build-sqlma Buildfile: build-sqlma.xml build-sqlma: clean-all: clean-jar-generic: compile-generic: [javac] Compiling 242 source files to \ /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060901/\ perfSONAR-SQL_MA-src-snapshot-20060901/perfsonar/build [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. jar-generic: [jar] Building jar: \ /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060901/\ perfSONAR-SQL_MA-src-snapshot-20060901/perfsonar/build/perfSONAR-generic.jar clean-jar-sqlma: compile-sqlma: compile-rrdma: [javac] Compiling 28 source files to \ /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060901/\ perfSONAR-SQL_MA-src-snapshot-20060901/perfsonar/build [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [copy] Copying 2 files to \ /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060901/\ perfSONAR-SQL_MA-src-snapshot-20060901/perfsonar/build/org/perfsonar/service/web/wsdd jar-sqlma: clean-jar-rrdma: compile-rrdma: jar-rrdma: [jar] Building jar: \ /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060901/\ perfSONAR-SQL_MA-src-snapshot-20060901/perfsonar/build/perfSONAR-rrdma.jar [copy] Copying 1 file to \ /afs/slac.stanford.edu/g/scs/net/netmon/perfSONAR/SQLtypeMAService/java/20060901/\ perfSONAR-SQL_MA-src-snapshot-20060901/perfsonar/build BUILD SUCCESSFUL Total time: 14 seconds |
Yippee!
SQL-MA Deployment
Code Block |
---|
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$ ant -f build-sqlma.xml deploy-sqlma
Buildfile: build-sqlma.xml
does-jar-generic-exist:
copy-generic-jar:
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
copy-jars-for-service:
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
copy-jars-for-sqlma:
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[copy] Copying 6 files to /opt/axis/current/WEB-INF/classes
[copy] Copying 1 file to /opt/axis/current/WEB-INF/classes
[copy] Copying 1 file to /opt/axis/current/WEB-INF/classes
does-jar-sqlma-exist:
copy-sqlma-jar:
[copy] Copying 1 file to /opt/axis/current/WEB-INF/lib
[echo] ------------------------------ WARNING ---------------------------
[echo] Restart your application server (container of perfSONAR service)!!!
[echo] ------------------------------------------------------------------
deploy-sqlma:
[java] Processing file ../build/org/perfsonar/service/web/wsdd/ma-service-deploy.wsdd
[java] <Admin>Done processing</Admin>
BUILD SUCCESSFUL
Total time: 7 seconds
|
Restarted Tomcat (as root as it's running on port 80):
Code Block |
---|
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$ \
sudo /opt/tomcat/current/bin/catalina.sh stop
Using CATALINA_BASE: /opt/tomcat/current
Using CATALINA_HOME: /opt/tomcat/current
Using CATALINA_TMPDIR: /opt/tomcat/current/temp
Using JRE_HOME: /usr/local/java/current
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$ \
sudo /opt/tomcat/current/bin/catalina.sh start
Using CATALINA_BASE: /opt/tomcat/current
Using CATALINA_HOME: /opt/tomcat/current
Using CATALINA_TMPDIR: /opt/tomcat/current/temp
Using JRE_HOME: /usr/local/java/current
[ytl@net-desk1:/opt/perfSONAR/current-SQL_MA/perfsonar/ant]$
|
Looking at the Axis List page gives