Re: Tomcat 8.5.3 with Apr Connector throws NullPointerException

2017-03-20 Thread linbo liao
:00 Mark Thomas <ma...@apache.org>: > On 20/03/17 03:15, linbo liao wrote: > > Hi, > > > > My tomcat throws NullPointerException sometimes. Here is environment: > > > > Linux VM: RedHat Enterprise Linux Server release 6.7 x86_64 > > Tomcat: 8.5.3 >

Tomcat 8.5.3 with Apr Connector throws NullPointerException

2017-03-19 Thread linbo liao
Hi, My tomcat throws NullPointerException sometimes. Here is environment: Linux VM: RedHat Enterprise Linux Server release 6.7 x86_64 Tomcat: 8.5.3 JVM: HotSpot 64-Bit Server VM 1.8.0_65 APR: 1.5.2-1 Tomcat Native: 1.2.7 The exception show in catalina.log : 18-Mar-2017 03:36:01.135 WARNING

Re: JMX currentThreadsBusy less than connections/requests when use APR connector

2017-03-11 Thread linbo liao
Hi Chris, Thank you for your help. I will monitor it via JMX. 2017-03-11 2:08 GMT+08:00 Christopher Schultz <ch...@christopherschultz.net> : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Linbo, > > On 3/9/17 7:31 PM, linbo liao wrote: > > 1、The

Re: JMX currentThreadsBusy less than connections/requests when use APR connector

2017-03-09 Thread linbo liao
; > On 3/8/17 8:13 PM, linbo liao wrote: > > Here is the Connector configuration: > > > > > protocol="org.apache.coyote.http11.Http11AprProtocol" > > maxHttpHeaderSize="8192" maxThreads="400" acceptorThreadCount="4" > > maxKeep

Re: JMX currentThreadsBusy less than connections/requests when use APR connector

2017-03-08 Thread linbo liao
? 2017-03-08 22:45 GMT+08:00 Christopher Schultz <ch...@christopherschultz.net >: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Linbo, > > On 3/7/17 10:14 PM, linbo liao wrote: > > I setup local environment to test Tomcat monitor. > > > > The Env

JMX currentThreadsBusy less than connections/requests when use APR connector

2017-03-07 Thread linbo liao
Hi, I setup local environment to test Tomcat monitor. The Environment: Tomcat: 8.5.5 VM: Ubuntu 14.04.1 LTS HTTP PORT: 8080 IP: 10.211.55.4 Tomcat use APR connector, I test the tomcat via ab command, find JMX currentThreadsBusy < 10 all of the time. ab -n 10 -c 100 10.211.55.4:8080/ > I