redhat-developer / vscode-rsp-ui

A unified UI for all RSP servers and RSP server-providers to integrate with
Eclipse Public License 2.0
38 stars 21 forks source link

Tomcat Server staying in "Starting" status and after a while stops #249

Closed ThierrySudre closed 1 year ago

ThierrySudre commented 1 year ago

This is a trick to know if you change the Tomcat Connector port inside server.xml conf file like this : tomcat3

As you can see, i am using port 80 instead of installation default which is 8080. You must also update the server config JSON file (right click on server and "Edit Server") by setting the same port (80):

tomcat4 As the extension is checking the fact that the server is realling started by testing server reply on configured port. If the ports configured in JSON file and Server.xml file are not the same, the server will stay in "Starting" status and never goes to "Started" status.

jeffmaury commented 1 year ago

This is by design. The port specified in server JSON file has the semantic of use this port to check if server is properly started and not start this server using this port