Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8064

read-resource operation of jaxrs subsystem doesn't work if HttpServletDispatcher is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR17
    • 7.1.0.DR9
    • REST
    • None

      Description of problem:
      Read-resource operation of jaxrs subsystem doesn't work if HttpServletDispatcher is used.

      This issue relates with EAP7-607.

      Steps to Reproduce:

      1. Download attached application
      2. mvn package
      3. deploy
      4. ./jboss-cli.sh -c --command="/deployment=jaxrs-wf.war/subsystem=jaxrs:read-resource(include-runtime=true,recursive=true)"
      5. curl http://localhost:8080/jaxrs-wf/test/text

      Actual results:

      [mkopecky@dhcp-10-40-5-21 bin]$ ./jboss-cli.sh -c --command="/deployment=jaxrs-wf.war/subsystem=jaxrs:read-resource(include-runtime=true,recursive=true)"
      {
          "outcome" => "success",
          "result" => {"rest-resource" => undefined}
      }
      [mkopecky@dhcp-10-40-5-21 bin]$ curl http://localhost:8080/jaxrs-wf/test/text
      very long string
      [mkopecky@dhcp-10-40-5-21 bin]$ 
      

        1. patch.txt
          6 kB
          r searls

              rsearls r searls
              mkopecky@redhat.com Marek Kopecky
              Katerina Odabasi Katerina Odabasi
              Katerina Odabasi Katerina Odabasi
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: