• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss 5.1 ejbCreate method not called on mdb

 
M. Phaneendra Vijay
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Could anyone tell me, why ejbCreate method is NOT called on MDB in JBoss 5.1.0 for EJB 3.0. The same code worked in weblogic 10.
Please find the code below

 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was a bug https://issues.jboss.org/browse/EJBTHREE-2160 in JBoss AS which got fixed in JBoss AS 6.0.0.Final. Try upgrading to 6.0.0.Final of JBoss AS.
 
M. Phaneendra Vijay
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it working. Annotate the ejbCreate method with @PostConstruct. It works!!!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic