PDA

View Full Version : Eclipse and Tomcat - use already running Tomcat?



mazz0
October 12th, 2009, 04:22 PM
So I'm writing a webapp in Eclipse and I'd like to be able to test it with the run button within Eclipse, rather than manually deploying it in Tomcat. Now, I can do this, but not if Tomcat is already running, because Eclipse then complains that port 8080 is already in use.

So, can I a) get Eclipse to use the existing instance of Tomcat and just create its own application within it, or b) tell Eclipse to create a new instance of Tomcat using a different port?