1 Reply Latest reply on Apr 14, 2003 7:06 AM by adrian.brock

    Dead loop

    hanxuerui

      I mistakenly created a dead loop in on remote method of a session bean. I have to kill the jboss process to get the application back to control.

      My question is: Is it possible to make this better? I mean is there a tool can let me kill the part I want?

        • 1. Re: Dead loop

          If you mean a cpu loop, no.
          The only mechanism is thread.stop() which
          won't do garbage collection or release resources
          hence it is deprecated.

          Regards,
          Adrian