-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Scott,
On 9/19/13 11:03 AM, PELL Scott H wrote: > Background: Switching from Adobe JRun4 for ColdFusion and Java to > Tomcat 7.0.42. Have 10 years of experience with JRun4 as J2EE > application server, so am familiar with some of the issues > involved. > > Initial Install: Installed Tomcat 7.0.42 on Windows 2012 and > created an instance following these instructions: > http://www.ansoncheunghk.info/article/5-steps-install-multiple-apache-tomcat-instance-windows I > can simplify that installation process to 2 steps: 1. Download Tomcat from tomcat.apache.org 2. Launch the installer Do you actually need multiple instances? The guide above has you duplicate the Tomcat installation in its entirety and that is not necessary at all: you can run multiple instances with a single "installation", but you do in fact need separate CATALINA_BASE directories. (The term CATALINA_BASE is derived from the environment variable that is consulted when locating instance-specific configuration for multi-instance environment. CATALINA_HOME points to the true Tomcat installation, where Tomcat's scripts, libraries, etc. can be found.) I would encourage you to look at the RUNNING.txt file that should have come with your distribution of Tomcat, particularly the "Advanced Configuration - Multiple Tomcat Instances" section. You should also read the "Apache Commons Daemon" section because that section describes (briefly, with documentation references) how Tomcat's Windows services work. Once you understand that, setting-up multiple instances as services should make a whole lot more sense, and you'll be able to do it without a guide of any kind. > Error logged with DEBUG level: > > [2013-09-18 15:26:51] [debug] ( prunsrv.c:1679) [ 48] Commons > Daemon procrun log initialized [2013-09-18 15:26:51] [info] ( > prunsrv.c:1683) [ 48] Commons Daemon procrun (1.0.15.0 64-bit) > started [2013-09-18 15:26:51] [info] ( prunsrv.c:1596) [ 48] > Running 'MCAD_DEV1' Service... [2013-09-18 15:26:51] [debug] ( > prunsrv.c:1374) [ 5632] Inside ServiceMain... [2013-09-18 15:26:51] > [debug] ( prunsrv.c:844 ) [ 5632] reportServiceStatusE: 2, 0, 3000, > 0 [2013-09-18 15:26:51] [info] ( prunsrv.c:1127) [ 5632] Starting > service... [2013-09-18 15:26:51] [debug] ( javajni.c:233 ) [ 5632] > loading jvm 'C:\Java\bin\server\jvm.dll' [2013-09-18 15:26:51] > [debug] ( javajni.c:704 ) [ 3232] Jvm Option[0] > -Dcatalina.home=C:\Apache3 [2013-09-18 15:26:51] [debug] ( > javajni.c:704 ) [ 3232] Jvm Option[1] -Dcatalina.base=C:\Apache3 > [2013-09-18 15:26:51] [debug] ( javajni.c:704 ) [ 3232] Jvm > Option[2] -Djava.io.tmpdir=C:\Apache3\temp [2013-09-18 15:26:51] > [debug] ( javajni.c:704 ) [ 3232] Jvm Option[3] > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > [2013-09-18 15:26:51] [debug] ( javajni.c:704 ) [ 3232] Jvm > Option[4] > -Djava.util.logging.config.file=C:\Apache3\conf\logging.properties > [2013-09-18 15:26:51] [debug] ( javajni.c:704 ) [ 3232] Jvm > Option[5] > -Djava.class.path=C:\Apache3\bin\bootstrap.jar;C:\Apache3\tomcat-juli.jar > > [2013-09-18 15:26:51] [debug] ( javajni.c:704 ) [ 3232] Jvm Option[6] exit > [2013-09-18 15:26:51] [error] ( javajni.c:863 ) [ 3232] FindClass > org/apache/catalina/startup/Boostrap failed [2013-09-18 15:26:51] > [debug] ( javajni.c:964 ) [ 3232] Java Worker thread finished > org/apache/catalina/startup/Boostrap:main with status=3 [2013-09-18 > 15:26:51] [error] ( prunsrv.c:1183) [ 5632] Failed to start Java > [2013-09-18 15:26:51] [error] ( prunsrv.c:1536) [ 5632] > ServiceStart returned 4 [2013-09-18 15:26:51] [debug] ( > prunsrv.c:844 ) [ 5632] reportServiceStatusE: 1, 1066, 0, 4 > [2013-09-18 15:26:51] [info] ( prunsrv.c:1598) [ 48] Run service > finished. [2013-09-18 15:26:51] [info] ( prunsrv.c:1764) [ 48] > Commons Daemon procrun finished > > I cannot find any configuration errors within the server.xml and, > of course, the error is regarding the Bootstrap. What is in C:\Apache3? Is that a complete Tomcat installation, or is that more of a CATALINA_BASE which just has configuration files and your webapp(s)? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJSOxp6AAoJEBzwKT+lPKRY6/wP/0BAgDUjq6PpRC80EAHOMdDE NXV21DQT8z9cuWezaLrxPM08Nr7j6a3zNllrW4hwzGJy2MT5His10YxKOe8O4fnG 65SMKap/NT6/d1f0xPu5eCQxC/L3B4AGXxnaKjBKFjOaHZKQxaWtd2RyStL1OCz9 0gs9Ed0XBu+pGABZ7PQHUfQOzDp7e2ISBwkn3BGcXQUclCCOjzJaiKbVOouhW+q/ y1o8veV6/bojm8/bB9NIrk9X6KD066wY5U2zSTpogfIOPobQJB3wh0swpDipSSMN DXZ82IagvHAtrPAI3KDxFLl6R2inzYpy1uPY5ZSC5n7KaiFRKvNId+EjTnBaWxiU ICPaGYPFUMmNQWuqKJTBANi0IDeFReFJb4VA35pvzkAO5iQCNxDs68ZWcGGS6d7d DKWvZGfTgyJS2j4ix5ntv+DARoqz5gHSXsifx7E00l2LwimVcrq6iuf3EyxUV3Ho R1pzD2zIq5AezOc4XwUmX7xLaM2SD7oobLum+vSRGUeyFJvePmqhxkpV1DwwPIv1 nhmfTmBAYzKe+YYTNittsaIF22I0jp7JCR0uMALrTR69I6L05viYdyjrrdEV0Hf1 WzA+1C+Ddy+Qc2JArCML2LZ+0G5p2UyQsU2tUc1TEDXcfcgzoUycxDfP5U7BteJ3 fKd4TUTxZdxPAEoEMSWl =nMkl -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org