To deploy OGSA-DAI Axis onto Tomcat:
Startup Tomcat.
Run:
$ ant -Dtomcat.dir=/PATH/TO/TOMCAT -Ddai.host=HOST -Ddai.port=PORT buildDeployWARAndServices
where
PATH/TO/TOMCAT is the path to the
root directory of Tomcat.
HOST is the host on which Tomcat is
running. This should be a proper host name and not
localhost.
PORT is the port on which Tomcat
accepts connections. If omitted a default of
8080 is assumed.
An OGSA-DAI WAR file will be built, copied to Tomcat and then a standard set of OGSA-DAI services will be deployed.
Section I.1, “Default service names and URLs” lists the default service names and URLs.
Sometimes the service deployment can fail if Tomcat does not recognise the WAR file before service deployment commences. If this occurs run the command:
$ ant -Dtomcat.dir=/PATH/TO/TOMCAT -Ddai.host=HOST -Ddai.port=PORT deployServices
[axis-admin] log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle). [axis-admin] log4j:WARN Please initialize the log4j system properly.can be safely ignored.