Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Out of Environment Space in win98

 
Nazmul Huda Sarkar
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers
I found a problem starting J2EE in windows 98...it shows a Out of Environment Space error..can anybody tell me whats going on??? how to set the Environment variable in win98 ??? is there any limitation..
Regards
Nazmul
SCJP
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whats going on???
Out of Environment Space.........thats what is going on.
Bring up the properties of your DOS window by clicking on the right mouse in the title bar.
Then goto the Memory Tab. Increase the Dynamic memory field (I am not sure what this is called. Its the Pull down list on the right top side) to something like 4096 or something. Quit the DOS window and re-start it.
Now you should be fine.
- satya
 
Mee02 Re
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same error with me.
Satya still the same error.
I have downladed tomcat 4.0.2 release builds from
http://jakarta.apache.org/site/binindex.html
o/s=windows 98.
My autoexec.bat
SET JAVA_HOME=C:\JDK1.3.1_02
SET CATALINA_HOME=e:\tomcat\jakarta-tomcat-4.0.2
SET CLASSPATH=%CLASSPATH%;c:\jdk1.3.1_02\lib\tools.jar;c:\jdk1.3.1_02\lib\ext;c:\jdk1.3.1_02\lib;c:\tomcat\jakarta-tomcat-4.0.2\common\lib\servlet.jar
SET PATH=C:\JDK1.3.1_02
when i try to start the tomcat
i get a screen as
Out of environment space
Cannot find
This file is needed to run this program

Any suggestions of what's going worng.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Increase the Dynamic memory field (I am not sure what this is called. Its the Pull down list on the right top side) to something like 4096 or something

Thats actually the "Initial Environment" list value.
If it doesn't work, try rebooting your system.
regds.
- satya
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi - 98 is stil DOS'ish enough that if you edit c:\config.sys, and add a line like:
SHELL=C:\COMMAND.COM /P /E:2048
your terminals will always have 2048 of environment space. Adjust 2048 as needed.
Regards, Guy
 
Axel Janssen
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... or start your tomcat from the dos-box.
Open dos-box. Change to tomcat directory with
cd C:\Tomcat4\bin (or whatever your directory is)
Then try satyas tip.
Then type startup.
You could even write your own startup-batch file. I think.
Set the environment variables (JAVA_HOME=... ).
And last line is startup.bat.

Then your poor windows98 guys dont have to change autoexec.bat.
There are lots of discussions about running tomcat on dos-clone OS (Windows98/95/Me).
By the way: In windows XP Home Edition setup is like in Windows2000.
Axel
[ February 21, 2002: Message edited by: Axel Janssen ]
[ February 21, 2002: Message edited by: Axel Janssen ]
 
Mee02 Re
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got rid of that error .
But there is a new error now .. When i try to start the tomcat in the screen i get as
Using CATALINA_BASE: c:\tomcat\jakarta-tomcat-4.0.2
Using CATALINA_HOME: c:\tomcat\jakarta-tomcat-4.0.2
Using CATALINA_TMPDIR: c:\tomcat\jakarta-tomcat-4.0.2\temp
Using JAVA_HOME: C:\JDK1.3.1_02
Bad command or file name
 
Nazmul Huda Sarkar
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ranchers
thanks all for your nice contribution...
But I didn't face any problem to run Tomacat in win98....I've find this error while running J2EE1.3.1....anyway..I'll do what u guys adviced..today...
Nazmul
SCJP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic