This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi all Thanks for your (mike/nasser) help I am able to run jsps and servlets in tomcat4.0.1 Steps involved are 1.download tomcat4.0.1 from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/ 2.download and install jdk (version 1.2 or later) from http://java.sun.com/j2se/ 3.set CATALINA_HOME=<tomcat install path> example set CATALINA_HOME=C:\JAKARTA-TOMCAT-4.0.1 Note this should be set in autoexec.bat. 4.set JAVA_HOME=<yoyr jdk install path> example set JAVA_HOME=C:\JDK1.3 Note this should be set in autoexec.bat. 5.Check you have set path and classpath variables for jdk instalation ie path variable should contain c:\jdk<ver>\bin; and classpath should contain .;c:\jdk<ver>\lib; 6.start tomcat by double clicking startup.bat located in bin directory of tomcat install directory 7.To check succesful start up open yr favourite browser and type in addressbar http://localhost:8080 you should get tomcat index page loaded and try out jsp and servlet examples. 8.Shutdown tomcat by double clicking shutdown.bat in bin dir. 9.NOTE if you get out of environment space plesae do the following right click on startup.bat choose properties click on memory tab set initialenvironment to 4096. you will see a "shortcut startup" created in the bin directory use this shortcut for starting tomcat 10 for shutdown also follow the above step Thanks all mohan
Hi Mohan, I installed Tomcat 4.0.1 following your path, but when I double click startup.bat in the bin subdirectory, to start Tomcat, I got DOS message: "bad command or file name".These are the lines from AUTOEXEC.BAT file: PATH=C:\WINDOWS;C:\JDK1.3\BIN;C:\JDK1.3\LIB SET CATALINA_HOME=C:\JAKARTA-TOMCAT-4.0.1 SET JAVA_HOME=C:\JDK1.3 Can you help me? Thanks. Berko
Joined: Dec 02, 2001
hi Berko Dimitrijevic sorry for delay in reply check your autoexec.bat contains following lines apart from your own other entries for running other applications such as javamail etc PATH=C:\WINDOWS;C:\WINDOWS\COMMAND; set classpath=.;c:\jdk1.3\lib;c:\jakarta-tomcat-4.0.1\lib; SET JAVA_HOME=C:\JDK1.3 SET CATALINA_HOME=C:\JAKARTA-TOMCAT-4.0.1 please ensure that you set JAVA_HOME and CATALINA_HOME in autoexec.bat corresponds to your installation of these in your machine i have installed jdk1.3 and tomcat as C:\JDK1.3 and C:\JAKARTA-TOMCAT-4.0.1 and either restart the system or run autoexec on command line I you get out of environment space on start up do the following right click on startup.bat in bin dir and choose properties click on memory tab and set initial environment to 4096 you will notice windows create shortcut msdos program startup in the bin directory itself start tomcat bu double clicking this icon instead of startup.bat. pl do the same for shutdown.bat also hope this helps mohan
Joined: Dec 04, 2001
Thanks Mohan, I fixed that problem. Now, I have a new one. See my post Tomcat & Status Error 404 Berko
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com