Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.ejb.EJBException: Could not instantiate bean.

 
amol l a lekurwale
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my application, sometimes I get the error
javax.ejb.EJBException: Could not instantiate bean

All I need to do is just restart jboss, and the error goes away. Can anyone suggest me why the error occurs? Is there any solution so as to avoid the error.
 
Mark Garland
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you send us the logs? Perhaps there is some clue in there as to why JBoss thinks it can't instantiate the bean.

MG
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic