Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
| Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 8th, 2003, 02:26 PM
Registered User
 
Join Date: Aug 2003
Location: SSF, CA, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't Get Tomcat 5 to Run on Win 98

Starting Tomcat from MSDOS window get Out of environment space error
What should I do to correct this?

This is what I get trying to run Tomcat
c:\>cd %CATALINA_HOME%
c:\Tomcat5>cd bin
c:\Tomcat5\bin>startup
Out of environment space
Can not find
This file is needed to run this program
c:\Tomcat5\bin>


I have Window 98, so I can not set the environment variables
as instructed in the book (Beginning JSP 2.0) on page 13 for Window 2000. Instead I updated my autoexec.bat files to include the
environment variables.

This is what I did:
1) Install Java (j2sdk1.4.0_01)

2) Install Tomcat 5 from Milestone Builds
(jakarta-tomcat-5.0.5.exe)

3) change autoexec.bat which looks like this

@C:\PROGRA~1\NORTON~1\NAVDX.EXE /Startup
@C:\PROGRA~1\WILDFI~1\GOBACK\GB_PROG.EXE /i C:999
SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=C:\SBPCI
REM [Header]
@ECHO OFF

REM [CD-ROM Drive]

REM [Miscellaneous]

REM [Display]

set ROOTDIR=C:/
set HOME=C:/
set TMPDIR=c:/windows/TEMP
set SHELL=C:/mksnt/sh.exe
set LOGNAME=mks
set JAVA_HOME=C:\j2sdk1.4.0_01
set CATALINA_HOME=C:\Tomcat5
set CLASSPATH=C:\Tomcat5\common\lib\servlet-api.jar;.

PATH
C:\WINDOWS;C:\WINDOWS\COMMAND;C:\j2sdk1.4.0_01\bin ;C:\Tomcat5\bin;C:\MKSNT;.
  #2 (permalink)  
Old August 8th, 2003, 04:34 PM
Authorized User
 
Join Date: Aug 2003
Location: Coventry, , United Kingdom.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Create a shortcut to the batch file. Right click on the shortcut, choose Properties. Go to the Memory tab and crank up your environment size.

 - Peter



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report with win 98 os Arunachalam VB How-To 1 May 22nd, 2006 11:44 PM
deploying VB 6 pck with crystal rep 11 in Win 98 shantanu86 Pro VB 6 0 March 16th, 2006 09:49 PM
VB 6 and Crystal report 11 deployed on win 98 shantanu86 VB Components 0 March 16th, 2006 10:11 AM
Access is denied - run on Win Server 2003 jackchua BOOK: ASP.NET Website Programming Problem-Design-Solution 3 April 15th, 2004 05:50 PM
Win '98 vs. Win XP rgerald Access VBA 0 February 19th, 2004 12:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.