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 9.0 server stop few minutes after start without any output #282

Closed Tenebrosful closed 1 year ago

Tenebrosful commented 1 year ago

Hello,

I'm using the extension but there is a problem, the Tomcat server stop working after few minutes without any error or output logs.

I tested with CLI vanilla Tomcat or other extension like Local Tomcat and everything looks fine.

Windows 10 Pro 22H2 Tomcat 9.0 Runtime Server Protocol UI v0.24.7

If i can share you any more details feel free to asking but like i said there is no output / logs (that i know) about this.

PS: It always display Starting even when startup finished and the server is available to use

robstryker commented 1 year ago

Is your tomcat configured to run on port 8080 and host localhost? If not you'll need to edit your server adpater representation to tell it to try to connect on a different port.

Typically, when we start an app server, we wait for it to be started. If it never completes startup, we shut it down and cancel it. The way we know if it's completed is by checking it's host:port combo to see if its responsive.

If your tomcat is configured to run on port 8900 and we're busy checking 8080 to see if it's up, we obviously won't recognize the server is up and will think something is wrong.

robstryker commented 1 year ago

Let's go with this other issue instead.

https://github.com/redhat-developer/rsp-server-community/issues/206