aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes javax.ejb.EJBException: Could not instantiate bean. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "javax.ejb.EJBException: Could not instantiate bean." Watch "javax.ejb.EJBException: Could not instantiate bean." New topic
Author

javax.ejb.EJBException: Could not instantiate bean.

amol l a lekurwale
Ranch Hand

Joined: Oct 16, 2008
Posts: 30
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

Joined: Nov 11, 2006
Posts: 226
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


28/06/06 - SCJP - 69%, 05/06/07 - SCWCD - 92%, 28/02/08 - IBM DB2 v9 Fundamentals (Exam 730) - 87%, 18/11/08 - IBM DB2 v9 DBA (Exam 731) - 89%, 26/02/11 - SCBCD - 88%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.ejb.EJBException: Could not instantiate bean.