<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>jetty-users</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/maillist.html</link>
		<description>jetty-users</description>
		<language>en-us</language>
		<pubDate>Tue, 21 May 2013 15:30:38 GMT</pubDate>
		<lastBuildDate>Tue, 21 May 2013 15:30:38 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>jetty-users</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/maillist.html</link>
		</image>
 

	<item>
		<title>Re: [jetty-users] Spring MVC cannot find JSPs when deployed into embedded Jetty 8 server</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03304.html</link>
		<description> There is no stacktrace. Just WARN message in log:   19:00:45.045 WARN  [qtp1828132740-20] org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/WEB-INF/pages/main-page.jsp] in DispatcherServlet with name 'org.springfr...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } ">


<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">There is no stacktrace. Just WARN message in log:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">19:00:45.045 WARN&nbsp; [qtp1828132740-20] org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/WEB-INF/pages/main-page.jsp]
 in DispatcherServlet with name 'org.springframework.web.servlet.DispatcherServlet-840703178'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">See
</span><a href="https://gist.github.com/azhuchkov/68288f09e613b41937a8"><span lang="EN-US">https://gist.github.com/azhuchkov/68288f09e613b41937a8</span></a>
<span lang="EN-US">as more verbose log.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">MVC configuration (</span><a href="https://gist.github.com/anonymous/5620538"><span lang="EN-US">https://gist.github.com/anonymous/5620538</span></a><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">):
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">@EnableWebMvc<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">@Configuration<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">@ComponentScan(useDefaultFilters = false, basePackages = {&quot;com.blah.blah.web&quot;},<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; includeFilters = {@ComponentScan.Filter(Controller.class)})<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">public class WebFaceSpringConfiguration extends WebMvcConfigurerAdapter {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;@Override<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp; public void addResourceHandlers(ResourceHandlerRegistry registry) {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Server static resources from the src/main/resources/webapp/resources<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * directory. Perhaps rename resources to static.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; registry.addResourceHandler(&quot;/resources/**&quot;).addResourceLocations(<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;classpath:/webapp/&quot;);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * Favicon mapping.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; registry.addResourceHandler(&quot;/favicon.ico&quot;).addResourceLocations(<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/resources/favicon.ico&quot;);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;@Bean<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp; public InternalResourceViewResolver configureInternalResourceViewResolver() {<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; InternalResourceViewResolver resolver = new InternalResourceViewResolver();<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resolver.setPrefix(&quot;/WEB-INF/pages/&quot;);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resolver.setSuffix(&quot;.jsp&quot;);<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;return resolver;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">}<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">When I use WebAppContext instead of ServletContextHandler, jetty just serves static content from my &#8216;webapp&#8217; (from classpath).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">When I use WebAppContext and servlet mapping &#8216;/*&#8217; instead of &#8216;/&#8217; I have PageNotFound again (as in case of ServletContextHandler and mapping &#8216;/&#8217;):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">No mapping found for HTTP request with URI [/WEB-INF/pages/main-page.jsp] in DispatcherServlet with name 'org.springframework.web.servlet.DispatcherServlet-1873262757'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jetty-users-bounces@xxxxxxxxxxx [mailto:jetty-users-bounces@xxxxxxxxxxx]
<b>On Behalf Of </b>Rossen Stoyanchev<br>
<b>Sent:</b> Tuesday, May 21, 2013 6:44 PM<br>
<b>To:</b> JETTY user mailing list<br>
<b>Subject:</b> Re: [jetty-users] Spring MVC cannot find JSPs when deployed into embedded Jetty 8 server<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<p class="MsoNormal">Why don't you post the exact exception message and relevant parts of the stack trace? Maybe also the parts of the Spring MVC configuration that relate -- like view resolution, also whether mvc namespace is used or not, mvc:default-servlet-handler,
 etc? It'd be hard for anyone to answer your question without this basic information.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#A0A0A0" align="center">
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&#x412; &#x44D;&#x442;&#x43E;&#x43C; &#x441;&#x43E;&#x43E;&#x431;&#x449;&#x435;&#x43D;&#x438;&#x438; &#x432;&#x438;&#x440;&#x443;&#x441;&#x44B; &#x43D;&#x435; &#x43E;&#x431;&#x43D;&#x430;&#x440;&#x443;&#x436;&#x435;&#x43D;&#x44B;.<br>
&#x41F;&#x440;&#x43E;&#x432;&#x435;&#x440;&#x435;&#x43D;&#x43E; AVG - <a href="http://www.avg.com">www.avg.com</a><br>
&#x412;&#x435;&#x440;&#x441;&#x438;&#x44F;: 2013.0.3272 / &#x412;&#x438;&#x440;&#x443;&#x441;&#x43D;&#x430;&#x44F; &#x431;&#x430;&#x437;&#x430; &#x434;&#x430;&#x43D;&#x43D;&#x44B;&#x445;: 3162/6282 - &#x414;&#x430;&#x442;&#x430; &#x432;&#x44B;&#x43F;&#x443;&#x441;&#x43A;&#x430;: 29.04.2013<br>
&#x412;&#x43D;&#x443;&#x442;&#x440;&#x435;&#x43D;&#x43D;&#x44F;&#x44F; &#x431;&#x430;&#x437;&#x430; &#x434;&#x430;&#x43D;&#x43D;&#x44B;&#x445; &#x412;&#x438;&#x440;&#x443;&#x441;&#x43D;&#x430;&#x44F; &#x431;&#x430;&#x437;&#x430; &#x434;&#x430;&#x43D;&#x43D;&#x44B;&#x445; &#x443;&#x441;&#x442;&#x430;&#x440;&#x435;&#x43B;&#x430;.<o:p></o:p></p>
</div>


</td></tr></table>]]></content:encoded>
		<pubDate>Tue, 21 May 2013 15:23:00 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03304.html</guid>
		<author>Andrey.Zhuchkov@xxxxxxx (Andrey Zhuchkov)</author>
	</item>
	<item>
		<title>Re: [jetty-users] Spring MVC cannot find JSPs when deployed into embedded Jetty 8 server</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03303.html</link>
		<description>Why don&amp;#39;t you post the exact exception message and relevant parts of the stack trace? Maybe also the parts of the Spring MVC configuration that relate -- like view resolution, also whether mvc namespace is used or not, mvc:default-servlet-handler, etc? It#...</description>
		<content:encoded><![CDATA[<div dir="ltr">Why don&#39;t you post the exact exception message and relevant parts of the stack trace? Maybe also the parts of the Spring MVC configuration that relate -- like view resolution, also whether mvc namespace is used or not, mvc:default-servlet-handler, etc? It&#39;d be hard for anyone to answer your question without this basic information.<div class="gmail_extra">
<br></div></div>
]]></content:encoded>
		<pubDate>Tue, 21 May 2013 14:43:59 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03303.html</guid>
		<author>rstoyanchev@xxxxxxx (Rossen Stoyanchev)</author>
	</item>
	<item>
		<title>Re: [jetty-users] Spring MVC cannot find JSPs when deployed into embedded Jetty 8 server</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03302.html</link>
		<description> I suppose it is related to wrong Jetty configuration. Spring MVC usually works perfectly, but now I&amp;#8217;m trying to bootstrap web application manually without web.xml descriptor and I&amp;#8217;ve got 2 kinds of result: 1.      DispatcherServlet is initialized (accordi...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } ">


<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I suppose it is related to wrong Jetty configuration. Spring MVC usually works perfectly, but now I&#8217;m trying to bootstrap web application manually
 without web.xml descriptor and I&#8217;ve got 2 kinds of result:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">DispatcherServlet is initialized (according to logs) but does not serve requests &#8211; jetty just serves static content.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">DispatcherServlet handles requests but cannot find jsp pages (via InternalViewResolver)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I believe it&#8217;s necessary to create a chain somehow, but I couldn&#8217;t find a proper way by myself.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> jetty-users-bounces@xxxxxxxxxxx [mailto:jetty-users-bounces@xxxxxxxxxxx]
<b>On Behalf Of </b>Rossen Stoyanchev<br>
<b>Sent:</b> Tuesday, May 21, 2013 6:07 PM<br>
<b>To:</b> JETTY user mailing list<br>
<b>Subject:</b> Re: [jetty-users] Spring MVC cannot find JSPs when deployed into embedded Jetty 8 server<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Is the problem related to Jetty or Spring MVC configuration? I.e. does the same Spring MVC configuration work if not using Jetty (embedded or not). It's hard to judge from the above information without knowing your Spring MVC configuration
 and without knowing what exception you're getting.<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#A0A0A0" align="center">
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&#x412; &#x44D;&#x442;&#x43E;&#x43C; &#x441;&#x43E;&#x43E;&#x431;&#x449;&#x435;&#x43D;&#x438;&#x438; &#x432;&#x438;&#x440;&#x443;&#x441;&#x44B; &#x43D;&#x435; &#x43E;&#x431;&#x43D;&#x430;&#x440;&#x443;&#x436;&#x435;&#x43D;&#x44B;.<br>
&#x41F;&#x440;&#x43E;&#x432;&#x435;&#x440;&#x435;&#x43D;&#x43E; AVG - <a href="http://www.avg.com">www.avg.com</a><br>
&#x412;&#x435;&#x440;&#x441;&#x438;&#x44F;: 2013.0.3272 / &#x412;&#x438;&#x440;&#x443;&#x441;&#x43D;&#x430;&#x44F; &#x431;&#x430;&#x437;&#x430; &#x434;&#x430;&#x43D;&#x43D;&#x44B;&#x445;: 3162/6282 - &#x414;&#x430;&#x442;&#x430; &#x432;&#x44B;&#x43F;&#x443;&#x441;&#x43A;&#x430;: 29.04.2013<br>
&#x412;&#x43D;&#x443;&#x442;&#x440;&#x435;&#x43D;&#x43D;&#x44F;&#x44F; &#x431;&#x430;&#x437;&#x430; &#x434;&#x430;&#x43D;&#x43D;&#x44B;&#x445; &#x412;&#x438;&#x440;&#x443;&#x441;&#x43D;&#x430;&#x44F; &#x431;&#x430;&#x437;&#x430; &#x434;&#x430;&#x43D;&#x43D;&#x44B;&#x445; &#x443;&#x441;&#x442;&#x430;&#x440;&#x435;&#x43B;&#x430;.<o:p></o:p></p>
</div>


</td></tr></table>]]></content:encoded>
		<pubDate>Tue, 21 May 2013 14:33:33 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03302.html</guid>
		<author>Andrey.Zhuchkov@xxxxxxx (Andrey Zhuchkov)</author>
	</item>
	<item>
		<title>Re: [jetty-users] Spring MVC cannot find JSPs when deployed into embedded Jetty 8 server</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03301.html</link>
		<description>Is the problem related to Jetty or Spring MVC configuration? I.e. does the same Spring MVC configuration work if not using Jetty (embedded or not). It&amp;#39;s hard to judge from the above information without knowing your Spring MVC configuration and without know...</description>
		<content:encoded><![CDATA[<div dir="ltr">Is the problem related to Jetty or Spring MVC configuration? I.e. does the same Spring MVC configuration work if not using Jetty (embedded or not). It&#39;s hard to judge from the above information without knowing your Spring MVC configuration and without knowing what exception you&#39;re getting.<div class="gmail_extra">
<br><br></div></div>
]]></content:encoded>
		<pubDate>Tue, 21 May 2013 14:06:28 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03301.html</guid>
		<author>rstoyanchev@xxxxxxx (Rossen Stoyanchev)</author>
	</item>
	<item>
		<title>[jetty-users] Spring MVC cannot find JSPs when deployed into embedded Jetty 8 server</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03300.html</link>
		<description> I'm trying to run embedded Jetty server and deploy Spring MVC application into it, but there is a problem of resources mapping - particulary I can't map spring mvc controller so that it can find my JSPs. Configuration: &amp;#xB7;        jetty-8.1.8.v20121106 ;p;bs...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td style="a:link { color: blue } a:visited { color: purple } ">


<div class="WordSection1">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.2pt;background:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:RU">I'm trying to run embedded Jetty server and deploy Spring MVC application into it, but there is a problem of resources mapping - particulary I can't
 map spring mvc controller so that it can find my JSPs.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline">
<b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">Configuration:</span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:22.5pt;text-indent:-.25in;line-height:13.2pt;mso-list:l0 level1 lfo1;vertical-align:baseline">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Symbol;color:black;mso-fareast-language:RU"><span style="mso-list:Ignore">&#xB7;<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:RU">jetty-8.1.8.v20121106<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:22.5pt;text-indent:-.25in;line-height:13.2pt;mso-list:l0 level1 lfo1;vertical-align:baseline">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Symbol;color:black;mso-fareast-language:RU"><span style="mso-list:Ignore">&#xB7;<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:RU">Spring 3.2<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline">
<b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">Jetty Server Configuration</span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:RU">:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">Server</span><span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">
 server = </span><span style="font-size:10.0pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">new</span><span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">Server</span><span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">ServletContextHandler</span><span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">
 context = </span><span style="font-size:10.0pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">new</span><span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">
</span><span style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">ServletContextHandler</span><span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;
</span><span style="font-size:10.0pt;font-family:Consolas;color:gray;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">//WebAppContext context = new WebAppContext();</span><span style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp; context.setBaseResource(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">Resource</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">.newClassPathResource(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:maroon;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&quot;webapp&quot;</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">));<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp; context.setClassLoader(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">Thread</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">.currentThread().getContextClassLoader());<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp; context.setContextPath(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:maroon;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&quot;/&quot;</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp;
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">AnnotationConfigWebApplicationContext</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">
 webAppContext = </span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">new</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">AnnotationConfigWebApplicationContext</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">();<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp;webAppContext.</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">register</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">WebFaceSpringConfiguration</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">.</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">class</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp; webAppContext.setServletContext(context.getServletContext());<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp; webAppContext.setParent(applicationContext);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp; context.addServlet(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">new</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">ServletHolder</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:darkblue;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">new</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2B91AF;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">DispatcherServlet</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">(webAppContext)),
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:maroon;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&quot;/&quot;</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp; server.setHandler(context);<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:#EEEEEE;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;border:none windowtext 1.0pt;padding:0in;mso-fareast-language:RU">&nbsp;&nbsp;&nbsp; server.setConnectors(jettyConnectors);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black;mso-fareast-language:RU"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:RU">Folder&nbsp;<i><span style="border:none windowtext 1.0pt;padding:0in">webapp</span></i>&nbsp;is in classpath, but in such configuration I have an error&nbsp;<i><span style="border:none windowtext 1.0pt;padding:0in">Problem
 accessing /WEB-INF/pages/main-page.jsp</span></i>&nbsp;(which is actually located under&nbsp;<i><span style="border:none windowtext 1.0pt;padding:0in">webapp</span></i>). So controller method is invoked, but view cannot be resolved.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.2pt;background:white;vertical-align:baseline">
<span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black;mso-fareast-language:RU">I tried to use&nbsp;<i><span style="border:none windowtext 1.0pt;padding:0in">WebAppContext</span></i>&nbsp;and wildcard mapping for Spring Dispatcher Servlet
 (/*), but it did not help - controller mapping is ignored or JSP cannot be found.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:7.5pt;line-height:13.0pt;background:white">
<span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black;mso-fareast-language:RU">--<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:7.5pt;line-height:13.0pt;background:white">
<span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black;mso-fareast-language:RU">Kind regards,<br>
Andrey</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:black;mso-fareast-language:RU"><o:p></o:p></span></p>
</div>


</td></tr></table>]]></content:encoded>
		<pubDate>Tue, 21 May 2013 10:27:28 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03300.html</guid>
		<author>Andrey.Zhuchkov@xxxxxxx (Andrey Zhuchkov)</author>
	</item>


	<item>
		<title>[jetty-users] webdefault in OSGi</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03299.html</link>
		<description>How do I set the default web descriptor (webdefault.xml) when running in OSGi? &amp;#xA0;Merely putting one in ${jetty.home}/etc/ should have worked I would think, but it doesn&amp;#39;t appear to have. Cheers,Craig </description>
		<content:encoded><![CDATA[<div dir="ltr">How do I set the default web descriptor (webdefault.xml) when running in OSGi? &#xA0;Merely putting one in ${jetty.home}/etc/ should have worked I would think, but it doesn&#39;t appear to have.<div><br></div><div style>
Cheers,</div><div style>Craig</div></div>
]]></content:encoded>
		<pubDate>Mon, 20 May 2013 18:06:26 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03299.html</guid>
		<author>craigching@xxxxxxx (Craig Ching)</author>
	</item>


	<item>
		<title>[jetty-users] classnotfoundexception jetty 9 eclipse	websocketservlet</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03298.html</link>
		<description> Hi I have been working on this problem all day. I am trying to write a websocket servlet using eclipse and jetty 9 I downloaded the jetty source and I am using " root/jetty-websocket/websocket-servlet/src/test/java/examples" as the source.  I have checked...</description>
		<content:encoded><![CDATA[<table width="100%"><tr><td bgcolor="#FFFFFF" style="background-color: #FFFFFF; color: #000000; "><font color="#000000">
  
  
    Hi<br>
    <br>
    I have been working on this problem all day.<br>
    I am trying to write a websocket servlet using eclipse and jetty 9<br>
    <br>
    I downloaded the jetty source and I am using "
    
    <a
href="http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/"
      style="margin: 0px; padding: 0px; color: rgb(112, 54, 190);
      font-weight: bold; text-decoration: underline; font-size: 12px;
      font-family: sans-serif; font-style: normal; font-variant: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">root</a><span style="color:
      rgb(51, 51, 51); font-family: sans-serif; font-size: 12px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none;">/</span><a
href="http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket"
      style="margin: 0px; padding: 0px; color: rgb(112, 54, 190);
      font-weight: bold; text-decoration: none; font-size: 12px;
      font-family: sans-serif; font-style: normal; font-variant: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">jetty-websocket</a><span
      style="color: rgb(51, 51, 51); font-family: sans-serif; font-size:
      12px; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none;">/</span><a
href="http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-servlet"
      style="margin: 0px; padding: 0px; color: rgb(112, 54, 190);
      font-weight: bold; text-decoration: none; font-size: 12px;
      font-family: sans-serif; font-style: normal; font-variant: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">websocket-servlet</a><span
      style="color: rgb(51, 51, 51); font-family: sans-serif; font-size:
      12px; font-style: normal; font-variant: normal; font-weight:
      normal; letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none;">/</span><a
href="http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-servlet/src"
      style="margin: 0px; padding: 0px; color: rgb(112, 54, 190);
      font-weight: bold; text-decoration: none; font-size: 12px;
      font-family: sans-serif; font-style: normal; font-variant: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">src</a><span style="color:
      rgb(51, 51, 51); font-family: sans-serif; font-size: 12px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none;">/</span><a
href="http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-servlet/src/test"
      style="margin: 0px; padding: 0px; color: rgb(112, 54, 190);
      font-weight: bold; text-decoration: none; font-size: 12px;
      font-family: sans-serif; font-style: normal; font-variant: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">test</a><span style="color:
      rgb(51, 51, 51); font-family: sans-serif; font-size: 12px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none;">/</span><a
href="http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-servlet/src/test/java"
      style="margin: 0px; padding: 0px; color: rgb(112, 54, 190);
      font-weight: bold; text-decoration: none; font-size: 12px;
      font-family: sans-serif; font-style: normal; font-variant: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">java</a><span style="color:
      rgb(51, 51, 51); font-family: sans-serif; font-size: 12px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255); display: inline !important;
      float: none;">/</span><a
href="http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-websocket/websocket-servlet/src/test/java/examples"
      style="margin: 0px; padding: 0px; color: rgb(112, 54, 190);
      font-weight: bold; text-decoration: none; font-size: 12px;
      font-family: sans-serif; font-style: normal; font-variant: normal;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">examples</a>" as the
    source.&nbsp; <br>
    <br>
    I have checked the directories, the classes are there.&nbsp; I see the
    build path in the classpath.&nbsp; <br>
    <br>
    How can I get this to work?<br>
    <br>
    web.xml<br>
    &lt;web-app xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
    xmlns=<a class="moz-txt-link-rfc2396E" href="http://java.sun.com/xml/ns/javaee">"http://java.sun.com/xml/ns/javaee"</a>
    xmlns:web=<a class="moz-txt-link-rfc2396E" href="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"</a>
    xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">"http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"</a> id="WebApp_ID"
    version="3.0"&gt;<br>
    &nbsp; &lt;display-name&gt;srcWSServlet&lt;/display-name&gt;<br>
    &nbsp; &lt;welcome-file-list&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;<br>
    &nbsp; &lt;/welcome-file-list&gt;<br>
    &nbsp; &lt;servlet&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;servlet-name&gt;MyEchoServlet&lt;/servlet-name&gt;<br>
    &nbsp;&nbsp;&nbsp;
    &lt;servlet-class&gt;examples.MyEchoServlet&lt;/servlet-class&gt;<br>
    &nbsp; &lt;/servlet&gt;<br>
    <br>
    &nbsp; &lt;servlet-mapping&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;servlet-name&gt;MyEchoServlet&lt;/servlet-name&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;url-pattern&gt;/echo&lt;/url-pattern&gt;<br>
    &nbsp; &lt;/servlet-mapping&gt;<br>
    &lt;/web-app&gt;<br>
    <br>
    <br>
    Running Jetty 9.0.0.M3<br>
    ParentLoaderPriority enabled<br>
    Enable config class:runjettyrun.webapp.RJRWebInfConfiguration<br>
    Enable config class:org.eclipse.jetty.webapp.WebXmlConfiguration<br>
    Enable config class:runjettyrun.webapp.RJRMetaInfoConfiguration<br>
    Enable config class:org.eclipse.jetty.webapp.FragmentConfiguration<br>
    Enable config
    class:runjettyrun.annotation.RJRAnnotationConfiguration<br>
    Enable config
    class:org.eclipse.jetty.webapp.JettyWebXmlConfiguration<br>
    Enable config class:org.eclipse.jetty.webapp.TagLibConfiguration<br>
    ProjectClassLoader:
    entry=/opt/jetty/lib/websocket/websocket-api-9.0.3.v20130506.jar<br>
    ProjectClassLoader: entry=/opt/jetty/lib/servlet-api-3.0.jar<br>
    ProjectClassLoader:
    entry=/opt/jetty/lib/websocket/websocket-servlet-9.0.3.v20130506.jar<br>
    ProjectClassLoader:
entry=/home/savages/websock/org.eclipse.jetty.project/jetty-websocket/websocket-servlet/src/test/java/examples/build/classes<br>
    2013-05-18 20:56:38.972:<a class="moz-txt-link-freetext" href="INFO:oejs.Server:main">INFO:oejs.Server:main</a>: jetty-9.0.0.M3<br>
    2013-05-18 20:56:39.327:WARN:oejw.DiscoveredAnnotation:main: <br>
    java.lang.ClassNotFoundException: examples.MyEchoServlet<br>
    &nbsp;&nbsp;&nbsp; at
    runjettyrun.ProjectClassLoader.loadClass(ProjectClassLoader.java:94)<br>
    &nbsp;&nbsp;&nbsp; at org.eclipse.jetty.util.Loader.loadClass(Loader.java:101)<br>
    &nbsp;&nbsp;&nbsp; at org.eclipse.jetty.util.Loader.loadClass(Loader.java:80)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.webapp.DiscoveredAnnotation.loadClass(DiscoveredAnnotation.java:82)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.webapp.DiscoveredAnnotation.getTargetClass(DiscoveredAnnotation.java:67)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.annotations.WebServletAnnotation.apply(WebServletAnnotation.java:64)<br>
    &nbsp;&nbsp;&nbsp; at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:377)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1318)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)<br>
    &nbsp;&nbsp;&nbsp; at
    org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:485)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108)<br>
    &nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.Server.start(Server.java:307)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)<br>
    &nbsp;&nbsp;&nbsp; at org.eclipse.jetty.server.Server.doStart(Server.java:274)<br>
    &nbsp;&nbsp;&nbsp; at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)<br>
    &nbsp;&nbsp;&nbsp; at runjettyrun.Bootstrap.main(Bootstrap.java:80)<br>
    2013-05-18 20:56:39.327:WARN:oeja.WebServletAnnotation:main:
    examples.MyEchoServlet cannot be loaded<br>
    2013-05-18 20:56:39.330:WARN:oejw.DiscoveredAnnotation:main: <br>
    java.lang.ClassNotFoundException: examples.MyAdvancedEchoServlet<br>
    &nbsp;&nbsp;&nbsp; at
    runjettyrun.ProjectClassLoader.loadClass(ProjectClassLoader.java:94)<br>
    <br>
    <br>
  

</font></td></tr></table>]]></content:encoded>
		<pubDate>Sun, 19 May 2013 05:05:38 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03298.html</guid>
		<author>ss@xxxxxxx (ss)</author>
	</item>


	<item>
		<title>Re: [jetty-users] Testing Bug 403360 -- Associating a webapp with a	connector</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03297.html</link>
		<description>-- Jan Bartel &amp;lt;janb@xxxxxxxxxxx&amp;gt;www.webtide.com &amp;#x2013; Developer advice, services and support from the Jetty &amp;amp; CometD experts. _______________________________________________ jetty-users mailing list jetty-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listi...</description>
		<content:encoded><![CDATA[<div dir="ltr"><div>Thanks Jan, that didn&#39;t seem to fix the problem, but thanks for verifying my configuration.&#xA0; I&#39;m attaching debug logs, I&#39;m not seeing anything in them, if you see something, please let me know.&#xA0; I&#39;ll try and create a test case, but it would be nice if I didn&#39;t have to go through that work ;-)<br>
<br></div>In the logs, the name of the connector is solrConnector and the webapp is org.apache.solr.war-4.2.1.&#xA0; We have bundled the solr war and included the jetty-web.xml inside of it.&#xA0; To create the log, I just grepped oej, so if you think anything might be missing, let me know.&#xA0; For reference, this worked in jetty 7 for us.<br>
<div><br>Cheers,<br>Craig<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 17, 2013 at 10:28 PM, Jan Bartel <span dir="ltr">&lt;<a href="mailto:janb@xxxxxxxxxxx" target="_blank">janb@xxxxxxxxxxx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Craig,<br><br>Try changing the DOCTYPE of the jetty-web.xml file to use the configure_9_0.dtd - not sure that is the cause, but without specifying the 9_0 version wierd things have been known to happen:<br>

<br>&lt;!DOCTYPE Configure PUBLIC &quot;-//Jetty//Configure//EN&quot; &quot;<a href="http://www.eclipse.org/jetty/configure_9_0.dtd" target="_blank">http://www.eclipse.org/jetty/configure_9_0.dtd</a>&quot;&gt;<br><br></div>
If that doesn&#39;t fix it, then turn on all debug and post the output.<br>
<br>cheers<br>Jan<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On 18 May 2013 07:23, Craig Ching <span dir="ltr">&lt;<a href="mailto:craigching@xxxxxxxxx" target="_blank">craigching@xxxxxxxxx</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I&#39;m trying to test this defect that I opened back in March:<div><br>
</div><div><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=403360" target="_blank">https://bugs.eclipse.org/bugs/show_bug.cgi?id=403360</a><br>
</div>
<div><br></div><div>I have the connector defined like this:</div><div><br></div><div><div><div>&#xA0; &#xA0; &lt;Call name=&quot;addConnector&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &lt;New class=&quot;org.eclipse.jetty.server.ServerConnector&quot;&gt;</div>


<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;server&quot;&gt;&lt;Ref refid=&quot;Server&quot; /&gt;&lt;/Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;factories&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Array type=&quot;org.eclipse.jetty.server.ConnectionFactory&quot;&gt;</div>


<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Item&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;New class=&quot;org.eclipse.jetty.server.HttpConnectionFactory&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;config&quot;&gt;&lt;Ref refid=&quot;httpConfig&quot; /&gt;&lt;/Arg&gt;</div>


<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/New&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Item&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Array&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;name&quot;&gt;myConnector&lt;/Set&gt;</div>


<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;host&quot;&gt;&lt;Property name=&quot;my.host&quot; /&gt;&lt;/Set&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;port&quot;&gt;&lt;Property name=&quot;my.port&quot; default=&quot;8090&quot; /&gt;&lt;/Set&gt;</div>


<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;idleTimeout&quot;&gt;30000&lt;/Set&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &lt;/New&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;/Arg&gt;</div><div>&#xA0; &#xA0; &lt;/Call&gt;</div></div><div><br></div><div>and the connector is listening on 8090. &#xA0;Here&#39;s my jetty-web.xml:</div>


<div><br></div><div><div>&lt;?xml version=&quot;1.0&quot; &#xA0;encoding=&quot;ISO-8859-1&quot;?&gt;</div><div>&lt;!DOCTYPE Configure PUBLIC &quot;-//Jetty//Configure//EN&quot; &quot;<a href="http://www.eclipse.org/jetty/configure.dtd" target="_blank">http://www.eclipse.org/jetty/configure.dtd</a>&quot;&gt;</div>


<div><br></div><div>&lt;Configure class=&quot;org.eclipse.jetty.webapp.WebAppContext&quot;&gt;<br></div><div>&#xA0; &lt;Set name=&quot;virtualHosts&quot;&gt;</div><div>&#xA0; &#xA0; &lt;Array type=&quot;String&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;Item&gt;@myConnector&lt;/Item&gt;</div>


<div>&#xA0; &#xA0; &lt;/Array&gt;</div><div>&#xA0; &lt;/Set&gt;</div><div>&lt;/Configure&gt;</div><div><br></div><div>When the jetty-web.xml is in the WAR (bundle, we&#39;re OSGi), the webapp is inaccessible. &#xA0;But when I remove jetty-web.xml, it works fine.</div>


<div><br></div><div>Can anyone tell me if I&#39;m missing something fundamental here?</div><div><br></div><div>Cheers,</div><div>Craig</div></div></div></div>
<br></div></div>_______________________________________________<br>
jetty-users mailing list<br>
<a href="mailto:jetty-users@xxxxxxxxxxx" target="_blank">jetty-users@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-users" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Jan Bartel &lt;<a href="mailto:janb@xxxxxxxxxxx" target="_blank">janb@xxxxxxxxxxx</a>&gt;<br><a href="http://www.webtide.com" target="_blank">www.webtide.com</a> &#x2013; Developer advice, services and support <br>

from the Jetty &amp; CometD experts.
</font></span></div>
<br>_______________________________________________<br>
jetty-users mailing list<br>
<a href="mailto:jetty-users@xxxxxxxxxxx">jetty-users@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-users" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-users</a><br>
<br></blockquote></div><br></div>
<p><strong>Attachment:
<a href="zipjwlsLmqeQV.zip" ><tt>jetty-log.zip</tt></a></strong><br>
<em>Description:</em> Zip archive</p>
]]></content:encoded>
		<pubDate>Sat, 18 May 2013 13:55:47 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03297.html</guid>
		<author>craigching@xxxxxxx (Craig Ching)</author>
	</item>


	<item>
		<title>Re: [jetty-users] Testing Bug 403360 -- Associating a webapp with a	connector</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03296.html</link>
		<description>-- Jan Bartel &amp;lt;janb@xxxxxxxxxxx&amp;gt;www.webtide.com &amp;#x2013; Developer advice, services and support from the Jetty &amp;amp; CometD experts. </description>
		<content:encoded><![CDATA[<div dir="ltr"><div>Craig,<br><br>Try changing the DOCTYPE of the jetty-web.xml file to use the configure_9_0.dtd - not sure that is the cause, but without specifying the 9_0 version wierd things have been known to happen:<br>
<br>&lt;!DOCTYPE Configure PUBLIC &quot;-//Jetty//Configure//EN&quot; &quot;<a href="http://www.eclipse.org/jetty/configure_9_0.dtd">http://www.eclipse.org/jetty/configure_9_0.dtd</a>&quot;&gt;<br><br></div>If that doesn&#39;t fix it, then turn on all debug and post the output.<br>
<br>cheers<br>Jan<br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 May 2013 07:23, Craig Ching <span dir="ltr">&lt;<a href="mailto:craigching@xxxxxxxxx" target="_blank">craigching@xxxxxxxxx</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;m trying to test this defect that I opened back in March:<div><br></div><div><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=403360" target="_blank">https://bugs.eclipse.org/bugs/show_bug.cgi?id=403360</a><br>
</div>
<div><br></div><div>I have the connector defined like this:</div><div><br></div><div><div><div>&#xA0; &#xA0; &lt;Call name=&quot;addConnector&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &lt;New class=&quot;org.eclipse.jetty.server.ServerConnector&quot;&gt;</div>

<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;server&quot;&gt;&lt;Ref refid=&quot;Server&quot; /&gt;&lt;/Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;factories&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Array type=&quot;org.eclipse.jetty.server.ConnectionFactory&quot;&gt;</div>

<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Item&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;New class=&quot;org.eclipse.jetty.server.HttpConnectionFactory&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;config&quot;&gt;&lt;Ref refid=&quot;httpConfig&quot; /&gt;&lt;/Arg&gt;</div>

<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/New&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Item&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Array&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;name&quot;&gt;myConnector&lt;/Set&gt;</div>

<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;host&quot;&gt;&lt;Property name=&quot;my.host&quot; /&gt;&lt;/Set&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;port&quot;&gt;&lt;Property name=&quot;my.port&quot; default=&quot;8090&quot; /&gt;&lt;/Set&gt;</div>

<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;idleTimeout&quot;&gt;30000&lt;/Set&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &lt;/New&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;/Arg&gt;</div><div>&#xA0; &#xA0; &lt;/Call&gt;</div></div><div><br></div><div>and the connector is listening on 8090. &#xA0;Here&#39;s my jetty-web.xml:</div>

<div><br></div><div><div>&lt;?xml version=&quot;1.0&quot; &#xA0;encoding=&quot;ISO-8859-1&quot;?&gt;</div><div>&lt;!DOCTYPE Configure PUBLIC &quot;-//Jetty//Configure//EN&quot; &quot;<a href="http://www.eclipse.org/jetty/configure.dtd" target="_blank">http://www.eclipse.org/jetty/configure.dtd</a>&quot;&gt;</div>

<div><br></div><div>&lt;Configure class=&quot;org.eclipse.jetty.webapp.WebAppContext&quot;&gt;<br></div><div>&#xA0; &lt;Set name=&quot;virtualHosts&quot;&gt;</div><div>&#xA0; &#xA0; &lt;Array type=&quot;String&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;Item&gt;@myConnector&lt;/Item&gt;</div>

<div>&#xA0; &#xA0; &lt;/Array&gt;</div><div>&#xA0; &lt;/Set&gt;</div><div>&lt;/Configure&gt;</div><div><br></div><div>When the jetty-web.xml is in the WAR (bundle, we&#39;re OSGi), the webapp is inaccessible. &#xA0;But when I remove jetty-web.xml, it works fine.</div>

<div><br></div><div>Can anyone tell me if I&#39;m missing something fundamental here?</div><div><br></div><div>Cheers,</div><div>Craig</div></div></div></div>
<br>_______________________________________________<br>
jetty-users mailing list<br>
<a href="mailto:jetty-users@xxxxxxxxxxx">jetty-users@xxxxxxxxxxx</a><br>
<a href="https://dev.eclipse.org/mailman/listinfo/jetty-users" target="_blank">https://dev.eclipse.org/mailman/listinfo/jetty-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jan Bartel &lt;<a href="mailto:janb@xxxxxxxxxxx" target="_blank">janb@xxxxxxxxxxx</a>&gt;<br><a href="http://www.webtide.com" target="_blank">www.webtide.com</a> &#x2013; Developer advice, services and support <br>
from the Jetty &amp; CometD experts.
</div>
]]></content:encoded>
		<pubDate>Sat, 18 May 2013 03:28:06 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03296.html</guid>
		<author>janb@xxxxxxx (Jan Bartel)</author>
	</item>
	<item>
		<title>[jetty-users] Testing Bug 403360 -- Associating a webapp with a	connector</title>
		<link>http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03295.html</link>
		<description>I&amp;#39;m trying to test this defect that I opened back in March:https://bugs.eclipse.org/bugs/show_bug.cgi?id=403360 I have the connector defined like this:&amp;#xA0; &amp;#xA0; &amp;lt;Call name=&amp;quot;addConnector&amp;quot;&amp;gt;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;lt;Arg&amp;gt;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;lt;New class=&amp;quot;org.eclipse.jetty.server.ServerConnectort;t;...</description>
		<content:encoded><![CDATA[<div dir="ltr">I&#39;m trying to test this defect that I opened back in March:<div><br></div><div><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=403360">https://bugs.eclipse.org/bugs/show_bug.cgi?id=403360</a><br></div>
<div><br></div><div style>I have the connector defined like this:</div><div style><br></div><div style><div><div>&#xA0; &#xA0; &lt;Call name=&quot;addConnector&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &lt;New class=&quot;org.eclipse.jetty.server.ServerConnector&quot;&gt;</div>
<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;server&quot;&gt;&lt;Ref refid=&quot;Server&quot; /&gt;&lt;/Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;factories&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Array type=&quot;org.eclipse.jetty.server.ConnectionFactory&quot;&gt;</div>
<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Item&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;New class=&quot;org.eclipse.jetty.server.HttpConnectionFactory&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Arg name=&quot;config&quot;&gt;&lt;Ref refid=&quot;httpConfig&quot; /&gt;&lt;/Arg&gt;</div>
<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/New&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Item&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Array&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;/Arg&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;name&quot;&gt;myConnector&lt;/Set&gt;</div>
<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;host&quot;&gt;&lt;Property name=&quot;my.host&quot; /&gt;&lt;/Set&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;port&quot;&gt;&lt;Property name=&quot;my.port&quot; default=&quot;8090&quot; /&gt;&lt;/Set&gt;</div>
<div>&#xA0; &#xA0; &#xA0; &#xA0; &#xA0; &lt;Set name=&quot;idleTimeout&quot;&gt;30000&lt;/Set&gt;</div><div>&#xA0; &#xA0; &#xA0; &#xA0; &lt;/New&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;/Arg&gt;</div><div>&#xA0; &#xA0; &lt;/Call&gt;</div></div><div><br></div><div style>and the connector is listening on 8090. &#xA0;Here&#39;s my jetty-web.xml:</div>
<div style><br></div><div style><div>&lt;?xml version=&quot;1.0&quot; &#xA0;encoding=&quot;ISO-8859-1&quot;?&gt;</div><div>&lt;!DOCTYPE Configure PUBLIC &quot;-//Jetty//Configure//EN&quot; &quot;<a href="http://www.eclipse.org/jetty/configure.dtd">http://www.eclipse.org/jetty/configure.dtd</a>&quot;&gt;</div>
<div><br></div><div>&lt;Configure class=&quot;org.eclipse.jetty.webapp.WebAppContext&quot;&gt;<br></div><div>&#xA0; &lt;Set name=&quot;virtualHosts&quot;&gt;</div><div>&#xA0; &#xA0; &lt;Array type=&quot;String&quot;&gt;</div><div>&#xA0; &#xA0; &#xA0; &lt;Item&gt;@myConnector&lt;/Item&gt;</div>
<div>&#xA0; &#xA0; &lt;/Array&gt;</div><div>&#xA0; &lt;/Set&gt;</div><div>&lt;/Configure&gt;</div><div><br></div><div style>When the jetty-web.xml is in the WAR (bundle, we&#39;re OSGi), the webapp is inaccessible. &#xA0;But when I remove jetty-web.xml, it works fine.</div>
<div style><br></div><div style>Can anyone tell me if I&#39;m missing something fundamental here?</div><div style><br></div><div style>Cheers,</div><div style>Craig</div></div></div></div>
]]></content:encoded>
		<pubDate>Fri, 17 May 2013 21:23:12 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/lists/jetty-users/msg03295.html</guid>
		<author>craigching@xxxxxxx (Craig Ching)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
