Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Glassfish and java:comp/BeanManager  RSS feed

 
Ilya Kaz
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have .war application that I deploy to glassfish. I want to do CDI, so I need to lookup java:comp/BeanManager from my POJO. But it does not work: BeanManager simply not found!

What is wrong?

Do I need to enable CDI in glassfish? Or it works only in .ear files?
 
Ilya Kaz
Greenhorn
Posts: 2
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!