Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] DoSFilter annotation not found.

Chetan,

How are you setting up the DosFilter in standalone mode - declared in
web.xml, or declared in a context xml file as a FilterHolder or some
other way in some other jetty xml file? Also check that you don't have
an older version of the DoSFilter inside your webapp.

Jan

On 6 April 2014 13:23, Singh, Chetan <chetansingh@xxxxxx> wrote:
> I am trying to set up a DoSFilter and configure it using JMX Mbean.
> Everything works fine when I try to do in Embedded jetty. However I want to
> do it in standalone mode but I get the following log messages
>
>
>
> 2014-04-05 20:18:32.834:DBUG:oejj.MBeanContainer:main: beanAdded
> o.e.j.w.WebAppContext@ace3c1b{/,file:/tmp/jetty-0.0.0.0-8080-ROOT.war-_-any-6506776307143437350.dir/webapp/,STARTING}{/ROOT.war}->org.eclipse.jetty.servlets.DoSFilter@6d4d63ba
>
> 2014-04-05 20:18:32.835:DBUG:oejj.ObjectMBean:main: ObjectMbean: mbeanFor
> org.eclipse.jetty.servlets.DoSFilter@6d4d63ba mClass=class
> org.eclipse.jetty.jmx.ObjectMBean
>
> 2014-04-05 20:18:32.835:DBUG:oejj.ObjectMBean:main: mbeanFor
> org.eclipse.jetty.servlets.DoSFilter@6d4d63ba is
> org.eclipse.jetty.jmx.ObjectMBean@34bb5def
>
> 2014-04-05 20:18:32.835:DBUG:oejj.ObjectMBean:main: No MBean Influence for
> DoSFilter
>
> 2014-04-05 20:18:32.835:DBUG:oejj.ObjectMBean:main: No MBean Influence for
> Object
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: No MBean Influence for
> Filter
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: Influence Count: 3
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: No @ManagedObject
> declared on class org.eclipse.jetty.servlets.DoSFilter
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: Influenced by:
> org.eclipse.jetty.servlets.DoSFilter
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: Annotations not found
> for: org.eclipse.jetty.servlets.DoSFilter
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: Influenced by:
> java.lang.Object
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: Annotations not found
> for: java.lang.Object
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: Influenced by:
> javax.servlet.Filter
>
> 2014-04-05 20:18:32.836:DBUG:oejj.ObjectMBean:main: Annotations not found
> for: javax.servlet.Filter
>
> 2014-04-05 20:18:32.836:DBUG:oejj.MBeanContainer:main: Registered
> org.eclipse.jetty.servlets:context=ROOT,type=dosfilter,id=0
>
>
>
> The @ManagedObject should be present and I am not sure why jetty can't
> detect it. Any help will be appreciated.
>
>
>
> Thanks
>
> Chetan
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



-- 
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
'Expert Jetty/CometD developer,production,operations advice'


Back to the top