Answer the question
In order to leave comments, you need to log in
How to run java applications on already running tomcat?
I use Ubuntu 16.04
Installed Tomcat 8 according to this guide -> automatic start of the server was added to autoload. Therefore, Tomcat always hangs on localhost: 8080, the start page of Tomcat opens.
I use Inteliji IDEA to create a web application, now in the launch config I have registered the path to the tomcat and the launch parameters localhost: 8081.
After starting my application, it turns out that I have 2 servers running at the same time. I do not need it. I need the application to run on an already running tomcat, which is located at localhost: 8080
How to implement this? And is this the correct practice, or is it to start Tomcat for each application launch and then stop it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question