FIRMS-Explanation
of Target Commands Used in the Server build.xml
Community
Grids Lab,
1.
Introduction:
This document provides a description of each of the
commands used in the server build.xml file. Also provided is a build.properties file where users can
initialize all the arguments for the various ANT target commands. Users can, if
they so desire, also override the modified default parameters (contained in the
build.properties) while running the
individual target commands.
Listed below is the list of variables in the server
build.properties
file. For each such variable we have include a description of the information
encapsulated within these variables and their current default values. It is expected that the users will modify the
values associated with these properties to suit their execution environment.
omii.catalina.home = Holds the Tomcat home
directory. In this case it is Tomcat within the OMII container.
omii.catalina.home=/usr/local/OMII/jakarta-tomcat-5.0.25
tomcat.home = Holds the Tomcat home directory. In this case it
is Tomcat within the OMII container. This variable is same as Catalina home
variable but defined exclusively for Tomcat to execute Start and Stop commands
from terminal
tomcat.home = /usr/local/OMII/jakarta-tomcat-5.0.25/
firms.home = Holds the FIRMS root directory. In this case it is tomcat within
the OMII container
firms.home=.
#WSR
wsr.serviceA.axisadmin =Holds the admin service
URL for the Service A running within OMII Container.
wsr.serviceA.axisadmin = -lhttp://localhost:18080/axis/services/AdminService
wsr.serviceA.deploy.wsddfile = Holds the ServiceA
Deployment Descriptor file name and location.
wsr.serviceA.deploy.wsddfile=config/wsr/ServiceADeploy.wsdd
wsr.serviceA.undeploy.wsddfile = Holds the ServiceA
Undeployment Descriptor file name and location.
wsr.serviceA.undeploy.wsddfile=config/wsr/ServiceAUndeploy.wsdd
wsr.serviceB.axisadmin =Holds the admin service
URL for the Service B running within OMII Container.
wsr.serviceB.axisadmin = -lhttp://localhost:18080/axis/services/AdminService
wsr.serviceB.deploy.wsddfile = Holds the Service B
Deployment Descriptor file name and location.
wsr.serviceB.deploy.wsddfile=config/wsr/ServiceBDeploy.wsdd
wsr.serviceB.undeploy.wsddfile ─ Holds the Service B
Undeployment Descriptor file name and location.
wsr.serviceB.undeploy.wsddfile=config/wsr/ServiceBUndeploy.wsdd
wsr.ts.axisadmin = Holds the admin service URL for the Target running
within OMII Container.
wsr.ts.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsr.ts.deploy.wsddfile = Holds the target Deployment Descriptor file name
and location.
wsr.ts.deploy.wsddfile=config/wsr/reliabilityTS.wsdd
wsr.ts.undeploy.wsddfile = Holds the target Undeployment Descriptor
file name and location.
wsr.ts.undeploy.wsddfile=config/wsr/undeployTS.wsdd
wsr.proxy.axisadmin = Holds the admin service URL for the Proxy Service
running within OMII Container.
wsr.proxy.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsr.proxy.deploy.wsddfile = Holds the Proxy Service Deployment
Descriptor file name and location.
wsr.proxy.deploy.wsddfile=config/wsr/DeployProxy.wsdd
wsr.proxy.undeploy.wsddfile = Holds the Proxy Service
Undeployment Descriptor file name and location.
wsr.proxy.undeploy.wsddfile=config/wsr/UndeployProxy.wsdd
wsr.tsproxy.axisadmin = Holds the admin service URL for the Target Proxy
Service running within OMII Container.
wsr.tsproxy.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsr.tsproxy.deploy.wsddfile = Holds the Target Proxy Service Deployment
Descriptor file name and location.
wsr.tsproxy.deploy.wsddfile=config/wsr/reliabilityTSProxy.wsdd
wsr.tsproxy.undeploy.wsddfile = Holds the Target Proxy
Service Undeployment Descriptor file name and location.
wsr.tsproxy.undeploy.wsddfile=config/wsr/undeployTSProxy.wsdd
wsr.servlet.url = Holds the Axis Servlet URL.
wsr.servlet.url=-http://localhost:18080/axis/servlet/AxisServlet
wsr.webservice.serviceA = Holds the Service A Web Service name.
wsr.webservice.serviceA=WsrServiceA
wsr.webservice.serviceB = Holds the Service B Web Service name.
wsr.webservice.serviceB =WsrServiceB
wsr.webservice.target = Holds the Target Web Service name.
wsr.webservice.target=WsrTS
wsr.webservice.proxy = Holds the Proxy Web Service name.
wsr.webservice.proxy=WsrProxyService
wsr.webservice.targetproxy = Holds the Target proxy Web Service name.
wsr.webservice.targetproxy=WsrTSProxy
#WSRM
wsrm.serviceA.axisadmin ─ Holds the admin
service URL for the Sink running within OMII Container.
wsrm.serviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsrm.serviceA.deploy.wsdd ─ Holds the Sink
Deployment Descriptor file name and location.
wsrm.serviceA.deploy.wsdd=config/wsrm/wsdd/handler/ServiceADeploy.wsdd
wsrm.serviceA.undeploy.wsdd ─ Holds the Sink Undeployment
Descriptor file name and location.
wsrm.serviceA.undeploy.wsdd=config/wsrm/wsdd/handler/ServiceAUndeploy.wsdd
wsrm.serviceB.axisadmin ─ Holds the admin service URL for the
Source running within OMII Container.
wsrm.serviceB.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsrm.serviceB.deploy.wsdd ─ Holds the Source Deployment
Descriptor file name and location.
wsrm.serviceB.deploy.wsdd=config/wsrb/wsdd/handler/ServiceBDeploy.wsdd
wsrm.serviceB.undeploy.wsdd ─ Holds the Source Undeployment
Descriptor file name and location.
wsrm.serviceB.undeploy.wsdd=config/wsrm/wsdd/handler/ServiceBUndeploy.wsdd
wsrm.targetservice.axisadmin ─ Holds the admin
service URL for the Target Service running wihtin OMII Container.
wsrm.targetservice.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsrm.targetservice.deploy.wsdd ─ Holds the Target
Service Deployment Descriptor file name and location.
wsrm.targetservice.deploy.wsdd=config/wsrm/wsdd/proxy/TargetServiceDeploy.wsdd
wsrm.targetservice.undeploy.wsdd ─ Holds the Target
Service Undeployment Descriptor file name and location.
wsrm.targetservice.undeploy.wsdd=config/wsrm/wsdd/proxy/TargetServiceUndeploy.wsdd
wsrm.proxyserviceB.axisadmin ─ Holds the admin
service URL for the Sink Proxy Service running within OMII Container.
Wsrm.proxyserviceB.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsrm.proxyserviceB.deploy.wsdd ─ Holds the Sink
Proxy Service Deployment Descriptor file name and location.
wsrm.proxyserviceB.deploy.wsdd=config/wsrm/wsdd/proxy/ProxyServiceDeploy.wsdd
wsrm.proxyserviceB.undeploy.wsdd ─ Holds the Sink
Proxy Service Undeployment Descriptor file name and location.
wsrm.proxyserviceB.undeploy.wsdd=config/wsrm/wsdd/proxy/ProxyServiceUndeploy.wsdd
wsrm.clientservice.axisadmin ─ Holds the admin
service URL for the Client Service running within OMII Container.
wsrm.clientservice.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsrm.clientservice.deploy.wsdd ─ Holds the Client
Service Deployment Descriptor file name and location.
wsrm.clientservice.deploy.wsdd=config/wsrm/wsdd/proxy/ClientServiceDeploy.wsdd
wsrm.clientservice.undeploy.wsdd ─ Holds the Client
Service Undeployment Descriptor file name and location.
wsrm.clientservice.undeploy.wsdd=config/wsrm/wsdd/proxy/ClientServiceUndeploy.wsdd
wsrm.proxyserviceA.axisadmin ─ Holds the admin
service URL for the Source Proxy service running within OMII Container
wsrm.proxyserviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
wsrm.proxyserviceA.deploy.wsdd ─ Holds the Source
Proxy service Deployment Descriptor file name and location.
wsrm.proxyserviceA.deploy.wsdd=config/wsrm/wsdd/proxy/ProxyServiceDeploy.wsdd
wsrm.proxyserviceA.undeploy.wsdd ─ Holds the Source
Proxy service Undeployment Descriptor file name and location.
wsrm.proxyserviceA.undeploy.wsdd=config/wsrm/wsdd/proxy/ProxyServiceUndeploy.wsdd
wsrm.servlet.url ─ Holds the Axis Servlet URL.
wsrm.servlet.url=-http://localhost:18080/axis/servlet/AxisServlet
wsrm.webservice.serviceB ─ Holds the Sink Web Service name.
wsrm.webservice.serviceB=WsrmServiceB
wsrm.webservice.serviceA ─ Holds the Source Web Service name.
wsrm.webservice.serviceA=WsrmSeriviceB
wsrm.webservice.targetservice ─ Holds the Target
Web Service name.
wsrm.webservice.targetservice=WsrmTargetService
wsrm.webservice.proxyservice ─ Holds the Sink
& Source ProxyWeb Service names on their machines.
wsrm.webservice.proxyservice=WsrmProxyService
wsrm.webservice.clientservice ─ Holds the Client
Web Service name.
wsrm.webservice.clientservice=WsrmClientService
#COMMON
soapmonitor.axisadmin = Holds the admin service URL for SOAPMonitor
service running within OMII Container.
soapmonitor.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
soapmonitor.deploy.wsddfile = Holds the SOAPMonitor
service Deployment Descriptor file name and location.
soapmonitor.deploy.wsddfile=config/deploySoapMonitor.wsdd
soapmonitor.undeploy.wsddfile = Holds the SOAPMonitor
service Undeployment Descriptor file name and location.
soapmonitor.undeploy.wsddfile=config/undeploySoapMonitor.wsdd
servlet.url = Holds the Axis Servlet URL.
servlet.url=-http://localhost:18080/axis/servlet/AxisServlet
webservice. soapmonitor = Holds the SOAPMonitor Web Service name.
webservice.soapmonitor=SOAPMonitorService
compile: Echoed a message “Ant is
ready to run server commands “
Usage: $ant compile
release: Echoed a message ”WS-ReliableMessaging
Release: http://msdn.microsoft.com/ws/2005/02/ws-reliablemessaging/
and WS-Reliability Release: Aug-2004 http://docs.oasis-open.org/wsrm/2004/06/WS-Reliability-CD1.086.pdf
" to standard output
Usage: $ant release
clean: Deletes generated
documentation and classes’ folder.
Usage: $ant clean
2.
Targets
required for deploying and running FIRMS within OMII container
deploy-firms: Copies all jar, classes, configuration Files
required for deployment of FIRMS web services within OMII Tomcat Instance.
Usage: $ant deploy-firms
undeploy-firms: Deletes all jar, classes
and configuration files previously copied for deployment of FIRMS web services
within OMII container.
Usage: $ant undeploy-firms
#WSR
deploy-wsrserviceA: Deploys service A within OMII
Container running on port 18080
Usage: $ ant deploy-wsrserviceA
-Dwsr.serviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr.serviceA.deploy.wsddfile=config/wsr/ServiceADeploy.wsdd
test-wsrserviceA: Test the deployed service
A within OMII Container running on port 18080
Usage: $ ant test-wsrserviceA -Dwsr.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsr.webservice.serviceA =WsrServiceA
undeploy-wsrserviceA: Undeploys service A from
OMII Container running on port 18080
Usage: $ ant undeploy-wsrserviceA
-Dwsr.serviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr.serviceA.undeploy.wsddfile=config/wsr/ServiceAUndeploy.wsdd
deploy-wsrserviceB: Deploys service B within OMII
Container running on port 18080
Usage: $ ant deploy-wsrserviceB
-Dwsr.serviceB.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr.serviceB.deploy.wsddfile=config/wsr/ServiceBDeploy.wsdd
test-wsrserviceB: Test the deployed service
B within OMII Container running on port 18080
Usage: $ ant test-wsrserviceB
-Dwsr.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsr.webservice.serviceB =WsrServiceB
undeploy-wsrserviceB: Undeploys service B from
OMII Container running on port 18080
Usage: $ ant undeploy-wsrserviceB
-Dwsr.serviceB.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr.serviceB.undeploy.wsddfile=config/wsr/ServiceBUndeploy.wsdd
deploy-wsrts: Deploys Target service within
OMII Container running on port 18080
Usage: $ ant deploy-wsrts -Dwsr.ts.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr.ts.deploy.wsddfile=config/wsr/reliabilityTS.wsdd
test-target: Test the deployed Target web
service within OMII Container running on port 18080
Usage: $ ant test-target -Dwsr.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsr.webservice.target=WsrTS
undeploy-wsrts: Undeploys Taget service
from OMII Container running on port 18080
Usage: $ ant undeploy-wsrts -Dwsr.ts.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr.ts.undeploy.wsddfile=config/wsr/undeployTS.wsdd
deploy-soapmonitor: Deploys soapmonitor
service within OMII Container
Usage: $ ant deploy-soapmonitor
-Dsoapmonitor.axisadmin=-lhttp://localhost:18080/axis/services/AdminService -Dsoapmonitor.deploy.wsddfile=config/deploySoapMonitor.wsdd
test-soapmonitor: Test the deployed SOAP
Monitor service within OMII Container running on port 18080
Usage: $ ant test-soapmonitor
-Dservlet.url=http://localhost:18080/axis/servlet/AxisServlet -Dwebservice.soapmonitor=SOAPMonitorService
undeploy-soapmonitor: Undeploys soapmonitor
service from OMII Container running on port 18080
Usage: $ ant undeploy-soapmonitor
-Dsoapmonitor.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dsoapmonitor.undeploy.wsddfile=config/undeploySoapMonitor.wsdd
deploy-wsrproxy: Deploys proxy service within
OMII Container running on port 18080
Usage: $ ant deploy-wsrproxy -Dwsr.proxy.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr. proxy.deploy.wsddfile=config/wsr/DeployProxy.wsdd
test-proxy: Test the deployed Proxy
web service within OMII Container running on port 18080
Usage: $ ant test-proxy -Dwsr.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsr.webservice.proxy=WsrProxyService
undeploy-wsrproxy: Undeploys proxy service
from OMII Container running on port 18080
Usage: $ ant undeploy-wsrproxy
-Dwsr.proxy.axisadmin=-lhttp://localhost:18080/axis/services/AdminService -Dwsr.proxy.undeploy.wsddfile=config/wsr/UndeployProxy.wsdd
deploy-wsrtsproxy: Deploys Target proxy
service within OMII Container running on port 18080
Usage: $ ant deploy-wsrtsproxy
-Dwsr.tsproxy.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr.tsproxy.deploy.wsddfile=config/wsr/reliabilityTSProxy.wsdd
test-targetproxy: Test the deployed Target Proxy
web service within OMII Container running on port 18080
Usage: $ ant test-targetproxy
-Dwsr.servlet.url=http://localhost:18080/axis/servlet/AxisServlet -Dwsr.webservice.targetproxy=WsrTSProxy
undeploy-wsrtsproxy: Undeploys Target proxy
service from OMII Container running on port 18080
Usage: $ ant undeploy-wsrtsproxy
-Dwsr.tsproxy.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsr.tsproxy.undeploy.wsddfile=config/wsr/undeployTSProxy.wsdd
deploy-serviceA: Deploys serviceA within OMII
Container running on port 18080
Usage: $ ant deploy-serviceA
-Dwsrm.serviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.serviceA.deploy.wsdd=config/wsrm/wsdd/handler/ServiceADeploy.wsdd
test-serviceA: Test the deployed Service
A web service within OMII Container running on port 18080
Usage: $ ant test-serviceA
-Dwsrm.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsrm.webservice.serviceA=WsrmServiceA
undeploy-serviceA: Undeploys ServiceA
(Source) service from OMII Container running on port 18080
Usage: $ ant undeploy-serviceA
-Dwsrm.serviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.serviceA.undeploy.wsdd=config/wsrm/wsdd/handler/ServiceAUndeploy.wsdd
deploy-serviceB: Deploys service B(Sink)
service within OMII Container running on port 18080
Usage: $ ant deploy-serviceB
-Dwsrm.serviceB.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.serviceB.deploy.wsdd=config/wsrm/wsdd/handler/ServiceBDeploy.wsdd
test-serviceB: Test the deployed Service
B (Sink) web service within OMII Container running on port 18080
Usage: $ ant test-serviceB
-Dwsrm.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsrm.webservice.serviceB=WsrmServiceB
undeploy-serviceB: Undeploys service B
(Sink) service from OMII Container running on port 18080
Usage: $ ant undeploy-serviceB
-Dwsrm.serviceB.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.serviceB.undeploy.wsdd=config/wsrm/wsdd/handler/ServiceBUndeploy.wsdd
deploy-clientservice: Deploys Client service running
with Source proxy within OMII Container running on port 18080
Usage: $ ant deploy-clientservice
-Dwsrm.clientservice.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.clientservice.deploy.wsdd=config/wsrm/wsdd/proxy/ClientServiceDeploy.wsdd
test-clientservice: Test the deployed Client web
service within OMII Container running on port 18080
Usage: $ ant test-clientservice
-Dwsrm.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsrm.webservice.clientservice=WsrmClientService
undeploy-clientservice: Undeploys Client service
from OMII Container running on port 18080
Usage: $ ant
undeploy-clientservice
-Dwsrm.clientservice.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.clientservice.deploy.wsdd=config/wsrm/wsdd/proxy/ClientServiceUndeploy.wsdd
deploy-proxyserviceA: Deploys Proxy Service (Source)
service within OMII Container running on port 18080
Usage: $ ant deploy-proxyserviceA
-Dwsrm.proxyserviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.proxyserviceA.deploy.wsdd=config/wsrm/wsdd/proxy/ProxyServiceDeploy.wsdd
test-proxyserviceA: Test the deployed Proxy Service
( source) web service within OMII Container running on port 18080
Usage: $ ant test-proxyserviceA
-Dwsrm.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsrm.webservice.proxyservice=WsrmProxyService
undeploy-proxyserviceA: Undeploys proxy service A
(Source) from OMII Container running on port 18080
Usage: $ ant
undeploy-proxyserviceA -Dwsrm.proxyserviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.proxyserviceA.undeploy.wsdd=config/wsrm/wsdd/proxy/ProxyServiceUndeploy.wsdd
deploy-proxyserviceB: Deploys Proxy Service (Sink)
service within OMII Container running on port 18080
Usage: $ ant deploy-proxyserviceB
-Dwsrm.proxyserviceA.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.proxyserviceB.deploy.wsdd=config/wsrm/wsdd/proxy/ProxyServiceDeploy.wsdd
test-proxyserviceB: Test the deployed Proxy Service
(Sink) web service within OMII Container running on port 18080
Usage: $ ant test-proxyserviceB
-Dwsrm.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsrm.webservice.proxyservice=WsrmProxyService
undeploy-proxyserviceB: Undeploys proxy service B
(Sink) from OMII Container running on port 18080
Usage: $ ant
undeploy-proxyserviceB
-Dwsrm.proxyserviceB.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.proxyserviceB.undeploy.wsdd=config/wsrm/wsdd/proxy/ProxyServiceUndeploy.wsdd
deploy-targetservice: Deploys Target service with
Sink Proxy within OMII Container running on port 18080
Usage: $ ant deploy-targetservice
-Dwsrm.targetservice.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.targetservice.deploy.wsdd=config/wsrm/wsdd/proxy/TargetServiceDeploy.wsdd
test-targetservice: Test the deployed Target web
service within OMII Container running on port 18080
Usage: $ ant test-targetservice
-Dwsrm.servlet.url=http://localhost:18080/axis/servlet/AxisServlet
-Dwsrm.webservice.targetservice=WsrmTargetService
undeploy-targetservice: Undeploys Taget service
from OMII Container running on port 18080
Usage: $ ant
undeploy-targetservice
-Dwsrm.targetservice.axisadmin=-lhttp://localhost:18080/axis/services/AdminService
-Dwsrm.targetservice.deploy.wsdd=config/wsrm/wsdd/proxy/TargetServiceUndeploy.wsdd