Getting lots of "behavior not enabled" logs

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Getting lots of "behavior not enabled" logs

Postby guerry » Mon May 02, 2011 7:22 pm

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 -----
guerry
 
Posts: 37
Joined: Tue Nov 09, 2010 4:51 pm

Re: Getting lots of "behavior not enabled" logs

Postby jcompagner » Tue May 03, 2011 9:37 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Getting lots of "behavior not enabled" logs

Postby guerry » Tue May 03, 2011 5:42 pm

Any hints on how I can debug this? I have no idea what is being called or why.
guerry
 
Posts: 37
Joined: Tue Nov 09, 2010 4:51 pm

Re: Getting lots of "behavior not enabled" logs

Postby jcompagner » Wed May 04, 2011 10:05 am

no you can't do much about it, its just internals of servoy/wicket.
But again, what version of servoy is this?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Getting lots of "behavior not enabled" logs

Postby guerry » Wed May 04, 2011 6:24 pm

Sorry, thought I included that: 5.2.7
guerry
 
Posts: 37
Joined: Tue Nov 09, 2010 4:51 pm

Re: Getting lots of "behavior not enabled" logs

Postby jcompagner » Thu May 05, 2011 10:03 am

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.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Getting lots of "behavior not enabled" logs

Postby antonio » Thu May 26, 2011 11:14 pm

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
Tony
Servoy 8 - 2022.03 LTS
antonio
 
Posts: 638
Joined: Sun Apr 02, 2006 2:14 am
Location: Australia

Re: Getting lots of "behavior not enabled" logs

Postby jcompagner » Fri May 27, 2011 2:54 pm

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
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Getting lots of "behavior not enabled" logs

Postby guerry » Fri May 27, 2011 9:12 pm

Thanks Johan, that will help.
guerry
 
Posts: 37
Joined: Tue Nov 09, 2010 4:51 pm

Re: Getting lots of "behavior not enabled" logs

Postby maarten » Tue Dec 13, 2011 2:24 pm

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]
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Re: Getting lots of "behavior not enabled" logs

Postby jcompagner » Tue Dec 13, 2011 3:21 pm

yes see my post above.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Web Development

Who is online

Users browsing this forum: No registered users and 8 guests