You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rocky YIP <ma...@rockscom.junglelink.co.uk> on 2000/11/21 14:34:01 UTC

Please help!

Sir/Madam,
I recently install tomcat and I try to config it but I fail to run it. 
My case is when I run tomcat\bin\startup, it displays "bad command or file name"
If I run tomcat\bin\tomcat, it displays "Out of environment space".
I install the tomcat in my C:\tomcat and bin is in C:\tomcat\bin
I set the classpath in autoexec.bat as "SET TOMCAT_HOME=C:\TOMCAT;"

Please let me know what to do.
Thank you!
Yours sincerely,
Rocky
211100

Re: Please help!

Posted by Dusan Vujosevic <du...@cadlink.com>.
Boszormenyi Laszlo wrote:

> Hello!
>
> On Tue, 21 Nov 2000, Rocky YIP wrote:
>
> > My case is when I run tomcat\bin\startup, it displays "bad command or file name"
>  Please check if all the paths is set up correctly in that file.
>
> > If I run tomcat\bin\tomcat, it displays "Out of environment space".
>  I can't remember exactly, but there's an entry in the autoexec.bat, which
> defines how many memory should be allocated for the environment variables
> (like buffers or something like that). Set it to a higher value, until it
> will work (I think you have to restart the machine for the change take
> effect). You can find the exact solution on the SUN's java pages
> somewhere.
>
> Sincerely,
>         Laszlo

Select 'Properties', 'Memory' and set the 'Initial environment' to 4096 om that DOS
box. Do it for all scripts in the 'bin' directory. You can also modify your Config.sys
so that MS-DOS boxes default to 4096 (kb). This all applies to Win 9x.

Hope this helps.

Dusan




Re: Please help!

Posted by "michael e. brubaker" <me...@sprintmail.com>.
I solved a similar problem on Win98 by:
1) Clicking on the DOS icon in upper left corner of screen
2) Clicking on "Properties"
3) Clicking on "Memory" tab
4) Changing the "Initial Environment" setting to "2816"

These directions were gleaned from "Core Servlets and Java Server Pages" by Marty
Hall, p 17. and they helped me.
 I remember having to reset them from various windows, such as once for the
startup.bat and then again for shutdown.bat and so on.


Boszormenyi Laszlo wrote:

> Hello!
>
> On Tue, 21 Nov 2000, Rocky YIP wrote:
>
> > My case is when I run tomcat\bin\startup, it displays "bad command or file name"
>  Please check if all the paths is set up correctly in that file.
>
> > If I run tomcat\bin\tomcat, it displays "Out of environment space".
>  I can't remember exactly, but there's an entry in the autoexec.bat, which
> defines how many memory should be allocated for the environment variables
> (like buffers or something like that). Set it to a higher value, until it
> will work (I think you have to restart the machine for the change take
> effect). You can find the exact solution on the SUN's java pages
> somewhere.
>
> Sincerely,
>         Laszlo


Re: Please help!

Posted by Boszormenyi Laszlo <bo...@queen.iit.uni-miskolc.hu>.
Hello!

On Tue, 21 Nov 2000, Rocky YIP wrote:

> My case is when I run tomcat\bin\startup, it displays "bad command or file name"
 Please check if all the paths is set up correctly in that file.

> If I run tomcat\bin\tomcat, it displays "Out of environment space".
 I can't remember exactly, but there's an entry in the autoexec.bat, which
defines how many memory should be allocated for the environment variables
(like buffers or something like that). Set it to a higher value, until it
will work (I think you have to restart the machine for the change take
effect). You can find the exact solution on the SUN's java pages
somewhere.

Sincerely,
	Laszlo