Hi, I am trying to inject datasource into my class using @Resource annotation. I defined the resource in tomee.xml and added the reference in both web.xml and resources.xml. In the class when I try to access the data source I get null. The same code works when I try in a servlet. Any idea if I need to add any other config to get this working ?
-- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Resource-not-working-in-tomee-1-7-4-tp4680866.html Sent from the TomEE Users mailing list archive at Nabble.com.
