You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by PELL Scott H <Sc...@odot.state.or.us> on 2013/09/19 17:03:17 UTC

Tomcat 7.0.42 startup failure: FindClass org/apache/catalina/startup/Boostrap failed

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

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.

Any ideas what would be causing the error?


Scott Pell
ODOT Information Services | Enterprise Technology - Server Application Infrastructure Team | Senior Web Systems Analyst
Office - 503-986-5373 | Cell - 503-931-1241


Re: Tomcat 7.0.42 startup failure: FindClass org/apache/catalina/startup/Boostrap failed

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Scott,

On 9/19/13 12:25 PM, PELL Scott H wrote:
> Thanks for the quick reply.  Am uninstalling it all and starting 
> over.  We have an extensive installation of ColdFusion 9 and Java 
> running on JRun4 to provide line-of-business application isolation 
> for security, etc.; it includes about 90 instances as well as
> nearly 80 web sites.  As a result, I need to be able cluster
> multiple instances for session-replication and loading-balance;
> that allows me to stop/start instances for maintenance or
> troubleshooting without bringing business to a halt.  And to
> complicate it all, we are running a multi-tiered (ColdFusion/Java
> 'distributed mode') configuration with remote web server clusters
> accessing the ColdFusion/JRun clusters.  As you can see, I have a
> lot of details to deal with in the migration. :)

No problem. It's nice to know there are some competent system
administrators out there who know how do a complicated deployment
properly :)

> Will start over and see how it goes.  And yes, I have read the 
> RUNNING.txt and still have had problems; hence, the uninstall and 
> start over.

Make sure you can get one Tomcat instance running as a service with
split home/base and then you can just duplicate everything each time.
Remember you'll obviously need separate CATALINA_BASE (for port
numbers) and Windows Service names for each instance.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSOzP6AAoJEBzwKT+lPKRYvOAQAKa042pXOvsVz71qSglFbKFa
eZaKgywF8pU6idWY4pPRW136WtZgwQTwLGcZJisHeOTPjjSiPfXSWWL8GheRJPxh
2/XzfWYUQF/4DoWvDtmcOBSFOF3qfK2lq0J6O07ckGSZPj8dbF5jHCuzj33afK6R
QVxyRbfd60/OA3PYwYBPaIDHFmT+HBPBl+adoign3/rgy8h4MV14XjYRL1I7O+w7
5VB5rtAMDB0K4dElu0db3SB/8+By3g5NmHBVfp3jMi5YZsSzCfGQ0PZnZ2/4o+hc
NaXPfA5PpW4o/zWZj56CbYRS++kVSNVCkM9VSlgbQOTyKENJMwjn6QBHU18NHCR4
6/HpxqHcRlbZisN3ycR8ROjvNfumMPuWtT3hWstjcHExh0UHXlmfsujnjkXGZ/Rr
B6i/IlOXJCVb3Wyu+F3DkJDR/ddsoiUVttrBG4UxEsJY3LqxeNcKm4WB/lOdjk8w
RdbFfQD1QXTBFKHVVyVTvmfRea2hQmnVTx7iGC34pMWkkH244MsmMWGoCX9Xvva5
gz276quJFsVCG9EgT0c2sKwRKpP52LVuJ+rNdLck3I9dLdsQ7kPI9AsdBP6vyYcn
F5006Vv54D0C5X+ZEjY3OztHTAy5VG66FqFqlnb0puVTt+fgfBgUp/R8dKVveNEd
SyVzv6rfd518xW8xuAYC
=ch+5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 7.0.42 startup failure: FindClass org/apache/catalina/startup/Boostrap failed

Posted by PELL Scott H <Sc...@odot.state.or.us>.
Chris,
Thanks for the quick reply.  Am uninstalling it all and starting over.  We have an extensive installation of ColdFusion 9 and Java running on JRun4 to provide line-of-business application isolation for security, etc.; it includes about 90 instances as well as nearly 80 web sites.  As a result, I need to be able cluster multiple instances for session-replication and loading-balance; that allows me to stop/start instances for maintenance or troubleshooting without bringing business to a halt.  And to complicate it all, we are running a multi-tiered (ColdFusion/Java 'distributed mode') configuration with remote web server clusters accessing the ColdFusion/JRun clusters.  As you can see, I have a lot of details to deal with in the migration. :)

Will start over and see how it goes.  And yes, I have read the RUNNING.txt and still have had problems; hence, the uninstall and start over.

Thanks,
Scott

-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net] 
Sent: Thursday, September 19, 2013 8:39 AM
To: Tomcat Users List
Subject: Re: Tomcat 7.0.42 startup failure: FindClass org/apache/catalina/startup/Boostrap failed

-----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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 7.0.42 startup failure: FindClass org/apache/catalina/startup/Boostrap failed

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org