Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are Tomcat server and Tomcat linked with Eclipse different?

Tags:

eclipse

tomcat

I have installed Tomcat 7 server on Windows on port 8088.

Now I have added the server in Eclipse.

But I am not sure whether I need to keep the Tomcat running by going in the Tomcat directory or I have to close that and run from Eclipse? And how will Eclipse know that I have setup the Tomcat on port 8088?


1 Answers

In the server view, you can double-click on your tomcat server and change the ports. This means that the folder where you have tomcat running (CATALINA_HOME) can still be used run Tomcat "production" and eclipse will use the same binaries to run within WTP. However, all other folders will be confiurable for your "dev" instance.

Actually you'd better change the settings to make sure there is no collision between eclipse ports and the ports declared at windows level.

Another simple solution is to stop tomcat at the windows level. Eclipse will take care of its own instance.

Other useful settings you can modify are the timeouts (in debug it's sometimes necessary), the deploy folder and even add some more web apps (modules tab).

like image 69
Alain Pannetier Avatar answered Dec 11 '25 02:12

Alain Pannetier



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!