user275475
user275475

Reputation: 173

explanation of how eclipse automatically deploys to tomcat when doing a 'run on server'

I was hoping someone could explain to me how eclipse automatically deploys to your local tomcat installation when you click on 'run on server'? (assume a default eclipse install, and I downloaded tomcat to c:\dev\servers\tomcat_6.0.18/ and pointed eclipse to that server when setting up the server).

It would be great if you could mention where the files are stored for the local installation to work etc.

Upvotes: 1

Views: 1000

Answers (1)

BalusC
BalusC

Reputation: 1108782

It's all definied in the server.xml which Eclipse has given to Tomcat. This file contains information where the document base is located and which contextname it has to be associated with. You can find its path by doubleclicking the Tomcat instance in the Servers view and checking the Server path field in Server locations section. You need to browse a bit furher something like as tmp0\conf\server.xml.

Upvotes: 2

Related Questions