[jboss-user] [EJB 3.0] - Re: @Resource injection not working in shared library
jaikiran
do-not-reply at jboss.com
Fri Mar 20 06:20:57 EDT 2009
anonymous wrote : This listener is bundled in a jar file, which I have put under <JBOSS_HOME>/common/lib to make it available for all applications running on my Jboss application server.
|
| What I see is that when web application is deployed and listener is executed the datasource (ds) is always = null.This means the container did not execute the dependency injection of the datasource.
|
jars in that folder are considered just as libraries and are not scanned for deployments.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219780#4219780
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219780
More information about the jboss-user
mailing list