Are Tomcat server and Tomcat linked with Eclipse different?

No you don't need to keep tomcat running outside. You can run/stop it whenever you want from eclipse.

Do I need to keep the tomcat running by going in the tomcat directory or I have to close that and run from eclispe. No you don't need to keep tomcat running outside. You can run/stop it whenever you want from eclipse.

How will eclipse know that I have setup the 8088 port You will find project named Server or Servers; depends on eclipse version; in your workspace; in which you have added tomcat. It has tomcat configuration file which tells eclipse how to manage tomcat. It has a file called server.

Xml which contain port information that is on which port tomcat will run.

The server. Xml has port 8090 listed but the eclispe says that can not start server because port 8009 is used somewhere. Where has this port come from – John Feb 12 '11 at 13:17 @Name: Do you have any other tomcat instance running concurrently.

Because beside connection port tomcat needs some others ports to work like redirect port. So may be you also need change that cause two instance can not access same port at same time. – Harry Joy Feb 12 '11 at 13:21 the other instance is running outside eclispe not inside.

You said many instances can run – John Feb 12 '11 at 13:42 @Name: yes many instance can run on one machine. But they all need different ports to run on. It does not matter from where you start tomcat inside or outside of eclipse but their ports must be different from each other all port conflict will occur that is what you are facing now.

– Harry Joy Feb 12 '11 at 13:47 @Name: Either in inside/outside tomcat's server. Xml change port in this line. ` ` – Harry Joy Feb 12 '11 at 14:43.

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).

So it means outside eclipse I can run in IE localhost:8088 and in eclispe I can run localhost:8085 at same time – John Feb 12 '11 at 13:08 @Name: yes you can but it requires 2 different tomcat instances. With one instance you can not do this. – Harry Joy Feb 12 '11 at 13:11 That's correct.

Eclipse does not affect your "prod" instance. If you do not change the settings you will find a mini 'CATALINA_BASE' environment under myworkspace/. Metadata/.

Plugins/org.eclipse.wst.server. Core/tmp0 The tmp0 is for your first config, if you run a second instance it will be in tmp1 etc... Finally, you will discover a new server type launch configuration generated for you. In this launch config, you can add any jvm argument you want (such as JMX settings for instance).

Basically you're in full control of your dev tomcat configuration. – Alain Pannetier Feb 12 '11 at 13:15.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions