myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hamed Iravanchi <iravan...@gmail.com>
Subject PostConstruct annotation not working on Tomcat 7
Date Sat, 25 Jun 2011 13:22:14 GMT
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), and I've changed
my web.xml file to servlet spec 3.0.
MyFaces core version: tried both 2.0.5 and 2.0.7.


Is this a bug, or there's some configuration that I'm missing?!

-Hamed

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message