7. Deploying Applications

Currently the Tools support direct deployment of WTP Dynamic Web Projects, OSGi bundle and PAR projects to the VTS from directly within Eclipse.

To deploy an application to the Virgo Server for Apache Tomcat just bring up the context menu on the configured VTS runtime in the Servers view and choose "Add or Remove Projects...". In the dialog, select the desired project and add it to the list of "Configured projects".

[Note]Note

Deploying and undeploying an application from the VTS certainly works while the Virgo Server for Apache Tomcat is running, but you can also add or remove projects if the VTS is not running.

Once an application is deployed on the Virgo Server for Apache Tomcat the tooling support will automatically pick up any change to source files -- for example, Java and XML context files -- and refresh the deployed application on the VTS.

The wait time between a change and the actual refresh can be configured in the configuration editor of the runtime. To bring up that editor, double-click on the configured Virgo Server for Apache Tomcat instance in the Servers view.