aspose file tools*
The moose likes Servlets and the fly likes getting started? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "getting started?" Watch "getting started?" New topic
Author

getting started?

LiL Kunji
Greenhorn

Joined: Jun 23, 2001
Posts: 26
hi. need a little help finding the problem with the tomcat setup. here are some printouts for:

this is how the path for jdk is set:
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3.1\BIN
and this is what i get when i type "set":
C:\>set
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
CTSYN=C:\WINDOWS
TOMCAT_HOME=C:\tomcat\jakarta-tomcat-3.2.3
JAVA_HOME=C:\JDK1.3.1
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3.1\BIN
windir=C:\WINDOWS
BLASTER=A220 I7 D1 H5 P330 T6
CMDLINE=netstat -a 2
and this is the error when clicking startup.bat in tomcat:
Out of environment space
Out of environment space
Out of environment space
Unable to set CLASSPATH dynamically.
Note: To set the CLASSPATH dynamically on Win9x systems
only DOS 8.3 names may be used in TOMCAT_HOME!
Setting your CLASSPATH statically.
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Out of environment space
Using CLASSPATH:
Starting Tomcat in new window
Bad command or file name

any help would be great thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12788
    
    5
Your problem is a common one with Windows98. It is caused by Tomcat trying to set up long environment strings. The fix is to increase the memory allocation as follows:
Open a MS-DOS prompt window, click on the upper left corner.
open the Properties dialog, click on the memory tab
Set the initial environment to 4096
Thats all you need.
Bill
------------------
author of:
LiL Kunji
Greenhorn

Joined: Jun 23, 2001
Posts: 26
That did the job!!! thank u very much!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting started?