> -----Original Message----- > From: David kerber [mailto:dcker...@verizon.net] > Sent: Wednesday, March 26, 2014 2:35 PM > To: Tomcat Users List > Subject: Re: Scripting Tomcat installation versus multiple instances > > On 3/26/2014 3:25 PM, André Warnier wrote: > > Leo Donahue wrote: > >> 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#M > >>> ultiple_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. > >> > > > > Maybe also the OP did not download the correct package to have that > > command. > > For some reason which is still mysterious to me, the "Service > Installer" > > package does not contain all the files which the ZIP package > contains. > > And "bin/service.bat" is probably among the ones missing. > > Yes, it is. When I am setting up a new install, I do the windows > install and then unzip the .zip package on top of it, so I have all the > .bat files as well. I don't fully automate my installations, but I do > some scripting to make it easier to be consistent with my naming and > configuration. >
I've found with the Windows service installer that I've never needed the *.bat files that come with the zip file. However, one thing I'm not sure about is if the WSI has a -silent mode. It would be great if it did. It really would help out in scripting the install as part of another install, etc. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org