glassfish
  1. glassfish
  2. GLASSFISH-5173

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.1peur2
    • Fix Version/s: not determined
    • Component/s: web_services
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      5,173

      Description

      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

        Activity

          People

          • Assignee:
            Bhakti Mehta
            Reporter:
            nikolaj_a
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: