This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Tomcat and the fly likes How to run multiple Threads in Eclipse? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to run multiple Threads in Eclipse?" Watch "How to run multiple Threads in Eclipse?" New topic
Author

How to run multiple Threads in Eclipse?

Ricardo Estafan
Ranch Hand

Joined: Mar 29, 2004
Posts: 84
I have implemented a LockManager and in it i remove dead clients on certain occassions. Her is a piece of my code that shows how i do this :





I use eclipse to build debug etc. When i start multiple clients and kil one they have the same Thread, which means the thread is still alive. So i cannot test the removal of dead clients. Is there a way i can start multiple threads in Eclipse so i can test this code?
Can someone help me with this one?!!

Thanks!!
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

what does this have to do with either Apache web server or Tomcat servlet container? Are your clients browsers? Something else?
 
 
subject: How to run multiple Threads in Eclipse?