Sun Java System Web Server 7.0 Update 4 Developer's Guide to Java Web Applications

ProcedureAuto-Deploying a Web Application

  1. Copy the web application (.war file or directory) to the following directory:

    instance_dir/auto-deploy

    where, instance_dir is the path to the installation directory of this server instance.

  2. Start the instance. If the instance is already running, type the reconfig command:

    instance_dir/bin/reconfig

    All web applications in the instance_dir/auto-deploy directory are automatically deployed to all the virtual servers in the instance.