This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Glassfish v3. javax.ejb.CreateException: Could not create stateless EJB

 
Jose Alvarez de Lara
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am tryng 'How to Create a Java EE 6 Application with JSF 2, EJB 3.1, JPA, and NetBeans IDE 6.8' from http://netbeans.dzone.com/articles/develop-java-ee-6-app-jsf2
and when I call the EJB 3.1 I get the following exception,

A system exception occurred during an invocation on EJB CustomerSessionBean method public java.util.List com.customerapp.ejb.CustomerSessionBean.retrieve()
javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB

This is the EJB declared in an EJB module,



I call the ejb from a ManagedBean in a web client. This is the code,

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic