In @Resource injection, the value "mappedName" attribute should be the JNDI name
of the resource, not the service name. :)
Like:
@Resource(mappedName = "java:/jdbc/myapp/myDs")
| private DataSource myDs;
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006955#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...