1 / 5

Installing Tomcat on Windows

Installing Tomcat on Windows. You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations. You can nevertheless install Tomcat, using the UNIX style commands suggested earlier, if you have Cygwin running ( www.cygwin.com ).

madra
Download Presentation

Installing Tomcat on Windows

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Installing Tomcat on Windows • You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations. • You can nevertheless install Tomcat, using the UNIX style commands suggested earlier, if you have Cygwin running (www.cygwin.com). • Alternatively, uninstall JSDK 1.4 beta (if you have installed it), and install JDK 1.3 instead. dbc@csit.fsu.edu

  2. Installing JDK 1.3 on Windows • If your computer has an administrator account, log in as such. • Point Internet Explorer at http://java.sun.com/j2se/1.3 • Follow the “Microsoft Windows” link. Click “continue”, and accept the license. • Click, e.g., “FTP download”. A File Download dialog will probably pop up. Select “Run this program from its current location” if you have the option. • Otherwise, or if you want to install on a different machine, save the .exe to a file, transfer it by suitable media (34M) to the target machine, and run it there. • Click through the installation shield. Accept all defaults unless you have a good reason not to. The software should now be installed. • Add C:\jdk1.3.1_01\bin to your PATH. • Item 4. of http://java.sun.com/j2se/1.3/install-windows.html gives painstaking instructions for every known variant of Windows. • While you are doing this, create a new environment variable called JAVA_HOME, and set its value to be C:\jdk1.3.1_01. This is for the benefit of Tomcat. • Type the command java –version in a new command prompt window, to test. dbc@csit.fsu.edu

  3. Installing Tomcat 4 on Windows • Go to the Jakarta home page: http://jakarta.apache.org • Follow the Binaries link under Download. • Under the heading Release Builds, follow the Tomcat 4.0.1 link. • Follow one of the links labeled bin/ or binary. • Click on jakarta-tomcat-4.0.1.exe. A File Download dialog will probably pop up. Select “Run this program from its current location”, if you have the option. • Otherwise, or if you want to install on a different machine, save the .exe to a file, transfer it by suitable media (7M) to the target machine, and run it there. • Click through the installation shield. Accept all defaults if you like, although I chose C:\jakarta-tomcat as the installation directory (rather than the default, which is under C:\Program Files). The software should now be installed. • Set the environment variable JAVA_HOME, if you haven’t already done so (see previous slide). In a similar way, create an environment variable CATALINA_HOME with value C:\jakarta-tomcat, or your selected installation directory. dbc@csit.fsu.edu

  4. Starting and Stopping your Server • To start your server, start a Command Prompt Window, and run the command C:\jakarta-tomcat\bin\startup.bat. • To stop your server run the command C:\jakarta-tomcat\bin\shutdown.bat. • Of course, replace c:\jakarta-tomcat here with your selected installation directory, if you chose a different one. dbc@csit.fsu.edu

  5. Check Your Server is Running • Running a Web browser on the same machine, point it at: http://localhost:8080 • If you are running your server on a host with fixed DNS name, hostname, you may point a browser from another computer at the URL: http://hostname:8080 • You should see the default Tomcat home page, which contains some useful documentation. dbc@csit.fsu.edu

More Related