It seems that all resource injection fails on a web service implementation class when it is accessed by
the servlet mapping URL. Also, GlassFish automatically creates and alternative URL (why is this?) which
can be found in the admin GUI, where resource injection works perfectly.
Resource injection should work when a web service is called on the URL specified in the web.xml
As a workaround, is it possible to somehow change the automatically assigned URL, possibly via
webservices.xml or the like?
See also last post in http://forums.java.net/jive/thread.jspa?threadID=38298