Oracle iPlanet Web Server 7.0.9 Administrator's Guide

Deploying a Web Application Directory

A WAR file can be exploded on the administration server host machine, and the path to the exploded WAR file can be provided as the warfile operand to the add-webapp(1) command using the --file-on-server option; for example:


wadm> add-webapp --user=admin-user --password-file=admin.passwd 
--port=8989 --vs=vs1 --config=config1 --file-on-server
--uri=/mywebapp /space/tmp/mywebapp

The administration server does not keep track of the files under the web application in this case because it is located outside the instance server's installation directory. Instead, you must manage the web application manually. Removal of the application using admin interfaces removes it from server.xml, but does not remove any of the files under the web application.

If another version of the web application is exploded into a different outside directory, you can specify the new path using the Update button in the Admin Console page on web applications.