Installing Tomcat Remote Server in Eclipse

I want to deploy and debug a local web application using a remote instance of Eclipse. I went through the usual Create Server wizard and entered my hostname, as shown below:

Define a New Server

However, the next step requires specifying the local tomcat directory. How can I specify a remote location instead?

enter image description here

+6
source share
2 answers

Assuming you started the tomcat process with the appropriate debugging options , the way to remotely debug (web application or stand-alone application) is to configure the Remote Java Application debug configuration for your webapp project in eclipse.

(Available via Run-> Debug Configurations-> Remote Java application)

enter image description here

+4
source

To deploy a local application on a remote Tomcat, you can also use the Tomcat Ant tasks and deployment manager and use the debugging technique described by @amol.

+2
source

Source: https://habr.com/ru/post/894313/


All Articles