I don't remember seeing that error:
17:14:48,757 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ejb3.entity.InjectedEntityManagerFactory
and wonder where it comes from.
But all other errors are known and are ok to ignore. MyFaces is a bit to verbose on things it cannot find.
I deploy seam examples and work fine. ...
Why don't work, anyone idea?
Does it work or not ?
Examples works fine, my application generated with JBoss IDE don't.
I fix it changed :
@In(create=true) private EntityManager entityManager;
@PersistenceContext private EntityManager entityManager;
Now, WORKS FINE!!!!!!