You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I download tomcat zip file from official website and unzip it to my disk,it can be manually start by double click startup.bat.
when I install it as windows service and start, it stop immediately after successful startup, pls help me out, thanks.
Stopping after service startup, certain services will automatically stop when not in use by other services or programs.
my config file:
<service>
<id>myapp</id>
<name>MyApp Service (powered by WinSW)</name>
<description>This service is a service created from a sample configuration</description>
<envname="CATALINA_HOME"value="D:\apache-tomcat-8.5.63" />
<executable>%CATALINA_HOME%\bin\startup.bat</executable>
<logmode="roll"></log>
<logpath>%BASE%\logs</logpath>
</service>
myappout.log:
Using CATALINA_BASE: "D:\apache-tomcat-8.5.63"
Using CATALINA_HOME: "D:\apache-tomcat-8.5.63"
Using CATALINA_TMPDIR: "D:\apache-tomcat-8.5.63\temp"
Using JRE_HOME: "D:\Program Files\Java\jdk1.8.0_261"
Using CLASSPATH: "D:\apache-tomcat-8.5.63\bin\bootstrap.jar;D:\apache-tomcat-8.5.63\bin\tomcat-juli.jar"
Using CATALINA_OPTS: ""
myappwrapper.log
2023-10-17 16:26:59,183 DEBUG - Starting WinSW in console mode
2023-10-17 16:27:01,557 DEBUG - Starting WinSW in console mode
2023-10-17 16:27:01,599 INFO - Starting service 'MyApp Service (powered by WinSW) (myapp)'...
2023-10-17 16:27:02,138 DEBUG - Starting WinSW in service mode
2023-10-17 16:27:02,173 INFO - Service 'MyApp Service (powered by WinSW) (myapp)' started successfully.
2023-10-17 16:27:02,293 INFO - Starting D:\apache-tomcat-8.5.63\bin\startup.bat
2023-10-17 16:27:02,324 INFO - Started process 12352
2023-10-17 16:27:02,344 DEBUG - Forwarding logs of the process System.Diagnostics.Process (cmd) to WinSW.RollingLogAppender
but I can't find the pid 12352.
The text was updated successfully, but these errors were encountered:
wzshuang
changed the title
service status is stop, but it is started already
tomcat service status is stop, but it is started already
Oct 17, 2023
Problem statement
I download tomcat zip file from official website and unzip it to my disk,it can be manually start by double click startup.bat.
when I install it as windows service and start, it stop immediately after successful startup, pls help me out, thanks.
Stopping after service startup, certain services will automatically stop when not in use by other services or programs.
my config file:
myappout.log:
myappwrapper.log
but I can't find the pid 12352.
The text was updated successfully, but these errors were encountered: