Hello, I want to stop installed Windows service in command line using 'Tomcat7.exe stop SERVICENAME'. With Tomcat 7.0.35 it works well. With 7.0.42 I always get an error code 6 and the service isn't stopped.
Here's the log output from commons-daemon.log: [2013-09-19 01:32:40] [info] [ 3816] Commons Daemon procrun (1.0.15.0 64-bit) started [2013-09-19 01:32:40] [info] [ 3816] Stopping service 'SERVICENAME' ... [2013-09-19 01:32:44] [error] [ 3816] Failed to stop 'SERVICENAME' service [2013-09-19 01:32:44] [error] [ 3816] The data area passed to a system call is too small. [2013-09-19 01:32:44] [info] [ 3816] Stop service finished. [2013-09-19 01:32:44] [error] [ 3816] Commons Daemon procrun failed with exit value: 6 (Failed to stop service) [2013-09-19 01:32:44] [error] [ 3816] The data area passed to a system call is too small. I have to stop the service because I do an automatic installation of my application with Jenkins and an ANT script. The ANT script stops the service, downloads the artifacts from my Jenkins build, unpack and copy artifacts to the Tomcat folder and then starts the service again. It would be very helpful if I can get this issue fixed. Thanks for any answer. Stephan