Hi: I am attempting to post the tomcat installation and application instructions. Pl. feel free to fill-in or correct. The foll. instructions apply for jdk1.2.2 in the C:\ dir. - Download tomcat from this site. - Unzip into a directory (if you use the default, it will be unzipped into C:\jakarta-tomcat - Add the foll. line to your autoexec.bat file: SET JAVA_HOME=C:\jdk1.2.2 SET TOMCAT_HOME=C:\ SET PATH=%PATH%;C:\jakarta-tomcat\bin SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.2\lib\tools.jar (re-start your machine, if needed). If eveything went well, you can start start the tomcat server by typing startup in a dos prompt. Starting it by double-clicking should also work, but I don't prefer it. If the server has started, you can checkout the examples at the foll. URI: http://localhost:8080/ You can find JSP and servlet examples here. To develop your own appli. please go through the instructions at the foll. URI (whether the server is running or not) file:/C:/jakarta-tomcat/doc/appdev/index.html This URI explains in detail how you can develop your own appli.s using tomcat and its ant build tool. Hope this helps. Regds. - satya
Satya, I did what yu have written,but I get bad command error.I have tried other combinations also,and the windows open and close.I just dont know what to do!! Help!! thanks
Sanjeev Verma
Ranch Hand
Joined: Aug 24, 2000
Posts: 86
posted
0
Hi Madhav I am a newbie to this Servlet business. I have may be one of the most stupid Q in the forum. The download link that you have mentioned leads to a site which ultimately leaves a lot to be decided by the downloader. Can you be a bit more specific please. This is the list of files it shows in the final page. WHICH ARE THE ONES THAT I HAVE TO DOWNLOAD TO SET UP MY TOMCAT SERVER AND START TESTINGSERVLETS. Index of /builds/tomcat/release/v3.1/bin Name Last modified Size Description
Apache/1.3.15-dev Server at jakarta.apache.org Port 80 Please help Sanjeev Verma
Chithra Sankar
Greenhorn
Joined: Oct 17, 2000
Posts: 2
posted
0
Hai, Which all files need to be downloaded from /builds/tomcat/release/v3.1/bin to install Tomcat? Thankxxx in advance Chithra
Pragya Prakash
Ranch Hand
Joined: Sep 18, 2000
Posts: 42
posted
0
Download jakarta-tomcat.zip for tomcat installation. Unzip this file & read the readme file located at jakarta-tomcat\doc\readme. Let me know if u r having any other issues. Regards, Pragya
Originally posted by Chithra Sankar: Hai, Which all files need to be downloaded from /builds/tomcat/release/v3.1/bin to install Tomcat? Thankxxx in advance Chithra
Pragya Prakash
Ranch Hand
Joined: Sep 18, 2000
Posts: 42
posted
0
Hi Vishal, Try Tomcat run at the dos prompt. See the error message listed there. And post them here. In all probability, there r issues with classpath & path settings Regards, Pragya
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
Hi.
I tried to install tomcat server as per instructions given but when I type startup at the DOS prompt I get the error "The name specified is not recognized as an internal or external command,operable program or batch file." I have a WinNT 4.0 Option pack and I have set the environment variables JAVA_HOME=d:\jdk1.3 TOMCAT_HOME=d:\tomcat CLASSPATH=.;%JAVA_HOME%\lib\tools.jar PATH=%SystemRoot%\system32;%SystemRoot%;%JAVA_HOME%\bin;%TOMCAT_HOME%\bin Please help
Originally posted by Madhav Lakkapragada: Hi: I am attempting to post the tomcat installation and application instructions. Pl. feel free to fill-in or correct. The foll. instructions apply for jdk1.2.2 in the C:\ dir. - Download tomcat from this site. - Unzip into a directory (if you use the default, it will be unzipped into [b]C:\jakarta-tomcat - Add the foll. line to your autoexec.bat file: SET JAVA_HOME=C:\jdk1.2.2 SET TOMCAT_HOME=C:\ SET PATH=%PATH%;C:\jakarta-tomcat\bin SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.2\lib\tools.jar (re-start your machine, if needed). If eveything went well, you can start start the tomcat server by typing startup in a dos prompt. Starting it by double-clicking should also work, but I don't prefer it. If the server has started, you can checkout the examples at the foll. URI: http://localhost:8080/ You can find JSP and servlet examples here. To develop your own appli. please go through the instructions at the foll. URI (whether the server is running or not) file:/C:/jakarta-tomcat/doc/appdev/index.html This URI explains in detail how you can develop your own appli.s using tomcat and its ant build tool. Hope this helps. Regds. - satya[/B]
Xinbo Cheng
Greenhorn
Joined: Jan 05, 2001
Posts: 15
posted
0
My thanks to madhav, without his message, i would still be in the dark. His method works for Windows 98 after I made one minor change:
original SET TOMCAT_HOME=C:\ changed to SET TOMCAT_HOME=C:\jakarta-tomcat Also note jdk1.2.2 is actually the name of folder conatining jdk1.*\bin, in my case, it is jdk1.2. Another thing you have to do is change the memory allocation for MS-DOS: open up a fresh DOS window, click and hold the MS-DOS icon on the upper-left corner of the DOS window, you'll see a drop-down list,select properties, click on the "memory" tab, then change "auto" to 3072. After all these, restart your computer, open a MS-DOS window, change to the directory where you installed tomcat, in this case, C:\jakarta-tomcat at the prompt type: bin\startup Hopefully, you are all set. Xinbo the following is copied from madhav's message ----------------------------------------------------- The foll. instructions apply for jdk1.2.2 in the C:\ dir. - Download tomcat from this site. - Unzip into a directory (if you use the default, it will be unzipped into C:\jakarta-tomcat - Add the foll. line to your autoexec.bat file: SET JAVA_HOME=C:\jdk1.2.2 SET TOMCAT_HOME=C:\ SET PATH=%PATH%;C:\jakarta-tomcat\bin SET CLASSPATH=%CLASSPATH%;C:\jdk1.2.2\lib\tools.jar (re-start your machine, if needed).
Diskmuncher
Greenhorn
Joined: Jan 05, 2001
Posts: 3
posted
0
Originally posted by Xinbo Cheng: [B]My thanks to madhav, without his message, i would still be in the dark. Man...setting up Tomcat under NT sure seems a heck of a lot easier than Tomcat under Unix...which I've been losing massive amounts of sleep over for two months now. Especially with integrating the new mod_jk (Tomcat 3.2) into Apache and getting mod_rewrite to work so that session tracking works w/ disabled cookies. I finally got it working earlier this week, but it certainly was NOT intuitive...at least to this non-Java programmer
Hi guys, I seem many tomcat people have replied in this topic. I have another problem of configuring IIS for tomcat. Please take the labour to visit my topic placed in this forum only. Subject is : Tomcat with IIS thanx nitin
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
Hi Nitin: I visited your forum and asked a link for IIS, but I never got any responses, I wanted to take a shot at it but not sure where to find it. The only link in your thread is the one explaining the Tomcat and IIS installations details. Hope you get my point. Regds. - satya
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
xinbo: I agree to what you said. I recently upgraded my tomcat to 3.2 and was surprised abt the TOMCAT_HOME settings. Well, there should be something new with every release, you see. Thxs for the update. Regds. - satya
balaji narayanan
Greenhorn
Joined: Nov 29, 2000
Posts: 4
posted
0
hi
Frank Carver
Sheriff
Joined: Jan 07, 1999
Posts: 6913
posted
0
"Diskmuncher", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements. Thanks.