Or fogotten option #3 - increase your environment size.

In your config.sys file (C:\config.sys) modify or add this:
shell=command.com /e:(a number)

For example, to make your environment size 1kb, use this
shell=command.com /e:1024

The original DOS had a default environment size of 256 bytes.  Additionally,
the value typed needed to be between 160 and 32768.  This may or may not
still apply to Win9x...

Whatever you type is rounded up to the next even 16 bytes, so don't be
surprised if the value is a bit higher than what you type.

<=======================>
Chris Parker
Programmer/Analyst
Health Care Services Division
California Youth Authority
----- Original Message -----
From: Turner, John <[EMAIL PROTECTED]>
To: 'Tomcat Users List' <[EMAIL PROTECTED]>
Sent: Wednesday, November 13, 2002 9:25 AM
Subject: RE: SV: tomcat as a service


>
> You're still going to need to resolve your environment space issues, even
if
> you have to set the variables in autoexec.bat.
>
> Your environment space is too big.  Either delete the extra Tomcat
settings
> you have (you only need JAVA_HOME and CATALINA_HOME), or try and condense
> things like your PATH.
>
> John
>
> > -----Original Message-----
> > From: tmilad [mailto:tmilad@;rogers.com]
> > Sent: Wednesday, November 13, 2002 12:18 PM
> > To: Tomcat Users List
> > Subject: Re: SV: tomcat as a service
> >
> >
> > John, but I am running windows 98 it doesn't have this
> > setting option what
> > you are taking about.
> >
> > Thanks,
> > Tomislav
> >
> > ----- Original Message -----
> > From: "Turner, John" <[EMAIL PROTECTED]>
> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> > Sent: Wednesday, November 13, 2002 12:12 PM
> > Subject: RE: SV: tomcat as a service
> >
> >
> > >
> > > "Out of environment space" means you are setting too many
> > environment
> > > variables, or the values of the environment variables you
> > are setting are
> > > too large.  Windows has limited space for environment variables.
> > >
> > > That said, you only need to set two environment variables,
> > regardless of
> > > platform:  JAVA_HOME and CATALINA_HOME.  Tomcat will figure
> > out the rest
> > > from there.
> > >
> > > On Windows, the best place to set these is not in
> > autoexec.bat, but via
> > the
> > > Control Panel.
> > >
> > > For example, on Windows 2000 Pro:
> > >
> > > Start -> Settings -> Control Panel -> Advanced ->
> > Environment Variables
> > >
> > > You want to set them at the System or "All Users" level,
> > not just for an
> > > individual user account.
> > >
> > > John
> > >
> > >
> > > > -----Original Message-----
> > > > From: tmilad [mailto:tmilad@;rogers.com]
> > > > Sent: Wednesday, November 13, 2002 12:06 PM
> > > > To: Tomcat Users List
> > > > Subject: Re: SV: tomcat as a service
> > > >
> > > >
> > > > Hi Chris,
> > > >
> > > > I figured out that my startup.bat and catalina.bat don't work
> > > > properly when
> > > > I start statrup from DOS. It complains of the missing
> > env. variables.
> > > > Analyzing these two scripts I sow that set command doesn't
> > > > work in DOS as a
> > > > windows program
> > > > only in system mode (autoexec.bat).
> > > > This is startup logout:
> > > >
> > > > C:\jakarta-tomcat-4.1.12\bin>startup>startup.out
> > > > Out of environment space
> > > > Out of environment space
> > > > Out of environment space
> > > > Out of environment space
> > > > Out of environment space
> > > > Out of environment space
> > > > Out of environment space
> > > > // I set these variables in autoexec.bat
> > > > Using CATALINA_BASE:   C:\jakarta-tomcat-4.1.12
> > > > Using CATALINA_HOME:   C:\jakarta-tomcat-4.1.12
> > > > Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.12\temp
> > > > Using JAVA_HOME:       C:\jdk1.2.1
> > > > Out of environment space
> > > > Out of environment space
> > > > Out of environment space
> > > > Bad command or file name
> > > >
> > > >
> > > > Chris I am leaving now and will be out until 11 EST, let me
> > > > know what is
> > > > best time contact you again.
> > > >
> > > > Thanks,
> > > > Tomislav
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Chris Daly" <[EMAIL PROTECTED]>
> > > > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, November 13, 2002 10:52 AM
> > > > Subject: Re: SV: tomcat as a service
> > > >
> > > >
> > > > > could you give me a bit more detail ? cheers.
> > > > >
> > > > > i'm using win 2000/nt
> > > > > j2sdk1.4
> > > > > tom 4.1.12 LE
> > > > >
> > > > > At 16:49 13/11/2002 +0100, you wrote:
> > > > >
> > > > > >On win32 you get an option for doing this if you
> > install the .exe
> > > > > >
> > > > > >
> > > > > >-----Oprindelig meddelelse-----
> > > > > >Fra: Chris Daly
> > > > [<mailto:C.daly@;cancer.org.uk>mailto:C.daly@;cancer.org.uk]
> > > > > >Sendt: 13. november 2002 16:44
> > > > > >Til: [EMAIL PROTECTED]
> > > > > >Emne: tomcat as a service
> > > > > >
> > > > > >hi
> > > > > >
> > > > > >i wish to run tomact as a service though am currently
> > > > running it as a
> > > > stand
> > > > > >alone.  has anyone got the details handy or can point me i
> > > > the direction
> > > > of
> > > > > >good tutorials / shortcuts
> > > > > >
> > > > > >cheers
> > > > > >
> > > > > >chris
> > > > > >
> > > > > >--
> > > > > >To unsubscribe,
> > > > > >e-mail:
> > > > >
> > > > ><<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>mailto:to
> > > mcat-user-unsu
> > > [EMAIL PROTECTED]>
> > > > >
> > > > >For additional commands, e-mail:
> > > >
> > >
> > ><<mailto:tomcat-user-help@;jakarta.apache.org>mailto:tomcat-us
> er-help@jakart
> > a.apache.org>
> > > >
> > > >--
> > > >To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > >For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@;jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to