blob: 211dd9ee5744b3e0adaa6d4429d0147379800cfc [file] [log] [blame]
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>7.&nbsp;Deploying Applications</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="Virgo Tools Guide"><link rel="up" href="index.html" title="Virgo Tools Guide"><link rel="prev" href="ch06.html" title="6.&nbsp;Developing PARs"><link rel="next" href="ch08.html" title="8.&nbsp;Installation and Release Notes"><!--Begin Google Analytics code--><script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
var pageTracker = _gat._getTracker("UA-2728886-3");
pageTracker._setDomainName("none");
pageTracker._setAllowLinker(true);
pageTracker._trackPageview();
</script><!--End Google Analytics code--></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">7.&nbsp;Deploying Applications</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch06.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="ch08.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="deploying"></a>7.&nbsp;Deploying Applications</h2></div></div></div><p>
Currently the Tools support direct deployment of WTP Dynamic Web Projects, OSGi
bundle and PAR projects to the VTS from
directly within Eclipse.
</p><p>
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".
</p><p>
<img src="images/tooling-deployed-application.png">
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/note.gif"></td><th align="left">Note</th></tr><tr><td align="left" valign="top"><p>
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.
</p></td></tr></table></div><p>
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.
</p><p>
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.
</p></div><!--Begin LoopFuse code--><script src="http://loopfuse.net/webrecorder/js/listen.js" type="text/javascript"></script><script type="text/javascript">
_lf_cid = "LF_48be82fa";
_lf_remora();
</script><!--End LoopFuse code--><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch06.html">Prev</a>&nbsp;</td><td width="20%" align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a accesskey="n" href="ch08.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">6.&nbsp;Developing PARs&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;8.&nbsp;Installation and Release Notes</td></tr></table></div></body></html>