You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mike Angel <ch...@usa.net> on 2000/07/11 16:40:11 UTC
installing Tomcat 3.1 on win98
Hi, I downloaded and unzipped Tomcat 3.1. However, I get the message "Bad
command or file name" whenever I use the command "startup." The funny thing
is, it works fine on Window NT 4.0. Any idea? Sorry if this question is
asked before.
Thanks,
Hoi
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
RE: installing Tomcat 3.1 on win98
Posted by Ren� Salle <re...@wanadoo.fr>.
> Hi, I downloaded and unzipped Tomcat 3.1. However, I get the message "Bad
> command or file name" whenever I use the command "startup." The
> funny thing
> is, it works fine on Window NT 4.0.
This is due to the format of batch files coming with Tomcat. They uses unix
type end of lines (easy to see that by opening it with notepad, or some hex.
dump). You can get rid of theses problems by opening your .bat files with
wordpad.exe (notepad.exe does not correct this), adding some space at the
end of the first line (to be sure that wordpad will indeed write back the
file on disk) and closing wordpad.
You need to do that for all .bat files (they all get called at some time).
Many others text editors can be used for this 'conversion', among them
UltraEdit.
Re: installing Tomcat 3.1 on win98
Posted by Luc Saint-Elie <lu...@interpasnet.com>.
Open the *.bat file with a text editor and save them as... it a line break
problem
At 10:40 11/07/00 -0400, Mike Angel wrote:
>Hi, I downloaded and unzipped Tomcat 3.1. However, I get the message "Bad
>command or file name" whenever I use the command "startup." The funny thing
>is, it works fine on Window NT 4.0. Any idea? Sorry if this question is
>asked before.
>
>Thanks,
>Hoi
+------------------------------------------------+
| Luc Saint-Elie |
| email : luc@interpasnet.com |
+------------------------------------------------+
| Java Server Side Open Source technologies |
| http://www.interpasnet.com/JSS |
+------------------------------------------------+