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

        Hide
        Tom Mueller added a comment -

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

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.
        Hide
        sanandal added a comment -

        "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."

        Show
        sanandal added a comment - "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."
        Hide
        nikolaj_a added a comment -

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

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

          People

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

            Dates

            • Created:
              Updated: