Witaj,

What Tomcat version are you using? If it's lower than Tomcat 6, you should 
forget about expecting @PersistenceContext to work - servlets are managed 
components, but only for a servlet container that understands the notion of 
annotation processing that's introduced in Java EE 5. It should work with 
Tomcat 6 fine.

Jacek

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040836#4040836

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040836
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to