all!
Preface: This may not be for the “programming” group, but I have to start SOMEWHERE and, since it’s so bizarre, I thought I’d start here and then move where I need to be.
My company has a web-based Windows application (of Tomcat 9) running as a Windows service which, under the covers, is launched (by the Windows service) as:
..tomcat9.exe //RS//APP_PATH
Everything works fine, and I can have multiple instances (setup on different ports) running concurrently UP TO FOUR separate instances; when I start a fifth (or sixth, or tenth) — all with different ports — the Windows service panel shows that it’s running, but the application doesn’t actually RUN. None of the logs (including Tomcat) show any activity whatsoever; and, as soon as I turn off any of the four, the fifth starts responding.
The first idea I had was that the system is out of memory, but this can’t be true, as the same issue exists on Win10Pro w/ 16GB RAM as WinServer 2022 DataCenter w/ 32GB RAM. The application interfaces with a database, and there are many other things at play, but the most telling thing I’ve found is that the Tomcat logs never start being written, meaning that the Windows service shows as running, but it’s… not.
This has been very frustrating for a long time, and it would be fantastic if a solution could be found. I (obviously) can’t post any company-specific details, but I’m certainly willing to answer any questions and enter any suggestions anyone has.
Thanks in advance!
Dave
I have tried adjusting the memory (heap size) both starting and maximum, no difference.