Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying to a Tomcat server which is already running outside of IntelliJ IDEA

I have installed Tomcat server on my PC and I have added it as a service in Windows. So now it starts each time I boot my computer. Now, in IntelliJ I have configured an application server, and that is my Tomcat server, however when trying to "run" the application it says that the port is already in use....and it is ofcourse since Tomcat is started on boot. Is it possible that IntelliJ deploys to the already running Tomcat server instead of trying to start again?

like image 642
LuckyLuke Avatar asked May 05 '12 12:05

LuckyLuke


1 Answers

If you want to deploy to Tomcat started outside of IDEA, use the Tomcat Remote Run/Debug configuration type.

The difference of the Remote configuration is that it doesn't start the server, ensure you create Remote configuration, not Local:

Tomcat Remote

It's possible to update application without restarting the server, refer to the Updating Applications on Application Servers help section.

like image 56
CrazyCoder Avatar answered Oct 18 '22 10:10

CrazyCoder