Re: Scripting Tomcat installation versus multiple instances
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/26/14, 3:35 PM, André Warnier wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Please don't top-post. - -chris (Sorry... just had to do that) -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTNE0BAAoJEBzwKT+lPKRYZRYQAKaYJRoB4M4Fm4NnIW3Q2Ng/ Fs1dk96Ad1HdIPWgYUjnzRS3oOXXW+2ocOnn1LXUctjQRsdkruY0PmwrYThUZ8zB lZmJgSFBoi3w1c+HJ3KTchnx8+VQUDOeR0r++hmpvl0j92yNQz0a4mr7muyvoMs2 e7TAM3dRMAkcCX/W8In0SsOweHaSpUTOAnEkzGG4tGZKaPvAJ4fIEQ2Jra7bcHqQ U/u2VRlcXBemIoeOFYGANek1v/hvu7NelhDLwMLHgJYFoktxjSyWKpZ187OOkuU9 g/WOM2WIa/TzCMEPtA8QhD45biJmE+l4vvR4ScVgeC3eIxT0F6jNwvvcflEDEo0/ +SWonwmrKGvKbgvgBLM0VRXfbNXbFmaw1Vo8liT077BsmYNFrSP7eN51iiePH025 0O7dGAJQyi5fe3w6JP4WHh1rbYKOzmJMyyMQjKItSzy6Y07fK6qpbekb4VxnLrev Rvq0Xh/xpqgj1mtKip7JFBbJl1m/wu6suJCGuUOukm4sCqjcTYNUCBL67Md/ilR+ 6baBdUvNriznVxJsY7AOqAa5rCnU6iyBTOdBvduuw25+gED45aLpJUuL+OuHl5Ij 2U8s2rKWdrvIKWLpdRl8BYZksbQr7yMV5JJrh5ce679GHrduJv1xLkggdQRr5HMu kpvX512awxPkrnJ0xGkX =UxeD -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Scripting Tomcat installation versus multiple instances
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 3/26/14, 3:35 PM, David kerber wrote: 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#Multiple_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. https://issues.apache.org/bugzilla/show_bug.cgi?id=56323 Vote for it. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTNE2VAAoJEBzwKT+lPKRYicoP/0wJYICuyIYTdbWeNEaxAVbA SPyrBpoiXRPZAMFm/tW0Epk2ruiVh/9SCqT3M1nbCM+ThBzMEYjaWf38v1zaGVgb HQUSww/2Vz7D3ZuuQz9GHA4OD9+5l+FFkTE6qAMZf6q9oEyzu6/ySGGyzWYVSRdw T+Buy6ZQHCVgbgB9wzZbGyHgwULEKnf/GUbCIlpx+kAiHhqnTPl/6QiXJpBaUPoE ZO7HPUNZFG/P2yjORalP/xsU0l2R/74pmySFUd8lP5oLevMNt3hoqjWHV1rVROuV pFpnaNPnbo2aeCHh1RNXNPP57ieiTmSdHgm+LghfPG7aVXPW1vsw5T10VqlxuEWN mf+GAmlpVzQl0NkqoIW4T0A0yjrVJHXqMmPnzQEE5xc7wwL86h/B2A+Gs47tXVrQ lvuicmQkqKJOyanriJ+dvP5ddDPKDlPPf4/oeLqZoPqpajpWI4/uAL4AhV24I7Lt sls4pR/rMc23ytujodKu3A+alANL6cz/279aHOUqkkpNOe5NuPqr9T1Vn/c4fPKr PXwzEmtVOLX4VRkB+bohqya5xwsb7lkDmzrS7LPAQj9/pd0lnVDd+2P0O02yvDM5 kaZIeRK4qa6RGJIcGv81hpiskbT3dcv23ALfYuQu87/MMeiNkDspY0OoZIRJS/qO jB6BBGKGgYLQYsIHUDVu =Amxm -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: {OT] Scripting Tomcat installation versus multiple instances
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/26/14, 3:35 PM, André Warnier wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Please don't top-post. - -chris (Sorry... just had to do that) Well, you top-post all the time ! (see above) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: {OT] Scripting Tomcat installation versus multiple instances
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/27/14, 12:13 PM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/26/14, 3:35 PM, André Warnier wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Please don't top-post. - -chris (Sorry... just had to do that) Well, you top-post all the time ! (see above) Do I? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTNE/7AAoJEBzwKT+lPKRYy2oP/0+krojpRSJWrukMOU1wb3ET D0ssGvojcv2vrr7zoSeGTvEV0Y+OxxalDNSOKMZsDaLwj9AkBnfGRYrMBDahnyNq cifzB3kK2G826sCg6owGv6gsd+YFJ03tqB9nuPpNtt/jTmafjDRSEEnBdj2VK3xr ZTnUSMz+jZ1EAy/OQAd4oIa5jOh5CxBsZa9Dux7MbGLV2UudqoKxTCjLx7I7FpWp p2zUuh3vNiF1XWNvxXnkLYB9xNHyPwPbfv6eRBXj9v5G993K6EalKMFPMoQcgw1k vzpboDVidjNHetWdIXbYDSIhFdgqhcZX7Gz0YrZ/yUDv77Mxr+Uu7xUAV3E+J2Z/ 9Sxx87C+dHGhatj8Q4SZScoDOHq+uInJLULq5KS18tprcDf6wOD4EBx2oTGw0npa pzZQaL5JXK/36K0ZpbkGQZWoxdh5ztPU25P6+HIOyo5EEeLvFNFWP2pClvaZcy4S 98S8G1OZvQpJrzc1RvBzd4a5Uxt+Jr0+KJCXqZAB976Wg8QwtaqGOAox0nvZpXqz /S6yRl/FOGskiXbNMrTeB9lztWECwZLA+WOhdyqERyElvbKNAr2aI9rZIs829QjF Xtb9VVkoa55otSmnNmIKE1DNClm44uOJhcLeMAZu8gEPCNqfs3wG7R0Sis67BlRL 6oTQlJto6mAzgscr8rg6 =9d0b -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Scripting Tomcat installation versus multiple instances
On 3/27/2014 12:11 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, ... 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. https://issues.apache.org/bugzilla/show_bug.cgi?id=56323 Vote for it. done - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Scripting Tomcat installation versus multiple instances
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#Multiple_Instances Almost everything I'm trying to automate using that page is not working, maybe it's rare people automate installation on Windows?
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#Multiple_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.
RE: Scripting Tomcat installation versus multiple instances
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
Re: Scripting Tomcat installation versus multiple instances
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#Multiple_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. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
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#Multiple_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. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Scripting Tomcat installation versus multiple instances
Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: 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 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Scripting Tomcat installation versus multiple instances
On Wed, Mar 26, 2014 at 12:35 PM, André Warnier a...@ice-sa.com wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: Oh no you didn't, just top post. ?
Re: [OT] Scripting Tomcat installation versus multiple instances
Leo Donahue wrote: On Wed, Mar 26, 2014 at 12:35 PM, André Warnier a...@ice-sa.com wrote: Despite your name, you are too quick (and not lazy enough). You could have waited an hour, to get that solution right here. ;-) Sebastien Tardif wrote: Oh no you didn't, just top post. ? Well, you see, it's all about the context. It's a rather subtle thing really, and one needs a bit of feeling to do this just right. If you are answering some particular question in the original text, or you are commenting on a particular section, then it makes it much easier for everyone (or at least Western readers), if you keep questions and answers in sequence. See Mark's previous post in Re: tomcat 5.5.26 misses a jar contaning org.apache.tomcat.core.BaseInterceptor . . . and imagine this all top-posted.. However, if you were to make a general comment or observation not really related to any section in particular, but to the message as a whole, then why not place it where it is easiest to read without scrolling ? Now let's not allow this to spread unduly; I suggest that only long-time contributors to the list (3 years or more), would have the proper appreciation and restraint to be allowed to flaunt the general rules once in a while. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Scripting Tomcat installation versus multiple instances
-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