On 09/02/2016 08:29, Mark Thomas wrote:
> On 09/02/2016 07:33, Romain Manni-Bucau wrote:
>> Hi mark,
>>
>> if you put a war in a specific folder then expand it yourself next to the
>> war and do something like:
>>
>> StandardContext ctx = new StandardContext();
>> // several set
>> ctx.setDocBase("/my/expanded/"); // /my/expanded.war exists since that's
>> where we come from
>> host.addChild(ctx);
>>
>> then you get a duplicated deployment with autodeploy settings and unpackWAR
>> set to true. It sounds like the wrong behavior to me since the auto deploy
>> doesnt apply to /my/ folder but ${tomcat.base}/webapps - by default.
> 
> Thanks for the additional detail. I was indeed making some invalid
> assumptions about what the problem was.
> 
> I'll take a look at this later today.

Sorry for the delay. I got side-tracked.

This is fixed in trunk and 8.0.x and will be in the next release of each
(in around a month's time).

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to