Sun Java System Web Server 7.0 Update 2 Administrator's Guide

Deploying a Web Application Directory

Directory on the administration server host machine can be deployed to a configuration using the –file-on-server option. Execute the following command:


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