File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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?
 
jQuery in Action, 2nd edition
 
subject: How to run multiple Threads in Eclipse?
 
Similar Threads
consumes no CPU cycles solutions...
SCJD Failure
NX:Client crashed cause deadlock in LockManager
Removing entries from a collection
Testing client crashes