> On Nov 19, 2024, at 08:16, Kostyantyn Krakovych > <kostyantyn.krakov...@securitashealthcare.com> wrote: > > Hi Team, > > Could you please suggest or advice regarding the following? > > 1. We use Tomcat 9.0.87 as a windows service. It works fine with our > application. > 2. To fix security vulnerabilities we are upgrading Tomcat to version 9.0.97. > 3. The upgraded service works fine except when shutting down/stopping it. > When we stop the service via either console or Services app, we get system > error 1067 (please check the Appendix A). > 4. Event Viewer does not contain too many details about the issue (please > check the Appendix B). > 5. Nothing in logs though we redirect Tomcat logs to logs of our application. > 6. We checked a set of versions, and it looks like the issue started to > appear since Tomcat version 9.0.90. > > Any suggestions or advice how to find a cause of the issue after the upgrade > is welcome.
Need a bit more information here. Is Tomcat behind a front-end such as httpd or IIS? Are you using tcnative-1.dll? Is there any native code (other than the JVM) deployed with the Tomcat application? Was a JVM dump file produced when the process terminated unexpectedly? (Sorry, I don’t know where to look for that on Windows.) Can you post your connector configuration(s) - masking out any sensitive information (eg, passwords)? - Chuck > Appendix A - Output in console when stooping the service > >> net stop <service-name> > The <service-name> service is stopping. > A system error has occurred. > System error 1067 has occurred. > The process terminated unexpectedly. > The <service-name> service was stopped successfully. > > Appendix B - Event Viewer details about the issue > > <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> > - <System> > <Provider Name="Service Control Manager" > Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service > Control Manager" /> > <EventID Qualifiers="49152">7034</EventID> > <Version>0</Version> > <Level>2</Level> > <Task>0</Task> > <Opcode>0</Opcode> > <Keywords>0x8080000000000000</Keywords> > <TimeCreated SystemTime="2024-11-19T07:36:27.2825786Z" /> > <EventRecordID>1577729</EventRecordID> > <Correlation /> > <Execution ProcessID="1196" ThreadID="19180" /> > <Channel>System</Channel> > <Computer><computer-name></Computer> > <Security /> > </System> > - <EventData> > <Data Name="param1"><service-name></Data> > <Data Name="param2">140</Data> > <Binary><service-name-binary-data></Binary> > </EventData> > </Event> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org