![]() After successfully login, Choose jsp_examples in the left column of the displayed table. To test your Tomcat, start a Web browser, IE, Netscape, etc, and then enter:Ĭlick the Tomcat Manager link on the left side, them enter admin and the password you entered earlier. Now you should find the Tomcat monitor "icon" at the right bottom corner of the desktop.Ĭongratulations! You have completed the installation of Tomcat. Startup: It will ask you whether you want to start Tomcat Web server after installation. If not correct, find the location and enter the correct path. If you have specified the JAVA_HOME environment variable, the value displayed on the screen is normally correct. It would not hurt if you just double check. JRE: The next thing you need to configure is where JRE is located. This user id ( admin ) and its password are necessary for you to deploy Web applications to this Tomcat Web server. The reason is that the University of Scranton blocks communications to ports of all machines on campus except designated school web servers, such as Using port 8081, your Tomcat can be accessed on and off campus.Īdmin: You are asked to enter a password for user admin This admin is for Tomcat only, it has nothing to do with the Administrator account of your Windows XP. The default port number is 8080, but I suggest you change it to 8081. Port #: In the installation process you are asked to enter a port number for the clients to connect to your Tomcat. You may just take the defacult installation location, which is under c:\Program Files\. But for a normal installation on Windows XP, the binary version is good enough and it is the simplest way to do it.ĭouble click the downloaded file to start installation. You may get the source, compile it, and then install it youself. This only downloads the binary version of Tomcat 5.5.7. This tutorial assumes a stand-alone Web server.Ĭlick the following link to download the lastest version (as of Feb. Apache Tomcat can also be installed as a stand-alone Web server. When the Apache Web server receives a request for Java Servlets, it will ask the Tomcat package to handle it. Apache Tomcat may be installed as a package to an Apache Web server. Tomcat is often called Java Servlets container. Java uses a set of classes called Servlets to interact with Web clients. If you have a version of J2SE earlier than 1.4, you may want to following the instruction here to install J2SE 5.0's JDK 1.5 after removing the earlier version.Īpache Tomcat is a Web server that supports Java as the server-side programming language. You may want to modify the PATH variable and add JAVA_HOME, which will make your late installations much easier. It is not necessary to install J2SE 5.0's JDK 1.5 if you have J2SE 1.4 installed. The installation of Tomcat and Eclipse will use those variables to find Java compiler and JRE (Java run-time environment). Add to the global environment variable PATH: c:\program files\java\jdk1.5.0-1\binand add a new environment variable: JAVA_HOME with value c:\program files\java\jdk1.5.0-1. Go to Window's Start -> Control Panel -> System -> Advanced ->Environment Variables -> System Variables. Click the following link to download JDK 1.5.ĭouble click the downloaded file and take the default installation location to have it installed at c:\program files\java\jdk1.5.0-1\.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |