tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bai Shen" <>
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.


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

> > From: Bai Shen []
> > 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
> 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:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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