9 Replies Latest reply on May 24, 2004 9:34 AM by acoliver

    ReThread

    acoliver

      We have some occassional concurrency issues. Mostly because I wrote the whole threading model during a JBoss bootcamp in Atlanta I think. So I'm ripping that out and trying to leave it to the professionals (Doug Lea: http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html). I have this half done but will probably finish it tomorrow. If you're working on something I have PREACORETHREAD tagged before I started this. I need to figure out how to timeout for "life" and integrate Mike's logging stuff, but the TestServer unit test is passing and running faster. I also plan to MBeanize this so that you can manage thread pools seperately and potentially assign multiple protocols to the same pool.

        • 1. Re: ReThread
          acoliver

          This is running on my mail server and appears to be not only faster but more stable. Let me know (especially you kabir) if the concurrnecy issue shows up again. I think its nailed. Moreover I think "timeout" works. Next up will be to mbeanize the thread pool and have server use it that way.

          • 2. Re: ReThread
            mikea-xoba

            sounds like a good idea to get a little more serious on multithreading. am curious what the original symptoms were though, just for my own educational value (i know they weren't quite definite, which is ok too).

            • 3. Re: ReThread
              kabirkhan

              I kept on getting spam meant for Andy, as if I did not have enough of my own :-)

              • 4. Re: ReThread
                mikea-xoba

                that's interesting... but i was also using his mail server for many days (via microsoft outlook client) and didn't get even one....

                • 5. Re: ReThread
                  kabirkhan

                  Weird... Am using Outlook too

                  • 6. Re: ReThread
                    acoliver

                    The issue required two people to log in at the same time (I think). You probably logged in less Mike. LEt me know if it happens again. I dobut it will.

                    • 7. Re: ReThread
                      kabirkhan

                      Hmmm,

                      got som dodgy mails again. I'm starting to think I get your stuff when I have NOT been online and check my mail after a break. I'll try to reproduce the problem here. Has anybody been able to reproduce it locally?

                      • 8. Re: ReThread
                        mikea-xoba

                        i believe my microsoft outlook client's been logging in like clockwork every 10-15 minutes or so when its been running, checking for new mail.

                        • 9. Re: ReThread
                          acoliver

                          I'm wondering if its hypersonic or the actual MBean server. I'm going to stick in some debugging code to see if we ever get a result that doesn't make sense. (like mail != user when criteria = user)