Re: Deploying app twice when change ROOT

2018-05-30 Thread Mark Thomas
On 30/05/18 18:37, Blake McBride wrote: > IMO, tomcat should have code to allow my earlier configuration > (without the deployOnStartup="false") > and just detect that another app directory is the same as the declared root > and not deploy it again. This problem is all over the net and cost me > h

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
IMO, tomcat should have code to allow my earlier configuration (without the deployOnStartup="false") and just detect that another app directory is the same as the declared root and not deploy it again. This problem is all over the net and cost me hours. Thanks! Blake On Wed, May 30, 2018 at 12

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
Your suggestion is better. Mine prevents other apps from that host from deploying altogether. On Wed, May 30, 2018 at 11:34 AM, Blake McBride wrote: > I think I may have found something that works. I changes it to: > >autoDeploy="false" deployOnStartup="false"> > >

Re: Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
I think I may have found something that works. I changes it to: (I added the deployOnStartup="false") Now tomcat is still deploying http://mydomain.com but it stopped deploying http://mydomain.com/myapp. This is just what I wanted. Thanks. Blake On Wed, May 30, 2

Re: Deploying app twice when change ROOT

2018-05-30 Thread Mark Thomas
On 30/05/18 17:14, Blake McBride wrote: > Hi, > > I am using tomcat 8.5.31 on a 64 bit Linux box running JDK 1.8.0_162. > > I have several TLD's pointing to the same tomcat instance. In > conf/server.xml I have the following _additional_ Host tag: > >autoDeploy="false"> > >