I have the same question, but two different virtual host names (like somesite.com and 
www.somesite.com).

On Mon, Jul 01, 2002 at 04:51:01PM -0700, Jason Dillon wrote:
> FYI, specifying both context paths in the <url-pattern> element works
> well.  It would still be nice to have an external mechanism (outside of
> web.xml) to do this as well, but I think it would be better handled by a
> Jetty listener thingy or something.
> 
> --jason
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:jboss-
> > [EMAIL PROTECTED]] On Behalf Of Scott M Stark
> > Sent: Wednesday, June 19, 2002 8:52 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [JBoss-dev] Prefered way to deploy one web app under 2
> > contexts?
> > 
> > I suspect that the second deployment causes the first to be undeployed
> > because the war URL is the same. Either unique the web-uri path
> > by including the war more than once under different paths in the
> > ear or deploy two ears. I don't know that web containers generally
> > support a notion of virtual contexts which allows a given web app
> > to be accessed using different prefixes, but if they do, support for
> > this could be added to the jboss-app.xml descriptor.
> > 
> > The j2ee spec doesn't say anything as to whether what your trying to
> > do is allowed or disallowed.
> > 
> > xxxxxxxxxxxxxxxxxxxxxxxx
> > Scott Stark
> > Chief Technology Officer
> > JBoss Group, LLC
> > xxxxxxxxxxxxxxxxxxxxxxxx
> > ----- Original Message -----
> > From: Jason Dillon
> > To: [EMAIL PROTECTED]
> > Sent: Wednesday, June 19, 2002 5:53 PM
> > Subject: [JBoss-dev] Prefered way to deploy one web app under 2
> contexts?
> > 
> > 
> > Is there a preferred way to deploy one web app under 2 different
> contexts?
> > 
> > I was using the following in an earlier version of JBoss, but not this
> > will
> > either deploy one or the other. and you can't really predict which it
> will
> > be:
> > 
> >    <module>
> >       <web>
> >          <web-uri>listener.war</web-uri>
> >          <context-root>/</context-root>
> >       </web>
> >    </module>
> > 
> >    <!-- For compatibility -->
> >    <module>
> >       <web>
> >          <web-uri>listener.war</web-uri>
> >          <context-root>/listener/</context-root>
> >       </web>
> >    </module>
> > 
> > Am I doing something wrong, or is the EAR deployer or WebApp deploy
> having
> > issues?
> > 
> > --jason
> > 
> > 
> > 
> > -------------------------------------------------------
> >                    Bringing you mounds of caffeinated joy
> >                    >>>     http://thinkgeek.com/sf    <<<
> > 
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development

-- 
MVH
Marius Kotsbak
Boost communications AS


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to