Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
1.5 Installation and Setup
17
DOS Memory Setting
If you start Tomcat or the JSWDK server from Windows 95 or 98, you proba 
bly have to modify the amount of memory DOS allocates for environment
variables. To do this, start a fresh DOS window, click on the MS DOS icon in
the top left corner of the window, and select 
Properties
. From there,
choose the 
Memory
 tab, go to the 
Initial Environment
 setting, and change
the value from 
Auto
 to 2816. This configuration only needs to be done once.
Tomcat 3.0 CR/LF Settings
The first releases of Tomcat suffered from a serious problem: the text files
were saved in Unix format (where the end of line is marked with a linefeed),
not Windows format (where the end of the line is marked with a carriage
return/linefeed pair). As a result, the startup and shutdown scripts failed on
Windows. You can determine if your version suffers from this problem by
opening 
install_dir/startup.bat
 in Notepad; if it appears normal you
have a patched version. If the file appears to be one long jumbled line, then
quit Notepad and open and immediately save the following files using Word 
pad (not Notepad):
install_dir
/
startup.bat
install_dir
/
tomcat.bat
install_dir
/
shutdown.bat
install_dir
/
tomcatEnv.bat
install_dir
/
webpages/WEB INF/web.xml
install_dir
/
examples/WEB INF/web.xml
Start the Server
To start one of the  real  Web servers, check its documentation. In many
cases, starting it involves executing a command called 
httpd
 either from the
command line or by instructing the operating system to do so automatically
when the system is first booted. 
With Tomcat 3.0, you start the server by executing a script called 
startup
in the main installation directory. With the JSWDK 1.0.1, you execute a simi 
lar script called 
startserver
. 
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

jsp web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved