Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
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
Boost this thread!