I never see any undeploy logs, only a deploy for one of the apps.  
Previous versions of JBoss supported this.  I need this to support 
backwards compatibility for a URL change.  It would be better if I could 
specify a list of contexts to bind for the web module, but I do not 
think there is such a tag to do this.

--jason


On Wednesday, June 19, 2002, at 08:52 PM, Scott M Stark wrote:

> 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



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to