Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3325

Endpoints created through Endpoint.publish execute tasks sequentially

XMLWordPrintable

    • Hide

      Deploy the attached war file into AS7 and navigate to

      http://localhost:8080/hello/Hello

      Notice that all requests are handled by the same thread sequentially.

      [Thread 48] took [40031] milliseconds to respond.
      [Thread 48] took [10000] milliseconds to respond.
      [Thread 48] took [20015] milliseconds to respond.
      [Thread 48] took [30015] milliseconds to respond.

      Show
      Deploy the attached war file into AS7 and navigate to http://localhost:8080/hello/Hello Notice that all requests are handled by the same thread sequentially. [Thread 48] took [40031] milliseconds to respond. [Thread 48] took [10000] milliseconds to respond. [Thread 48] took [20015] milliseconds to respond. [Thread 48] took [30015] milliseconds to respond.

      Endpoints published via endpoint.publish method gets the requests executed sequentially.

      Attached a patch when applied fixes this issue.

      [Thread 59] took [10000] milliseconds to respond.
      [Thread 57] took [10000] milliseconds to respond.
      [Thread 56] took [10000] milliseconds to respond.
      [Thread 58] took [10000] milliseconds to respond.

        1. hello.war
          10 kB
        2. JBWS-3325.diff
          0.9 kB

              rhn-support-asoldano Alessio Soldano
              mageshbk_jira Magesh Bojan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: