Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-08-20 Thread Sergey
I added logging to this module and found that there is a problem with System.getProperty("sflow.dsindex”) call. It was resolved by adding to startup.sh : export CATALINA_OPTS="$CATALINA_OPTS -Dsflow.dsindex=1234 -Dsflow.hostname=app_1" Now SflowValve,jar is working. Thanks! Sergey > On Aug 1

Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-08-11 Thread Felix Schumacher
Am 11. August 2015 23:32:12 MESZ, schrieb Sergey : >I recompiled SFlow_Valve.jar with Tomcat-7.0.61. >Now it doesn’t give any errors in the log, but also doesn’t send any >metrics to port 6343. >Is there any way to debug this valve? I assume it is this valve https://code.google.com/p/tomcat-sf

Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-08-11 Thread Sergey
I recompiled SFlow_Valve.jar with Tomcat-7.0.61. Now it doesn’t give any errors in the log, but also doesn’t send any metrics to port 6343. Is there any way to debug this valve? Thanks!Sergey > >> On Jul 23, 2015, at 11:52 AM, Violeta Georgieva > > wrote: >> >> H

Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-07-24 Thread Felix Schumacher
Am 24. Juli 2015 18:34:14 MESZ, schrieb Sergey : >Sorry, > >Do you mean that I have to recompile SFlow_Valve.jar or our application >which we are running on Tomcat server? SFlow_Valve.jar has the problem, so you have to compile those sources. Regards, Felix > >Thanks! >Sergey > >> On Jul 24

Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-07-24 Thread Sergey
Sorry, Do you mean that I have to recompile SFlow_Valve.jar or our application which we are running on Tomcat server? Thanks! Sergey > On Jul 24, 2015, at 1:46 AM, Felix Schumacher > wrote: > > > > Am 23. Juli 2015 21:04:22 MESZ, schrieb Sergey >: >> I see that i

Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-07-24 Thread Felix Schumacher
Am 23. Juli 2015 21:04:22 MESZ, schrieb Sergey : >I see that in SFlow_Valve Source code it’s already “long”: > > long bytes_read = (request.getCoyoteRequest()).getBytesRead(); > >Then what’s wrong and how can I fix this issue? Recompile your code with the jars/sources from newer tomcats? The i

Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-07-23 Thread Sergey
I see that in SFlow_Valve Source code it’s already “long”: long bytes_read = (request.getCoyoteRequest()).getBytesRead(); Then what’s wrong and how can I fix this issue? Thanks! Sergey > On Jul 23, 2015, at 11:52 AM, Violeta Georgieva wrote: > > Hi, > > 2015-07-23 21:36 GMT+03:00 Sergey

Re: Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-07-23 Thread Violeta Georgieva
Hi, 2015-07-23 21:36 GMT+03:00 Sergey : > > We updated Tomcat from 7.0.10 to 7.0.61. > In previous version we collected Tomcat metrics using Sflow_Valve.jar module. > Now it looks like Coyote Connector can't call Request.getBytesRead() method. > Here is the Catalina log error: > > org.apache.coyot

Tomcat-7.0.61 and SFlow_Valve.jar issue

2015-07-23 Thread Sergey
We updated Tomcat from 7.0.10 to 7.0.61. In previous version we collected Tomcat metrics using Sflow_Valve.jar module. Now it looks like Coyote Connector can't call Request.getBytesRead() method. Here is the Catalina log error: org.apache.coyote.http11.AbstractHttp11Processor process SEVERE: Erro