部署到已在IntelliJ IDEA外部运行的Tomcat服务器 [英] Deploying to a Tomcat server which is already running outside of IntelliJ IDEA
问题描述
我在我的电脑上安装了Tomcat服务器,并在Windows中将其添加为服务
。所以现在每次启动计算机时都会启动它。现在,在IntelliJ中,我已经配置了一个应用程序服务器,这是我的Tomcat服务器,但是当试图运行应用程序时,它说该端口已经在使用....而且它是当然的,因为Tomcat是在启动时启动的。 IntelliJ是否有可能部署到已经运行的Tomcat服务器而不是尝试重新启动?
如果要部署到Tomcat在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?
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:
It's possible to update application without restarting the server, refer to the Updating Applications on Application Servers help section.
这篇关于部署到已在IntelliJ IDEA外部运行的Tomcat服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!