Deploying a WAR to Sun Java System Web Server via Ant

I would like to deploy and undeploy (add and remove) a WAR to a virtual server on my Sun Java System Web Server 7.0 but am unable to find any documentation on how to do this. I am familiar with how to accomplish this using Apache's Tomcat but am fairly new to Sun's web server. Also, it'd be nice to be able to start and stop (enable and disable) a web application via Ant as well.

Any help in pointing me in the right direction would be greatly appreciated. Thanks!

[482 byte] By [Chip_Da] at [2007-11-27 5:10:10]
# 1

> I would like to deploy and undeploy (add and remove)

> a WAR to a virtual server on my Sun Java System Web

> Server 7.0 but am unable to find any documentation on

> how to do this.

I presume, you meant on how to deploy using ant. we do provide such support and we have samples on how to do it as well. please take a look at

<ws7installroot>/samples/java/webapps/common.xml and a simple example is at <ws7installroot>/samples/java/webapps/simple/src/build.xml

I am familiar with how to accomplish

> this using Apache's Tomcat but am fairly new to

> Sun's web server. Also, it'd be nice to be able to

> start and stop (enable and disable) a web

> application via Ant as well.

>

yes, this is possible. and this is described in the build.xml / common.xml that I mentioned above

hope this helps

> Any help in pointing me in the right direction would

> be greatly appreciated. Thanks!

chilidevelopera at 2007-7-12 10:30:10 > top of Java-index,Web & Directory Servers,Web Servers...
# 2
Thanks, I'll check it out.
Chip_Da at 2007-7-12 10:30:10 > top of Java-index,Web & Directory Servers,Web Servers...