Page 1 of 1

Getting lots of "behavior not enabled" logs

PostPosted: Mon May 02, 2011 7:22 pm
by guerry
Hi,

We're getting a *lot* of the following warnings in our logs. I couldn't find references in Servoy Talk, but did in wicket-related forums. From what I understood from the wicket stuff, it sounds like a component is disabled, but still getting rendered. Interestingly, this is emitted from "headlessclient" Unfortunately, the warning doesn't give me enough info to even know where to start looking.... I'd very much like to squash this log message by fixing the underlying problem.

----- LOGS -----
2011-05-02 09:46:56,515 WARN [http-443-4] org.apache.wicket.request.target.component.listener.BehaviorRequestTarget - behavior not enabled; ignoring call. behavior: com.servoy.j2db.server.headlessclient.MainPage$1@554b9a7 at index: 1 on component: [Page class = com.servoy.j2db.server.headlessclient.MainPage, id = 4, version = 0, ajax = 16]
2011-05-02 09:47:52,301 WARN [http-443-5] org.apache.wicket.request.target.component.listener.BehaviorRequestTarget - behavior not enabled; ignoring call. behavior: com.servoy.j2db.server.headlessclient.MainPage$1@554b9a7 at index: 1 on component: [Page class = com.servoy.j2db.server.headlessclient.MainPage, id = 4, version = 0, ajax = 18]
2011-05-02 09:48:40,731 WARN [http-443-6] org.apache.wicket.request.target.component.listener.BehaviorRequestTarget - behavior not enabled; ignoring call. behavior: com.servoy.j2db.server.headlessclient.MainPage$1@554b9a7 at index: 1 on component: [Page class = com.servoy.j2db.server.headlessclient.MainPage, id = 4, version = 0, ajax = 22]
2011-05-02 09:48:41,326 WARN [http-443-16] org.apache.wicket.request.target.component.listener.BehaviorRequestTarget - behavior not enabled; ignoring call. behavior: com.servoy.j2db.server.headlessclient.MainPage$1@554b9a7 at index: 1 on component: [Page class = com.servoy.j2db.server.headlessclient.MainPage, id = 4, version = 0, ajax = 22]
----- END LOGS -----

Re: Getting lots of "behavior not enabled" logs

PostPosted: Tue May 03, 2011 9:37 am
by jcompagner
which version of servoy is this?

It is not that the behavior is rendered, but the behavior is getting called (so it has to do its action) but it is already disabled.

Re: Getting lots of "behavior not enabled" logs

PostPosted: Tue May 03, 2011 5:42 pm
by guerry
Any hints on how I can debug this? I have no idea what is being called or why.

Re: Getting lots of "behavior not enabled" logs

PostPosted: Wed May 04, 2011 10:05 am
by jcompagner
no you can't do much about it, its just internals of servoy/wicket.
But again, what version of servoy is this?

Re: Getting lots of "behavior not enabled" logs

PostPosted: Wed May 04, 2011 6:24 pm
by guerry
Sorry, thought I included that: 5.2.7

Re: Getting lots of "behavior not enabled" logs

PostPosted: Thu May 05, 2011 10:03 am
by jcompagner
for now you just can ignore that warning, it it is disabled it shouldn't do an action anyway.
But we will look if we can get rid of that one.

Re: Getting lots of "behavior not enabled" logs

PostPosted: Thu May 26, 2011 11:14 pm
by antonio
jcompagner wrote:for now you just can ignore that warning, it it is disabled it shouldn't do an action anyway.
But we will look if we can get rid of that one.

Yes, please.
5.2.7

Re: Getting lots of "behavior not enabled" logs

PostPosted: Fri May 27, 2011 2:54 pm
by jcompagner
adjust your logging in the servoy.properties file of the server:

log4j.logger.org.apache.wicket=WARN

that can be

log4j.logger.org.apache.wicket=ERROR

Re: Getting lots of "behavior not enabled" logs

PostPosted: Fri May 27, 2011 9:12 pm
by guerry
Thanks Johan, that will help.

Re: Getting lots of "behavior not enabled" logs

PostPosted: Tue Dec 13, 2011 2:24 pm
by maarten
I'm getting the same warning on Servoy 6.0.3.
Can I just filter out and ignore?

2011-12-13 13:21 TP-Processor61 WARN org.apache.wicket.request.target.component.listener.BehaviorRequestTarget behavior not enabled; ignoring call. behavior: com.servoy.j2db.server.headlessclient.MainPage$1@a6d3429 at index: 1 on component: [Page class = com.servoy.j2db.server.headlessclient.MainPage, id = 5, version = 0, ajax = 1]

Re: Getting lots of "behavior not enabled" logs

PostPosted: Tue Dec 13, 2011 3:21 pm
by jcompagner
yes see my post above.