Hi all, I am beginning to learn JSP and downloaded Tomcat 3.2(jakarta-tomcat-3.2.zip). Before installing, could anybody tell me what else I need (I'm using Windows 98 ) to successfully instal Tomcat. Under the Installations instructions in the 'Professional JSP' Wrox press book, he says u have to install Apache binaries, and install mod_jserv. I am finding difficult to understand, how to go about installing and what all to install. Could anybody give me the appropriate links to download the files and also installation instructions links. Thanks in advance.
tomcat is all you need! just set your classpath and run startup in the bin directory and your set. ------------------ I hope its helps, feel free to email me firstname.lastname@example.org
Joined: Nov 08, 2000
Hi Noah Carroll, I have set the classpaths; when I run the startup.bat file, a new window opens and closes in a flash. When I run the tomcat, it is giving error, says, FATAL: java.net.BindException: address in use : Bind Is this because I also have Java Web Server installed on my machine? Or its something else.
yes, the bind exception is indicating that JWS and Tomcat are trying to bind to the same port. The simplest thing to do to fix this is to change the port which either one uses. And by the way, please note that The Java Ranch has a naming policy, described here and "Krishniah" is not a valid name. Please choose one which meets the requirements. Thanks.
Frank Carver Could you please tell me, how to change the port. Frank Carver, my name is B.Krishniah (it is exactly the same way my name is printed in all my certificated too), and everybody address me as Krishna, cos its difficult to pronounce my correct name. Should I register with the initials? Thanks.
If you r still having problems try this procedure Use the following minimal procedure to get Jakarta-Tomcat up and running on Windows NT. Note: Substitute your install directory names for directory constructs that look like "d:\xxxx_root\" Download and install the following software. Java Software Development Kit 1.3 - http://java.sun.com/j2se/1.3/download-windows.html Apache Web Server 3.1.12 - http://www.apache.org/dist/binaries/win32/ (Win32 version) Jakarta-Tomcat 3.1 - http://jakarta.apache.org/downloads/binindex.html ApacheModuleJserv.dll.zip - http://jakarta.apache.org/builds/tomcat/release/v3.1/bin/win32/i386/ JSDK 1.3: First install the 1.3 Java development kit. APACHE WEB Server: Installing Apache was straight forward using the installation instructions supplied. My first attempt at starting Apache Web Server failed because of a port number conflict on which the standard httpd server listens. The default Apache port number is 80. Changes made to "d:\apache_root\conf\httpd.conf" Changed the port number to port 8040 or some other unused TCP port number. Be sure to use this port number when sending an HTTP request to Apache. Install Apache as an NT Service and start it: Open an MS-DOS Window cd d:\apache_root apache -i -n "Apache 3.1.12" net start "Apache 3.1.12 Verify Apache is up and running: Start your Web Browser and enter http://localhost:8040 Jakarta-Tomcat: Installed Jakarta-Tomcat using the installation instruction. Tomcat has its own HTTP server which listens on port 8080 (default value). Use this port number when you want to send an HTTP request directly to Tomcat. If you need to change the default port number used by Tomcat. Look in server.xml Change the port number in <ContextManager port="8080" hostName="" inet=""> Per the Tomcat install instructions download ApacheModuleJserv.dll and copy it to directory "d:\apache_root\modules\" Create your own copy of "tomcat_apache.conf" because this file gets overwritten everytime Tomcat is started. Copy "d:\tomcat_root\conf\tomcat_apache.conf" to "my_tomcat_apache.conf". Changed the Apache "httpd.conf" file. Added the include directive at the end of Apache configuration file "httpd.conf": include d:/tomcat_root/conf/my_tomcat_apache.conf Setup and verify the following Windows System environment variables: JAVA_HOME=d:\jsdk_root TOMCAT_HOME=d:\tomcat_root PATH=%JAVA_HOME%\bin Start Tomcat: Start a new MS-DOS Window cd d:\tomcat_root\bin startup Restart Apache Web Server: From an MS-DOS Window net stop "Apache 3.1.12" net start "Apache 3.1.12" Verify Tomcat HTTP service is running: From your Web Browser enter address: http://localhost:8080
Thank you so much for your time Edmond Howard. I really appriciate. I have one more small question, I am using WIndows 98. SHould I follow the same instructions.... Thank you very much once again.
Joined: Jan 07, 1999
Feel free to login with your full name (we have plenty of people here with long names), or a reasonable abbreviation. The name rules are pretty simple, two or three words separated by space(s), each more than one character. For people who only have one name, we recommend choosing a second one based on your home town, traditional occupation, distinctive features or whatever. To change your name, just login with a new name, fill in your details and stop using the old account. I hope this helps.