Re: Socket accept failed: The specified network name is no longer available.

2018-04-30 Thread Guang Chao
On Tue, Apr 17, 2018 at 2:13 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Rémy, > > On 4/16/18 11:05 AM, Rémy Maucherat wrote: > > On Mon, Apr 16, 2018 at 4:51 PM, Igor > > wrote: > > > >> If

Re: slow or timeout with client certificate and some http client against tomcat 8.5 with Nio2 OpenSSL implementation

2018-04-30 Thread 旭东 胡
Hi Mark, Unfortunately, 8.5.31 does not resolve my issue. You can find the catalina.out log by https://1drv.ms/u/s!Aii8T4l0bnqVlx0mqtHngJ_1OvRo. From my client log the timeout occurs: 1. between 15:03:48 and 15:04:48 2. between 15:04:48 and 15:05:48 3. between 15:05:49 and 15:06:49 4. between

Re: How to get the number of "keep-alive" connections ?

2018-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/30/18 12:12 PM, André Warnier (tomcat) wrote: > Hi. > > On 30.04.2018 12:46, Svetlin Zarev wrote: >> Hi, >> >> The MBean "Catalina:type=ThreadPool,name="http-nio-8080"" has an >> attribute called "keepAliveCount" but instead of the

Re: How to get the number of "keep-alive" connections ?

2018-04-30 Thread tomcat
Hi. On 30.04.2018 12:46, Svetlin Zarev wrote: Hi, The MBean "Catalina:type=ThreadPool,name="http-nio-8080"" has an attribute called "keepAliveCount" but instead of the keep-alive connections it returns the sum of the number of the pollers' selection keys (as a result it usually reports a low

Re: Cannot update HTTP status code in error pages

2018-04-30 Thread Mark Thomas
On 30/04/18 10:47, Shinsuke Sugaya wrote: > Thanks a lot for the answer and the info. I think I have a solution. Fix has been applied and will be available in 9.0.9 onwards. Mark > > shinsuke > > 2018-04-30 17:49 GMT+09:00 Mark Thomas : >> On 28/04/18 07:26, Shinsuke Sugaya

How to get the number of "keep-alive" connections ?

2018-04-30 Thread Svetlin Zarev
Hi, The MBean "Catalina:type=ThreadPool,name="http-nio-8080"" has an attribute called "keepAliveCount" but instead of the keep-alive connections it returns the sum of the number of the pollers' selection keys (as a result it usually reports a low number in the range 0-4 in my test setup). The

Re: [ANN] TomcatCon Schedules Announced

2018-04-30 Thread Mark Thomas
On 30/04/18 10:29, Leon Rosenberg wrote: > Hey Mark et al, > > I noticed that for the roadshow only the general track is published but not > times for the single tracks... do you know any details? Also concerning the > length of a talk, is it also 45 minutes? Publishing the schedule is still a

Re: Fwd: Tomcat question

2018-04-30 Thread Ognjen Blagojevic
Zahi, On 30.4.2018. 11:09, Zahi Fail wrote: curl -X POST \ http://localhost:8080/userManagement/rest/Traffic/users2 \ -H 'Authorization: Basic dG9tY2F0OnMzY3JldA==' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'Postman-Token:

Re: Cannot update HTTP status code in error pages

2018-04-30 Thread Shinsuke Sugaya
Thanks a lot for the answer and the info. shinsuke 2018-04-30 17:49 GMT+09:00 Mark Thomas : > On 28/04/18 07:26, Shinsuke Sugaya wrote: >> Hi, >> >> Tomcat 9.0.7 does not seem to be able to update a status code in an >> error page(JSP). >> But it works on Tomcat 8.5 and 9.0.5.

Re: [ANN] TomcatCon Schedules Announced

2018-04-30 Thread Leon Rosenberg
Hey Mark et al, I noticed that for the roadshow only the general track is published but not times for the single tracks... do you know any details? Also concerning the length of a talk, is it also 45 minutes? regards Leon On Mon, Apr 30, 2018 at 11:10 AM, Mark Thomas wrote: >

Re: Fwd: Tomcat question

2018-04-30 Thread Zahi Fail
This is the curl message from postman: curl -X POST \ http://localhost:8080/userManagement/rest/Traffic/users2 \ -H 'Authorization: Basic dG9tY2F0OnMzY3JldA==' \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 71819f33-6206-02c5-5cf2-8de6347fc154'

Re: slow or timeout with client certificate and some http client against tomcat 8.5 with Nio2 OpenSSL implementation

2018-04-30 Thread Mark Thomas
On 30/04/18 01:48, 旭东 胡 wrote: > Hi, > > I met a weird issue during setting up tomcat 8.5 with Http11Nio2Protocol > connector and OpenSSLImplementation. The issue is that a request would be > timeout using apache HttpClient and client certificate after serval previous > requests. It also

Re: Cannot update HTTP status code in error pages

2018-04-30 Thread Mark Thomas
On 28/04/18 07:26, Shinsuke Sugaya wrote: > Hi, > > Tomcat 9.0.7 does not seem to be able to update a status code in an > error page(JSP). > But it works on Tomcat 8.5 and 9.0.5. > > Steps to reproduce: > 1. Set JSP path to in web.xml > ex. >

Re: Fwd: Tomcat question

2018-04-30 Thread Ognjen Blagojevic
Zahi, On 25.4.2018. 13:19, zahi.f...@gmail.com wrote: I configured in my conf\server.xml file the realm as below: Ok, so the configuration looks fine. You said you are using Postman to send the request. Can you paste the `curl` command that the postman can generate for you just to check if

[ANN] TomcatCon Schedules Announced

2018-04-30 Thread Mark Thomas
All, I am delighted to announce the schedules are now available for: TomcatCon Berlin 13-14 June, 2018: http://apachecon.com/euroadshow18/tomcat-schedule.html TomcatCon Montréal 24-25 September, 2018: http://apachecon.dukecon.org/acna/2018/#/schedule/2018-09-24 Full details, including