tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pid *" <...@pidster.com>
Subject Re: Tomcat 6 configuration using unpackWARS no longer works in Tomcat 7
Date Sun, 19 Aug 2012 19:18:25 GMT
On 10 Aug 2012, at 20:44, "Ian Long (Opterus)" <ian.long@opterus.com> wrote:

> Hi Mark,
>
> Thanks for the info.
>
> I would rather not rename the WAR file or add the context.xml to it, because it is deployed
in multiple ways on different severs and in development environments etc.
>
> Why must it be called ROOT.war, the Tomcat 6 way seems more flexible?

It's been ROOT.war for a long time and ths is the preferred way of doing it.
6 had broader but less clear and more error prone possible alternatives.


p


>
> Cheers,
> Ian Long
> Chief Software Architect, Opterus Inc.
>
> Email: ian.long@opterus.com
> Phone: 416-840-8495 x666
> Mobile: 416-817-9206
> Web: http://www.opterus.com
>
>
> On Friday, 10 August, 2012 at 3:38 PM, Mark Thomas wrote:
>
>> On 10/08/2012 20:20, Ian Long (Opterus) wrote:
>>> Any help is greatly appreciated!
>>
>>
>> 1. Remove the docBase from the context.xml file
>> 2. Package the context.xml file in the WAR
>> 3. rename the WAR to ROOT.war
>> 4. Place the WAR in the appBase
>>
>> Mark
>>
>> P.S. If you want to add some name/version to the WAR, name it
>> ROOT##SomeMarkerOfYourChoice.war
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org (mailto:users-unsubscribe@tomcat.apache.org)
>> For additional commands, e-mail: users-help@tomcat.apache.org (mailto:users-help@tomcat.apache.org)
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message