Re: Http11Nio2Protocol allows brand-new sockets to live indefinitely? (Tomcat 9.0.8 and others)

2018-05-30 Thread Adam Feder
On Wed, May 30, 2018 at 12:00 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > On 5/30/18 12:33 PM, Rémy Maucherat wrote: > > It will be included in 9.0.9. > > More specifically, the current releases are usually released about > once per month give or take a few weeks. You shouldn

Re: Http11Nio2Protocol allows brand-new sockets to live indefinitely? (Tomcat 9.0.8 and others)

2018-05-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adam, On 5/30/18 12:33 PM, Rémy Maucherat wrote: > On Wed, May 30, 2018 at 6:24 PM Adam Feder > wrote: > >> On Wed, May 30, 2018 at 1:34 AM, Rémy Maucherat >> wrote: >> >>> >>> I have now added the timeout during handshake. >>> >> >> Thanks f

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: Http11Nio2Protocol allows brand-new sockets to live indefinitely? (Tomcat 9.0.8 and others)

2018-05-30 Thread Rémy Maucherat
On Wed, May 30, 2018 at 6:24 PM Adam Feder wrote: > On Wed, May 30, 2018 at 1:34 AM, Rémy Maucherat wrote: > > > > > I have now added the timeout during handshake. > > > > Thanks for the quick fix, Rémy! > > I haven't figured out what the release cycle is for 9.0.x releases. Do you > know when

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"> > >

Re: Http11Nio2Protocol allows brand-new sockets to live indefinitely? (Tomcat 9.0.8 and others)

2018-05-30 Thread Adam Feder
On Wed, May 30, 2018 at 1:34 AM, Rémy Maucherat wrote: > > I have now added the timeout during handshake. > Thanks for the quick fix, Rémy! I haven't figured out what the release cycle is for 9.0.x releases. Do you know when the fix will be available in an official release? thanks! ab

Deploying app twice when change ROOT

2018-05-30 Thread Blake McBride
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: Under tomcat I have my app in the directory: myappbase/myapp I am abl

Re: Tomcat - DeployonStartup

2018-05-30 Thread sri devops
Yes now i see that, Thanks - SD On Wed, May 30, 2018 at 10:34 AM Mark Thomas wrote: > On 30/05/18 16:23, sri devops wrote: > > Hello All, I have tomcat v8.5.23 installed on rhel 7 > > > > I set autoDeploy to false to stop tomcat reload or redeploy when web.xml > or > > context.xml is changed. I

Re: Tomcat - DeployonStartup

2018-05-30 Thread Mark Thomas
On 30/05/18 16:23, sri devops wrote: > Hello All, I have tomcat v8.5.23 installed on rhel 7 > > I set autoDeploy to false to stop tomcat reload or redeploy when web.xml or > context.xml is changed. I do not see deployOnStartup set to true anywhere > in my configuration but tomcat can able to succe

Tomcat - DeployonStartup

2018-05-30 Thread sri devops
Hello All, I have tomcat v8.5.23 installed on rhel 7 I set autoDeploy to false to stop tomcat reload or redeploy when web.xml or context.xml is changed. I do not see deployOnStartup set to true anywhere in my configuration but tomcat can able to successfully perform deployments when war is present

Re: Http11Nio2Protocol allows brand-new sockets to live indefinitely? (Tomcat 9.0.8 and others)

2018-05-30 Thread Rémy Maucherat
On Wed, May 30, 2018 at 5:49 AM Adam Feder wrote: > I've run it a little my Intellij IDEA with breakpoints in the code to > watch the Acceptor accept the connection and I don't see any timers > being set during the handshake phase, but i could have easily missed > them. > > Is this behavior expec

Re: How to configure Tomcat for OCSP stapling?

2018-05-30 Thread Mark Thomas
On 29/05/18 00:22, Mark Boon wrote: > My company asked to enable OCSP stapling for our Tomcat server. I found > the documentation about configuring a Tomcat OCSP Connector here: > > https://tomcat.apache.org/tomcat-8.5-doc/ssl-howto.html#Configuring_OCSP_Connector > >   > > However, if I’m not m