File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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
  • 0
  • 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,

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic