[jboss-user] [EJB3] - Re: @PostConstruct not inoked in ear packaging

Tomas Bartalos do-not-reply at jboss.com
Thu Jun 30 08:19:05 EDT 2011

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

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110630/2ef3d677/attachment.html 

More information about the jboss-user mailing list