tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bai Shen" <baishen.li...@gmail.com>
Subject Re: Tomcat stops with error after calling setclasspath.bat
Date Wed, 01 Oct 2008 15:50:44 GMT
Nope, doing it all in Windows using notepad.

And I've narrowed down the problem.  2k/2k3 doesn't like the following line.

set JAVA_HOME=

If I don't have a JAVA_HOME variable set, everything works fine.  However, I
can't guarantee that the JAVA_HOME variable won't be set on every machine.
So I need some way to unset it if it's not set.

Also, is there a way to differentiate between XP/2k/2k3?  They all return
OS=Windows_NT.  For the time being, I'd like to put in an if statement on
that set so it only runs in XP.

On Wed, Oct 1, 2008 at 11:27 AM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Bai Shen [mailto:baishen.lists@gmail.com]
> > Subject: Re: Tomcat stops with error after calling setclasspath.bat
> >
> > No effect.
>
> Are you editing your .bat files in UNIX format, by any chance?  The Windows
> shell might not like missing carriage returns.
>
>  - 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message