Tomas Bartalos [
http://community.jboss.org/people/barti] created the discussion
"Re: @PostConstruct not inoked in ear packaging"
To view the discussion, visit:
http://community.jboss.org/message/612740#612740
--------------------------------------------------------------
So finally I've found the solution. The problem was in included library
*jsr250-api-1.0.jar.*
I used maven for building and this library was transitive dependency of resteasy-jaxrs
lib.
I marked this lib as provided and now the @PostConstruct works.
But anyway its a strange behavior from jboss side, because there was no error message in
logs, only the postcontruct simply stopped working.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/612740#612740]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]