Re: Which Connector properties will be used in case of redirection?

2018-01-17 Thread Suvendu Sekhar Mondal
Hi Christopher, On Wed, Jan 17, 2018 at 10:41 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Suvendu, > > Which version of Tomcat? > Tomcat version is 7.0.55 > On 1/17/18 8:20 AM, Suvendu Sekhar Mondal wrote: >> I am seeing

Re: Thread-safety with sessions

2018-01-17 Thread Mark Thomas
On 17/01/18 17:05, Christopher Schultz wrote: > All, > > I have a use-case related to caching where I need to make sure that an > operation only happens one time with respect to an object in the > session. Basically, I want to build a cache and put it into the > session, but it needs to be

Re: Thread-safety with sessions

2018-01-17 Thread Konstantin Kolinko
2018-01-17 20:05 GMT+03:00 Christopher Schultz : > > All, > > I have a use-case related to caching where I need to make sure that an > operation only happens one time with respect to an object in the > session. Basically, I want to build a cache and put it into the >

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-17 Thread Mark Thomas
On 16/01/18 23:21, Mark Thomas wrote: > On 16/01/18 09:21, Toom Andreas wrote: >> Hi Mark, >> >> We pulled out a CPU Call Tree using JVisualVM instead of YourKit and I have >> uploaded a screenshot of it here: https://imgur.com/a/mqYxn >> >> There is not much extra information compared to the

Re: AJP Connector not throwing EOFException

2018-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Emah, On 1/17/18 10:17 AM, emah wrote: > Chris, > > > Christopher Schultz-2 wrote >>> I'm running a tomcat 8.5.23 instance on ubuntu 16.04 (spring >>> boot application with embedded tomcat) configured with 2 >>> connectors: Http11NioProtocol

Re: Which Connector properties will be used in case of redirection?

2018-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Suvendu, Which version of Tomcat? On 1/17/18 8:20 AM, Suvendu Sekhar Mondal wrote: > I am seeing one issue. Under high load sporadically one web > service call fails with: "java.net.SocketTimeoutException: Read > timed out" after 60 Sec mark. > >

Thread-safety with sessions

2018-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I have a use-case related to caching where I need to make sure that an operation only happens one time with respect to an object in the session. Basically, I want to build a cache and put it into the session, but it needs to be thread-safe

Re: AJP Connector not throwing EOFException

2018-01-17 Thread emah
Chris, Christopher Schultz-2 wrote >> I'm running a tomcat 8.5.23 instance on ubuntu 16.04 (spring boot >> application with embedded tomcat) configured with 2 connectors: >> Http11NioProtocol and AjpNioProtocol. The AJP one is accessed >> through an apache2 instance configured with mod_jk.It

Which Connector properties will be used in case of redirection?

2018-01-17 Thread Suvendu Sekhar Mondal
Hello Everyone, I am seeing one issue. Under high load sporadically one web service call fails with: "java.net.SocketTimeoutException: Read timed out" after 60 Sec mark. In our app, httpd routes requests to then it get redirected to 8889. Connector which listens on has