• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

@ConversationScoped

 
Ranch Hand
Posts: 153
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to implement my first ConversationScoped CDI bean. However the bean never gets instantiated.
Tried both on JBoss 6 M5 and GlassFish V3.



The conversation is supposed to be started from index.xhtml:


I get the error message:



The next page would be


I have also tried to use this bean alone with

in the constructor.
With this the bean does not get instantiated either. However I get no error message. The <h:outputText is not populated.

>
 
Markus Schmider
Ranch Hand
Posts: 153
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stupid me:

Forgot
WEB-INF/beans.xml

 
reply
    Bookmark Topic Watch Topic
  • New Topic