Ok, I got it. When I installed Tomcat on Windows, I used the Windows Service Installer, the executable, not the zip.
It seems the installation will rename the executables to whatever name you give to your instance, but that executable can be used like service.bat for that command. The executables are renamed so that when you execute them they default to match the Windows service with the same name. Also, the same Tomcat documentation mentions a batch file called service.bat, that file doesn't exist in the executable installer but does exists in the zip file for Windows. To debug installation of Tomcat's services, it's useful to know that the registry location that persist all the settings is under: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0 -----Original Message----- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Wednesday, March 26, 2014 2:54 PM To: Tomcat Users List Subject: Re: Scripting Tomcat installation versus multiple instances On Wed, Mar 26, 2014 at 11:32 AM, Sebastien Tardif < sebastien.tardif.contrac...@gmo.com> wrote: > I'm confused by the commands given by Tomcat documentation about > creating different instances, it says: "service install instance1" but > "service" is not a command provided by Tomcat or Windows, see > http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html#Mul > tiple_Instances > > Almost everything I'm trying to automate using that page is not > working, maybe it's rare people automate installation on Windows? > The service command is located here: \apache-tomcat-7.0.52\bin change directories to this location and run that command. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org