forgot to describe my environment:
- WebBeans Snapshot - 31/07/2009
- JSF2 Beta2
- JBoss 5.1
@Produces @PersistenceContext @Database
private EntityManager entityManager;
I got the same problem in
Weld 1.0 CR
JBOSS 5.2 Beta1
Pete, was it fixed?
At first blush, it looks like a bug to me. The spec (6.6.2) says
all resources are passivation capable dependencies. It's worth submitting an issue in JIRA if there is not one already.
Yes, please submit a JIRA issue. Make sure to include classes sufficient to reproduce the problem.