Sunday, 29 April 2012


Hosting Java Application

Pre-requirements:- Java runtime environment (JRE) or Java development kit (JDK) and apache tomcat server must be installed properly.

Downloading and installing tomcat

In this section we will show the process to downloading and installing Tomcat 7 on your computer system. The steps of downloading and installing are easy and you can learn the process very fast. First of all learn the steps of 'How to download Apache Tomcat server on your computer .Click the link:  http://tomcat.apache.org/download-70.cgi and follow the steps according to your requirement to achieve Tomcat server.
 (Download the windows installer file.)


Steps:

1.       First install the latest version of java then you need to install Apache Tomcat Server 7.0 (Latest one).

2.       When you downloaded the tomcat server’s set up file, just double click that and accept all the terms & condition until set up has finished.



A Welcome screen shot appears that shows the beginning of installation process. Just click on the 'Next' button to proceed the installation process.
Click on the 'I Agree' button.
Choose the default components and click on the 'Next' button.

A Window of Java Virtual Machine displays on the screen.
A processing window of installing displays on the screen.


Click on the 'Finish' button.
A window of Apache Service Manager appears with displaying the running process.
Let the running process goes on.
After completing the installation process, the Apache Tomcat Manager appears on the toolbar panel like shown in the below picture.

1.       Your tomcat server is now installed at the following location:-  C:\Program Files\Apache Software Foundation
2.       A Tomcat server system tray icon will appear.
3.       Stop the server with system tray icon, before you configure your web application.
4.       We need to paste the web application files in the tomcat server directory (C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps), no matter if your application is in Web Application Archives (WAR) format or you have the extracted folders. But if *.war file is pasted then we have to ensure that the server is not started.
5.       Now start server by launching “Monitor Tomcat” icon from start menu or system tray icon.
6.       Launch internet explorer and type the local server address followed by your application name* i.e. http://localhost:8080/application_name /
(*Application name depends on the folder name which you have pasted in the tomcat webapp directory.)

You are done.