You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Martin Gainty <mg...@hotmail.com> on 2007/08/01 14:46:48 UTC

Re: Vista woes....

Sometimes the environment is so mucked I start tomcat
$CATALINA_HOME/bin/java -jar bootstrap.jar
I agree with chuck that spurious jars in your CLASSPATH will obfuscate your 
objective
I find its helpful to understand when your jars get loaded (more 
specifically by which CLASSPATH)
http://tomcat.apache.org/tomcat-5.5-doc/printer/class-loader-howto.html
FWIW
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Caldarale, Charles R" <Ch...@unisys.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Sunday, July 29, 2007 11:52 PM
Subject: RE: Vista woes....


> From: news [mailto:news@sea.gmane.org] On Behalf Of maya
> Subject: Vista woes....
>
> for Tomcat I have set CLASSPATH thus:
> set
> CLASSPATH=.;apache-tomcat-5.5.23\common\lib\servlet-api.jar;ap
> ache-tomcat-5.5.23\common\lib\jsp-api.jar

Get rid of the CLASSPATH - it need not and should not be set for running
Tomcat.  What you have above will certainly cause problems, since
critical jars are now visible to multiple classloaders.

If you have APR installed (bin\tcnative-1.dll), remove it for initial
testing.

Are you trying to run Tomcat as a service or via bin\startup.bat?  (If
you have no startup.bat, get the .zip download and install that instead
of the .exe version.)  Debug with the scripts first, before attempting
to run Tomcat as a service.  When run from the script, what do the
command prompt windows show?  What's in Tomcat's logs directory?

 - 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



---------------------------------------------------------------------
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: Vista woes....

Posted by Steve Ochani <oc...@ncc.edu>.
Date sent:      	Wed, 01 Aug 2007 08:46:48 -0400
From:           	Martin Gainty <mg...@hotmail.com>
Subject:        	Re: Vista woes....
To:             	Tomcat Users List <us...@tomcat.apache.org>
Send reply to:  	Tomcat Users List <us...@tomcat.apache.org>
Send reply to:  	Martin Gainty <mg...@hotmail.com>

> Sometimes the environment is so mucked I start tomcat
> $CATALINA_HOME/bin/java -jar bootstrap.jar

Why would $CATALINA_HOME/bin/ have java in it?

Did you mean JAVA_HOME ?





> I agree with chuck that spurious jars in your CLASSPATH will obfuscate
> your objective I find its helpful to understand when your jars get
> loaded (more specifically by which CLASSPATH)
> http://tomcat.apache.org/tomcat-5.5-doc/printer/class-loader-howto.htm
> l FWIW Martin-- This email message and any files transmitted with it
> contain confidential information intended only for the person(s) to
> whom this email message is addressed.  If you have received this email
> message in error, please notify the sender immediately by telephone or
> email and destroy the original message without making a copy.  Thank
> you.
> 
> ----- Original Message ----- 
> From: "Caldarale, Charles R" <Ch...@unisys.com>
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Sent: Sunday, July 29, 2007 11:52 PM
> Subject: RE: Vista woes....
> 
> 
> > From: news [mailto:news@sea.gmane.org] On Behalf Of maya
> > Subject: Vista woes....
> >
> > for Tomcat I have set CLASSPATH thus:
> > set
> > CLASSPATH=.;apache-tomcat-5.5.23\common\lib\servlet-api.jar;ap
> > ache-tomcat-5.5.23\common\lib\jsp-api.jar
> 
> Get rid of the CLASSPATH - it need not and should not be set for
> running Tomcat.  What you have above will certainly cause problems,
> since critical jars are now visible to multiple classloaders.
> 
> If you have APR installed (bin\tcnative-1.dll), remove it for initial
> testing.
> 
> Are you trying to run Tomcat as a service or via bin\startup.bat?  (If
> you have no startup.bat, get the .zip download and install that
> instead of the .exe version.)  Debug with the scripts first, before
> attempting to run Tomcat as a service.  When run from the script, what
> do the command prompt windows show?  What's in Tomcat's logs
> directory?
> 
>  - 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
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 



---------------------------------------------------------------------
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