Any reply on this please ???

On Wed, Mar 2, 2011 at 6:15 PM, Mitul Adhia <[email protected]> wrote:

> Hi All,
>
> I am trying to configure virtual host in embedded jetty 7.3 using the
> following urls
>
> http://wiki.eclipse.org/Jetty/Howto/Configure_Virtual_Hosts
>
> http://wiki.eclipse.org/Jetty/Howto/WebappPerConnector#Alternative_Method
>
> In my case the servlet is register using the declarative service approach
> as shown in the link
> http://blog.fnord.se/ (see Deploying a servlet using jetty 7 using OSGI-
> DS).
>
> I am not creating war file for my web application .
>
> So how do i configure the jetty.xml  and context.xml???
>
> jetty.xml
>
>  <Arg>
>         <New class="org.eclipse.jetty.deploy.ContextDeployer">
>           <Set name="contexts"><Ref id="Contexts"/></Set>
>           <Set name="configurationDir"><SystemProperty name="jetty.home" 
> default="."/>/contexts</Set>
>           <Set name="scanInterval">5</Set>
>         </New>
>       </Arg>
>     </Call>
>
>
> Context.xml . In assume that <Set name="war"><SystemProperty name=
> "jetty.home"/>/webapps/A</Set> points to the war file located under
> /webapp/A folder location . In my case the possibility of having a war file
> is not their .
>
> <Configure  class="org.eclipse.jetty.webapp.WebAppContext">
>       <Set name="war"><SystemProperty name="jetty.home"/>/webapps/A</Set>
>       <Set name="contextPath">/webappA</Set>
>       <Set name="connectorNames">
>         <Array type="String">
>           <Item>connA</Item>
>         </Array>
>        </Set>
>       ...
>     </Configure>
>
> Best Regards,
> Mitul
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to