Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 80633 invoked from network); 18 Dec 2000 16:13:30 -0000 Received: from merlin.ilstu.edu (138.87.4.8) by locus.apache.org with SMTP; 18 Dec 2000 16:13:30 -0000 Received: from jwkoh ([138.87.195.178]) by merlin.ilstu.edu (8.9.3/8.9.3) with SMTP id KAA15041 for ; Mon, 18 Dec 2000 10:13:30 -0600 (CST) Message-ID: <001a01c0690c$a0d34be0$b2c3578a@jwkoh> From: "isu:jwkoh" To: References: <3A3E1E04.2DD66FBB@rtci.com> Subject: Common Tomcat Installation Bugs Fix in Windows OS Date: Mon, 18 Dec 2000 10:07:31 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N These are all the errors I encountered and fixed overnight during Tomcat installation. ):-( 1. Error Message, "Out of environment space:" --> right click on startup.bat and click on property and click memory tab and choose initial environment drop-down box and choose 2048 or bigger. It doesn't have to be 2048+ but a bigger number has the better chance of working. You can choose property by clicking the top left corner of the console window. For reference, I saw in a website a guy says - To solve the 'Out of Environment Space' error you must edit CONFIG.SYS (again, the old MS-DOS not so defunct operating system presence). You must add the following line: SHELL=C:\COMMAND.COM /E:8192 /P please replace C:\COMMAND.COM to the correct location if you moved COMMAND.COM to another location. The "/E:8192" allocates 8k to be used by environment variables. The maximum allowed is 32k (35736). The last parameter, "/P", is used to make this COMMAND.COM instance resident in memory and owner of main environment space (from which every process receives a copy). 2. Error Message, "only DOS 8.3 names may be used in TOMCAT_HOME!"--> You are using Windows Explorer folder name find dos name of the folder(= directory) using DIR command in DOS console. If you have long dir name in windows explorer such as "jakarta-tomcat-3.2.1", it will show up as jakart~1 in DOS. Use this 8 character long name. 2a. Use simple folder(=directory) names for JDK(=J2SDK 1.3) and TOMCAT. I used default names "j2sdk1.3" and "jakarta-tomcat-3.2.1" They caused conflicts in *.bat files when starting tomcat. Especially DON'T USE "." in those folder names. USE 8 characters-long name, or find matching DOS DIR name for the windows explorer long folder names. So I uninstalled and reinstalled JDK in the folder,"j2sdk" and tomcat in the folder, "tomcat". 3. Common and Hard-to-find ERROR: Type in SET JAVA_HOME=C:\JDK in the first line after REM lines (REM lines are comment lines so they are ignored in execution)in startup.bat file. ***** VERY IMPORTANT NOT TO HAVE SPACES before and after "=" *****