<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Deploying a web application to Jetty</title>
	<atom:link href="http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/</link>
	<description>Take lemons, make lemonade or Jill and Yuval's Musings</description>
	<lastBuildDate>Fri, 10 Feb 2012 20:54:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: freeswitch guy</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8600</link>
		<dc:creator>freeswitch guy</dc:creator>
		<pubDate>Thu, 10 Feb 2011 22:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8600</guid>
		<description>I am trying to deploy an app to the root of the domain so instead of domain.com/war_app/ i would be just domain.com/ I tried to do this with your basic config file but i got a 404 you can see below.

Error 404 - Not Found.
&lt;span&gt;No context on this server matched or handled this request.&lt;/span&gt;
Can you help me?</description>
		<content:encoded><![CDATA[<p>I am trying to deploy an app to the root of the domain so instead of domain.com/war_app/ i would be just domain.com/ I tried to do this with your basic config file but i got a 404 you can see below.</p>
<p>Error 404 &#8211; Not Found.<br />
<span>No context on this server matched or handled this request.</span><br />
Can you help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8587</link>
		<dc:creator>james</dc:creator>
		<pubDate>Wed, 12 Jan 2011 01:16:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8587</guid>
		<description>&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;Thank you for the article.&lt;/font&gt;
 
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;I have installed the jetty-distribution-7.2.0.v20101020 and running on window7. &lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;I have created maven based web application mavenproject1.war and place it in &lt;span&gt; &lt;/span&gt;wepapps directory it works fine.&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;It failed to work for mavenprojext2 if add another war file eg. Mavenproject2.war.&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;I have create two xml files(mavenproject1.xml, mavenproject2.xml) in context directory.&lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;These two files are based on text.xml which provide by the distribution.&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;The part of the xml which has modified for mavenproject1.xml:&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;set name=&quot;contextPath&quot;&gt;/ &lt;/set&gt;&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt; &lt;/span&gt;&lt;set name=&quot;war&quot;&gt;&lt;systemproperty name=&quot;jetty.home&quot; default=&quot;.&quot;/&gt;/webapps/mavenproject1.war&lt;/set&gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;The web.xml file for mavenproject1:&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt; !DOCTYPE web-app PUBLIC &quot;-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN&quot; &quot;http://java.sun.com/dtd/web-app_2_3.dtd&quot; &gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;web -app&gt;&lt;/web&gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt;    &lt;/span&gt;&lt;servlet&gt;&lt;/servlet&gt;&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt;        &lt;/span&gt;&lt;servlet -name&gt;HelloServlet&lt;/servlet&gt;&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt;        &lt;/span&gt;&lt;servlet -class&gt;com.mavenproject1.HelloServlet&lt;/servlet&gt;&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt;    &lt;/span&gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt;    &lt;/span&gt;&lt;servlet -mapping&gt;&lt;/servlet&gt;&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt;        &lt;/span&gt;&lt;servlet -name&gt;HelloServlet&lt;/servlet&gt;&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt;        &lt;/span&gt;&lt;url -pattern&gt;/HelloServlet&lt;/url&gt;&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;span&gt;    &lt;/span&gt;&lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;I have changed mavenproject1.xml &lt;span&gt; &lt;/span&gt;contextPath to:&lt;span&gt;  &lt;/span&gt;&lt;set name=&quot;contextPath&quot;&gt;/mavenproject1 &lt;/set&gt; and it not working for mavenproject1. &lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;
&lt;font size=&quot;3&quot;&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;/font&gt;&lt;font face=&quot;Calibri&quot;&gt;If you can help me to make working for both war files will much appreciated.&lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;
&lt;font color=&quot;#000000&quot; face=&quot;Calibri&quot; size=&quot;3&quot;&gt; &lt;/font&gt;</description>
		<content:encoded><![CDATA[<p><font size="3"></font><font color="#000000"></font><font face="Calibri">Thank you for the article.</font></p>
<p><font size="3"></font><font color="#000000"></font><font face="Calibri">I have installed the jetty-distribution-7.2.0.v20101020 and running on window7. </font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">I have created maven based web application mavenproject1.war and place it in <span> </span>wepapps directory it works fine.</font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">It failed to work for mavenprojext2 if add another war file eg. Mavenproject2.war.</font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">I have create two xml files(mavenproject1.xml, mavenproject2.xml) in context directory.</font><br />
<font color="#000000" face="Calibri" size="3"> </font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">These two files are based on text.xml which provide by the distribution.</font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">The part of the xml which has modified for mavenproject1.xml:</font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><set name="contextPath">/ </set></font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span> </span><set name="war"><systemproperty name="jetty.home" default="."/>/webapps/mavenproject1.war</set></font><br />
<font color="#000000" face="Calibri" size="3"> </font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">The web.xml file for mavenproject1:</font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">< !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" ></font><br />
<font color="#000000" face="Calibri" size="3"> </font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><web -app></web></font><br />
<font color="#000000" face="Calibri" size="3"> </font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span>    </span><servlet></servlet></font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span>        </span><servlet -name>HelloServlet</servlet></font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span>        </span><servlet -class>com.mavenproject1.HelloServlet</servlet></font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span>    </span></font><br />
<font color="#000000" face="Calibri" size="3"> </font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span>    </span><servlet -mapping></servlet></font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span>        </span><servlet -name>HelloServlet</servlet></font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span>        </span><url -pattern>/HelloServlet</url></font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"><span>    </span></font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri"></font><br />
<font color="#000000" face="Calibri" size="3"> </font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">I have changed mavenproject1.xml <span> </span>contextPath to:<span>  </span><set name="contextPath">/mavenproject1 </set> and it not working for mavenproject1. </font><br />
<font color="#000000" face="Calibri" size="3"> </font><br />
<font size="3"></font><font color="#000000"></font><font face="Calibri">If you can help me to make working for both war files will much appreciated.</font><br />
<font color="#000000" face="Calibri" size="3"> </font><br />
<font color="#000000" face="Calibri" size="3"> </font></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jetty 6 Deployment Drija</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8576</link>
		<dc:creator>Jetty 6 Deployment Drija</dc:creator>
		<pubDate>Wed, 17 Nov 2010 15:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8576</guid>
		<description>[...] http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/" rel="nofollow">http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8575</link>
		<dc:creator>max</dc:creator>
		<pubDate>Thu, 28 Oct 2010 14:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8575</guid>
		<description>Hi!
Thanks a lot for this clear information. However, i am wondering, if i execute a .war on my Jetty server, does this means that i am not going to be able to retreive my ApplicationContext into my app ? Because Jetty is creating it for me.
Is the only possibility then to embed Jetty and create manually in Java the applicationContext in order to be able to retrieve beans from it ?
Thanks for you help!
max</description>
		<content:encoded><![CDATA[<p>Hi!<br />
Thanks a lot for this clear information. However, i am wondering, if i execute a .war on my Jetty server, does this means that i am not going to be able to retreive my ApplicationContext into my app ? Because Jetty is creating it for me.<br />
Is the only possibility then to embed Jetty and create manually in Java the applicationContext in order to be able to retrieve beans from it ?<br />
Thanks for you help!<br />
max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sulakshana</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8574</link>
		<dc:creator>sulakshana</dc:creator>
		<pubDate>Wed, 20 Oct 2010 07:51:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8574</guid>
		<description>if we follow the above mentioned procedure the test.war file will be deployed in  /tmp folder. Is there any way to save the deployed file onto a specific folder</description>
		<content:encoded><![CDATA[<p>if we follow the above mentioned procedure the test.war file will be deployed in  /tmp folder. Is there any way to save the deployed file onto a specific folder</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8571</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Tue, 05 Oct 2010 13:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8571</guid>
		<description>Do you know how to hot-redeploy a servlet?</description>
		<content:encoded><![CDATA[<p>Do you know how to hot-redeploy a servlet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deploying grails app to Jetty - gregs</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8537</link>
		<dc:creator>Deploying grails app to Jetty - gregs</dc:creator>
		<pubDate>Tue, 23 Mar 2010 13:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8537</guid>
		<description>[...] Deploying a web application to Jetty [...]</description>
		<content:encoded><![CDATA[<p>[...] Deploying a web application to Jetty [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rofl</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8327</link>
		<dc:creator>rofl</dc:creator>
		<pubDate>Wed, 04 Nov 2009 11:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8327</guid>
		<description>if you get this error: java.lang.ClassNotFoundException: org.mortbay.jetty.webapp.WebAppContext

try to use: org.eclipse.jetty.webapp.WebAppContext</description>
		<content:encoded><![CDATA[<p>if you get this error: java.lang.ClassNotFoundException: org.mortbay.jetty.webapp.WebAppContext</p>
<p>try to use: org.eclipse.jetty.webapp.WebAppContext</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj Kumar Kundu</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8290</link>
		<dc:creator>Raj Kumar Kundu</dc:creator>
		<pubDate>Mon, 24 Aug 2009 15:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8290</guid>
		<description>This is very useful information. But if I have to access images present in the application server and if the images are kept out side jetty directory then show can I access them using relative url?</description>
		<content:encoded><![CDATA[<p>This is very useful information. But if I have to access images present in the application server and if the images are kept out side jetty directory then show can I access them using relative url?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yuval</title>
		<link>http://www.enavigo.com/2008/08/29/deploying-a-web-application-to-jetty/comment-page-1/#comment-8270</link>
		<dc:creator>yuval</dc:creator>
		<pubDate>Fri, 12 Jun 2009 19:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.enavigo.com/?p=208#comment-8270</guid>
		<description>Feel free to quote!</description>
		<content:encoded><![CDATA[<p>Feel free to quote!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

