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

[GSS](7.0.z) suspend operation does not wait timeout to complete before returning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 7.0.3.GA
    • Management, Server
    • None
    • Hide
      • You can see the description in following comannd.
        [standalone@localhost:9990 /] :read-operation-description(name=suspend)
        [domain@localhost:9990 /] :read-operation-description(name=suspend-servers)
      • The suspend operation will be return immediately even if servlet request keep to sleep on the server.
        1. start EAP
        2. execute Servlet that sleeps 30 secs. (attached hello.war for the sleep invocation)
        3. :suspend(timeout=10)
        4. suspend operation will be return immediately.
      Show
      You can see the description in following comannd. [standalone@localhost:9990 /] :read-operation-description(name=suspend) [domain@localhost:9990 /] :read-operation-description(name=suspend-servers) The suspend operation will be return immediately even if servlet request keep to sleep on the server. 1. start EAP 2. execute Servlet that sleeps 30 secs. (attached hello.war for the sleep invocation) 3. :suspend(timeout=10) 4. suspend operation will be return immediately.

      According to the following descriptions for the timeout of suspend, they say that the command does NOT return before the completion of suspend.
      Actually, the suspend operation immediately returns to prompt regardless of standalone or domain mode.
      It seems that it need to consider to change the description or the behavior.

      • standalone mode
        ~~~
        [standalone@localhost:9990 /] :read-operation-description(name=suspend)
        "operation-name" => "suspend",
        "request-properties" => {"timeout" => {
        "description" => "The timeout in seconds that a suspend operation will wait for the suspend operation to complete before returning. If this timeout passes the suspend operation returns, it does not resume normal operations.",
        ~~~
      • domain mode
        ~~~
        [domain@localhost:9990 /] :read-operation-description(name=suspend-servers)
        "operation-name" => "suspend-servers",
        request-properties" => {"timeout" => {
        "Timeout in seconds. If this is zero the operation will return immediately, -1 means that it will wait indefinitely. Note that the operation will not roll back if the timeout is exceeded, it just means that not all current requests completed in the specified timeout.",
        ~~~

        1. hello.war
          5 kB
          Hiroki Daicho

              chaowan@redhat.com Chao Wang
              rhn-support-hdaicho Hiroki Daicho (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: