You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Goykhman, Boris" <Bo...@amex.com> on 2006/12/29 19:07:23 UTC

problem starting Tomcat

Hi

 

I have just installed Tomcat 5.0.28 on my XP machine and I am having
trouble starting it.

Here's the output that Catalina.bat produces:

 

Using CATALINA_BASE:   C:\jakarta-tomcat-5.0.28

Using CATALINA_HOME:   C:\jakarta-tomcat-5.0.28

Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp

Using JAVA_HOME:       C:\j2sdk1.4.2_11

 

 "C:\j2sdk1.4.2_11\bin\java"
-Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\c

ommon\endorsed" -classpath
"C:\j2sdk1.4.2_11\lib\tools.jar;C:\jakarta-tomcat-5.0

.28\bin\bootstrap.jar" -Dcatalina.base="C:\jakarta-tomcat-5.0.28"
-Dcatalina.hom

e="C:\jakarta-tomcat-5.0.28"
-Djava.io.tmpdir="C:\jakarta-tomcat-5.0.28\temp" or

g.apache.catalina.startup.Bootstrap  start

 

java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina

        at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas

sLoader.java:854)

        at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas

sLoader.java:721)

        at
org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:205)

        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)

 

 

Because of corporate user restrictions, I cannot modify Path environment
variable.  It should not matter though because it's trying to use java
executable directly from JDK installation folder.  It looks like it
cannot find C:\jakarta-tomcat-5.0.28 folder even though that's where
Tomcat files are.  I would appreciate any help. 

 

Thanks



*The information contained in this e-mail and any attachments may be confidential and/or proprietary. If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and permanently delete the e-mail and any attachments immediately.

RE: problem starting Tomcat

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Steve R Burrus [mailto:burrus1@swbell.net] 
> Subject: Re: problem starting Tomcat
> 
> well boris what with this java exception in the server error 
> msg. : "java.lang.ClassNotFoundException" you must not have 
> placed/put the 2 jar files, servlet-api.jar and jsp-api.jar 
> into your system's classpath yet.

Nor should he do so.  Tomcat uses its own classloaders, not the JVM
system class loader, to find and initialize all classes other than those
in bootstrap.jar.  If you don't know how Tomcat class loading works,
please review the doc:
http://tomcat.apache.org/tomcat-5.0-doc/class-loader-howto.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


Re: problem starting Tomcat

Posted by Steve R Burrus <bu...@swbell.net>.
well boris what with this java exception in the server error msg. : "java.lang.ClassNotFoundException" you must not have placed/put the 2 jar files, servlet-api.jar and jsp-api.jar into your system's classpath yet.


Goykhman, Boris wrote:

>Hi
>
> 
>
>I have just installed Tomcat 5.0.28 on my XP machine and I am having
>trouble starting it.
>
>Here's the output that Catalina.bat produces:
>
> 
>
>Using CATALINA_BASE:   C:\jakarta-tomcat-5.0.28
>
>Using CATALINA_HOME:   C:\jakarta-tomcat-5.0.28
>
>Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
>
>Using JAVA_HOME:       C:\j2sdk1.4.2_11
>
> 
>
> "C:\j2sdk1.4.2_11\bin\java"
>-Djava.endorsed.dirs="C:\jakarta-tomcat-5.0.28\c
>
>ommon\endorsed" -classpath
>"C:\j2sdk1.4.2_11\lib\tools.jar;C:\jakarta-tomcat-5.0
>
>.28\bin\bootstrap.jar" -Dcatalina.base="C:\jakarta-tomcat-5.0.28"
>-Dcatalina.hom
>
>e="C:\jakarta-tomcat-5.0.28"
>-Djava.io.tmpdir="C:\jakarta-tomcat-5.0.28\temp" or
>
>g.apache.catalina.startup.Bootstrap  start
>
> 
>
>java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
>
>        at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
>
>sLoader.java:854)
>
>        at
>org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
>
>sLoader.java:721)
>
>        at
>org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:205)
>
>        at
>org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
>
> 
>
> 
>
>Because of corporate user restrictions, I cannot modify Path environment
>variable.  It should not matter though because it's trying to use java
>executable directly from JDK installation folder.  It looks like it
>cannot find C:\jakarta-tomcat-5.0.28 folder even though that's where
>Tomcat files are.  I would appreciate any help. 
>
> 
>
>Thanks
>
>
>
>*The information contained in this e-mail and any attachments may be confidential and/or proprietary. If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and permanently delete the e-mail and any attachments immediately.
>
>  
>



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


RE: problem starting Tomcat

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Goykhman, Boris [mailto:Boris.Goykhman@amex.com] 
> Subject: problem starting Tomcat
> 
> I have just installed Tomcat 5.0.28 on my XP machine and I am having
> trouble starting it.

Why are you using such an old level rather than the current 5.5.20?

> java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina

This indicates that the installation was incorrect.  Could be an access
permissions problem, or the necessary files were not copied to the
proper locations.  The above class should be located in:

C:\jakarta-tomcat-5.0.28\server\lib\catalina.jar

Is it?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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