Issue Details (XML | Word | Printable)

Key: GLASSFISH-5173
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Bhakti Mehta
Reporter: nikolaj_a
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

Resource injection fails in web service on URL specified in web.xml servlet mapping.

Created: 17/Jun/08 09:23 AM   Updated: 06/Mar/12 10:00 PM
Component/s: web_services
Affects Version/s: 9.1peur2
Fix Version/s: not determined

Time Tracking:
Not Specified

File Attachments: 1. Java Source File FailedInjectionWebService.java (2 kB) 17/Jun/08 09:35 AM - nikolaj_a

Environment:

Operating System: All
Platform: Macintosh


Issuezilla Id: 5,173
Tags:
Participants: Bhakti Mehta, nikolaj_a, sanandal and Tom Mueller


 Description  « Hide

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
servlet mapping.

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

Best regards,
Nikolaj



nikolaj_a added a comment - 17/Jun/08 09:35 AM

Created an attachment (id=1562)
Example source file illustrating the failed resource injection, and a possible workaround.


sanandal added a comment - 11/Jan/09 07:01 AM

"Reclassifying as P4 because this issue is not deemed "must fix" for this v2.1
release whose primary release driver is SailFin.
This issue will be scrubbed after this release and will be given the right
priority for the next release."


Tom Mueller added a comment - 06/Mar/12 10:00 PM

Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.