[Bug 52671] NIO Connector: Exception invoking method readBufSize / writeBufSize in the JMX Proxy Servlet

2017-07-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=52671

--- Comment #5 from ekoch...@gmail.com  ---
More info ...

It happens when I try to get:
ThreadPool.ajp-nio-8009.readBufSize
or
ThreadPool.ajp-nio-8009.writeBufSize

Thanks,
Evgeny Kochnev

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 52671] NIO Connector: Exception invoking method readBufSize / writeBufSize in the JMX Proxy Servlet

2017-07-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=52671

--- Comment #4 from ekoch...@gmail.com  ---
and ...
2017-07-20 14:15:37,491 ERROR [chedulerFactoryBean#0_Worker-9]
[shc.ecom.sywlocal.monitoring.HTTPReporter] - Got exception: 
javax.management.RuntimeOperationsException: Exception invoking method
readBufSize
at
org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:196)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
at
com.codahale.metrics.JmxAttributeGauge.getValue(JmxAttributeGauge.java:44)
at
com.shc.ecom.sywlocal.monitoring.HTTPReporter.createMeasurementObject(HTTPReporter.java:123)
at
com.shc.ecom.sywlocal.monitoring.HTTPReporter.createWebContainerData(HTTPReporter.java:363)
at
com.shc.ecom.sywlocal.monitoring.HTTPReporter.createMeasurementObjects(HTTPReporter.java:151)
at
com.shc.ecom.sywlocal.monitoring.HTTPReporter.report(HTTPReporter.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:269)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:312)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:114)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.lang.NullPointerException
at
org.apache.tomcat.util.net.SocketProperties.getRxBufSize(SocketProperties.java:272)
at
org.apache.tomcat.util.net.NioEndpoint.getReadBufSize(NioEndpoint.java:497)
at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:189)
... 16 more

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 52671] NIO Connector: Exception invoking method readBufSize / writeBufSize in the JMX Proxy Servlet

2017-07-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=52671

--- Comment #3 from ekoch...@gmail.com  ---
Hi,

It's strange but I've got almost the same exception but at Tomcat 8.0.33.

2017-07-20 14:18:45,572 ERROR [chedulerFactoryBean#0_Worker-9]
[shc.ecom.sywlocal.monitoring.HTTPReporter] - Got exception: 
javax.management.RuntimeOperationsException: Exception invoking method
writeBufSize
at
org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:196)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
at
com.codahale.metrics.JmxAttributeGauge.getValue(JmxAttributeGauge.java:44)
at
com.shc.ecom.sywlocal.monitoring.HTTPReporter.createMeasurementObject(HTTPReporter.java:123)
at
com.shc.ecom.sywlocal.monitoring.HTTPReporter.createWebContainerData(HTTPReporter.java:363)
at
com.shc.ecom.sywlocal.monitoring.HTTPReporter.createMeasurementObjects(HTTPReporter.java:151)
at
com.shc.ecom.sywlocal.monitoring.HTTPReporter.report(HTTPReporter.java:89)
at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:269)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:312)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:114)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Caused by: java.lang.NullPointerException
at
org.apache.tomcat.util.net.SocketProperties.getTxBufSize(SocketProperties.java:300)
at
org.apache.tomcat.util.net.NioEndpoint.getWriteBufSize(NioEndpoint.java:493)
at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.tomcat.util.modeler.BaseModelMBean.getAttribute(BaseModelMBean.java:189)
... 15 more

Will create proper bug for Tomcat 8.0.33 later.

Thanks,
Evgeny Kochnev

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52671] NIO Connector: Exception invoking method readBufSize / writeBufSize in the JMX Proxy Servlet

2012-02-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52671

--- Comment #2 from Konstantin Kolinko knst.koli...@gmail.com 2012-02-17 
00:44:47 UTC ---
For reference:
The NPE was thrown from the following code in SocketProperties, where Integer
txBufSize is null:

public int getTxBufSize() {
return txBufSize.intValue();
}

MBeanDumper#dumpBeans() skips null values. It is OK to skip such NPEs as well.
The fix in 7.0.26 is r1244746

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52671] NIO Connector: Exception invoking method readBufSize / writeBufSize in the JMX Proxy Servlet

2012-02-15 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52671

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Mark Thomas ma...@apache.org 2012-02-15 21:42:09 UTC ---
Fixed in trunk and 7.0.x and will be included in 7.0.26 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org