ViewExpiredException in MyFaces 2.0.6

2011-06-25 Thread Hamed Iravanchi
Hi, I'm getting ViewExpiredSession by clicking on any button in my pages after upgrading MyFaces 2.0.5 to 2.0.6. My pages have multiple forms, any button in any of them raises the same error. I'm using facelets version 1.1.6. I see some changes in the state caching on the change list of 2.0.6,

PostConstruct annotation not working on Tomcat 7

2011-06-25 Thread Hamed Iravanchi
Hi, I was trying to port my application to Tomcat 7, where I found that @PostConstruct annotations fail to work silently. The annotated beans are recognized alright (@ManagedBean works). But postConstruct methods are not invoked at all. I've tried it on the latest Tomcat 7 x64 version (7.0.16),

Re: ViewExpiredException in MyFaces 2.0.6

2011-06-25 Thread Martin Koci
Hi, Hamed Iravanchi píše v So 25. 06. 2011 v 17:42 +0430: Hi, I'm getting ViewExpiredSession by clicking on any button in my pages after upgrading MyFaces 2.0.5 to 2.0.6. My pages have multiple forms, any button in any of them raises the same error. This is probably related to:

Re: ViewExpiredException in MyFaces 2.0.6

2011-06-25 Thread Leonardo Uribe
Hi There was some changes on state saving algorithm. All tests done passed, but the previous algorithm was preserved too. It was found a bug on 2.0.6, so the following is valid 2.0.7 / 2.1.1 . Add in your web.xml file the following: context-param

Re: PostConstruct annotation not working on Tomcat 7

2011-06-25 Thread Leonardo Uribe
Hi Tomcat 7 should work without problem. It has been already tested on the past. The first thing you can do is try add this web config param: context-param param-nameorg.apache.myfaces.config.annotation.LifecycleProvider/param-name

Re: PostConstruct annotation not working on Tomcat 7

2011-06-25 Thread Matt Benson
On Sat, Jun 25, 2011 at 9:58 AM, Leonardo Uribe lu4...@gmail.com wrote: Hi Tomcat 7 should work without problem. It has been already tested on the past. The first thing you can do is try add this web config param:  context-param

Re: PostConstruct annotation not working on Tomcat 7

2011-06-25 Thread Gerhard Petracek
short addition: matt was talking about: mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/6/25 Matt Benson