SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
Installing Tomcat On Windows 7

PREPARED BY RAVI KUMAR LANKE

Page 1
Installing Java
Tomcat requires java in order to run. If your computer already has java installed, you can probably skip
this step. However, make sure you have a recent version of java.

Setting the Java Environment Variable
Tomcat will need to know where you have installed java. To do this, you will need to set the
environment variable JAVA_HOME
Here are the steps for setting the environment variable

Goto start and right click on computer and click on properties

PREPARED BY RAVI KUMAR LANKE

Page 2
Click on Advanced System Settings

PREPARED BY RAVI KUMAR LANKE

Page 3
Click on Environment Variables

PREPARED BY RAVI KUMAR LANKE

Page 4
Click on New

PREPARED BY RAVI KUMAR LANKE

Page 5
Give Variable Name and Variable Value and click ok
Click ok and ok

PREPARED BY RAVI KUMAR LANKE

Page 6
Installing Tomcat
After setting the JAVA_HOME environment variable, you can install tomcat
Go to the Tomcat software folder
Run the exe file.
I suggest you install Tomcat at c:tomcat
Use the default settings and provide a password that you will remember

PREPARED BY RAVI KUMAR LANKE

Page 7
PREPARED BY RAVI KUMAR LANKE

Page 8
PREPARED BY RAVI KUMAR LANKE

Page 9
PREPARED BY RAVI KUMAR LANKE

Page 10
PREPARED BY RAVI KUMAR LANKE

Page 11
PREPARED BY RAVI KUMAR LANKE

Page 12
Running Tomcat
Here are the steps to see if Tomcat has been successfully installed
Start Tomcat by finding its start program in the Programs Menu (located in the Start menu). Look under
Apache Tomcat and select "Start Tomcat"

Open a Web browser and type in the following URL:
http://localhost:8080/

PREPARED BY RAVI KUMAR LANKE

Page 13
PREPARED BY RAVI KUMAR LANKE

Page 14
PREPARED BY RAVI KUMAR LANKE

Page 15
At this point, you should see the Tomcat home page, which is provided by the Tomcat
Web server running on your computer. Note: if your computer has an internet name or
an IP number, you may access your Tomcat server anywhere on the internet by
substituting localhost with the full name or IP number.
To shut down your server and remove the Console window, select "Stop Tomcat" in
the same menu of where you selected "Stop Tomcat".

PREPARED BY RAVI KUMAR LANKE

Page 16
PREPARED BY RAVI KUMAR LANKE

Page 17
Set Your CLASSPATH

Since servlets and JSP are not part of the Java 2 platform, standard edition, you have
to identify the servlet classes to the compiler. The server already knows about the
servlet classes, but the compiler (i.e., javac) you use for development probably
doesn't. So, if you don't set your CLASSPATH, attempts to compile servlets, tag libraries,
or other classes that use the servlet and JSP APIs will fail with error messages about
unknown classes. Here are the standard Tomcat locations:
Tomcat : c:tomcatlibservlet.jar
in addition to the servlet JAR file, you also need to put your development directory in
the CLASSPATH. Although this is not necessary for simple packageless servlets, once
you gain experience you will almost certainly use packages. Compiling a file that is in
a package and that uses another class in the same package requires the CLASSPATH to
include the directory that is at the top of the package hierarchy. In this case, that's the
development directory I just discussed. Forgetting this setting is perhaps the most
common mistake made by beginning servlet programmers!
Finally, you should include "." (the current directory) in the CLASSPATH. Otherwise,
you will only be able to compile packageless classes that are in the top-level
development directory.

PREPARED BY RAVI KUMAR LANKE

Page 18
Click ok ok ok and close the window

PREPARED BY RAVI KUMAR LANKE

Page 19
Set Your CATALINA_HOME :

Click ok ok ok and close the window

PREPARED BY RAVI KUMAR LANKE

Page 20
Click ok ok ok and close the window

PREPARED BY RAVI KUMAR LANKE

Page 21
ENVIRONMENT VARIABLES SETTINGS FOR TOMCAT :
1.
2.
3.
4.
5.
6.
7.

Right click on My Computer.
Select Properties.
Select the Advanced tab.
Select the Environmental Variables button.
Under the System Variable group, select New.
In the Variable Name field, type JAVA_HOME.
In the Variable Value field, type the name of the path to your
JVM (e.g., C:Java).
8. Select OK.
9. Under the System Variable group, select New.
10.
In the Variable Name field, type CATALINA_HOME.
11.
In the Variable Value field, type the name of the path to
Tomcat (e.g., C:Tomcat).
12.
Select OK.
13.
Select OK.
14.
Select OK.

PREPARED BY RAVI KUMAR LANKE

Page 22

Más contenido relacionado

Destacado

Susan Lannon Samples
Susan Lannon SamplesSusan Lannon Samples
Susan Lannon SamplesSuzinLannon
 
SaaS Studies - SaaS Directories
SaaS Studies - SaaS DirectoriesSaaS Studies - SaaS Directories
SaaS Studies - SaaS DirectoriesSonny Brabez
 
How to install windows vista
How to install windows vistaHow to install windows vista
How to install windows vistaRavi Kumar Lanke
 
【18-C-4】Google App Engine - 無限の彼方へ
【18-C-4】Google App Engine - 無限の彼方へ【18-C-4】Google App Engine - 無限の彼方へ
【18-C-4】Google App Engine - 無限の彼方へDevelopers Summit
 
Modern Governor City of York Case Study
Modern Governor City of York Case StudyModern Governor City of York Case Study
Modern Governor City of York Case StudyElaine Walton
 
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12Atrivé
 
Memory Science & Medical Education
Memory Science & Medical EducationMemory Science & Medical Education
Memory Science & Medical EducationBenjamin Williams
 
Презентация группы компаний ФЕРТ
Презентация группы компаний ФЕРТПрезентация группы компаний ФЕРТ
Презентация группы компаний ФЕРТFert
 
Step by step guide for setting up windows server 2012 domain controller
Step by step guide for setting up windows server 2012 domain controllerStep by step guide for setting up windows server 2012 domain controller
Step by step guide for setting up windows server 2012 domain controllerRavi Kumar Lanke
 
Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Francisco Apablaza
 
Cloud Computing: the last step in IT commoditisation
Cloud Computing: the last step in IT commoditisationCloud Computing: the last step in IT commoditisation
Cloud Computing: the last step in IT commoditisationISPABelgium
 
Fabric capabilities overview-090110
Fabric capabilities overview-090110Fabric capabilities overview-090110
Fabric capabilities overview-090110Fabric Interactive
 

Destacado (20)

Susan Lannon Samples
Susan Lannon SamplesSusan Lannon Samples
Susan Lannon Samples
 
Oracle backup
Oracle backupOracle backup
Oracle backup
 
Habitac hackaton final pitch bis
Habitac hackaton final pitch bisHabitac hackaton final pitch bis
Habitac hackaton final pitch bis
 
SaaS Studies - SaaS Directories
SaaS Studies - SaaS DirectoriesSaaS Studies - SaaS Directories
SaaS Studies - SaaS Directories
 
hombre
hombrehombre
hombre
 
Advanced Excel, Day 5
Advanced Excel, Day 5Advanced Excel, Day 5
Advanced Excel, Day 5
 
How to install windows 98
How to install windows 98How to install windows 98
How to install windows 98
 
How to install windows vista
How to install windows vistaHow to install windows vista
How to install windows vista
 
【18-C-4】Google App Engine - 無限の彼方へ
【18-C-4】Google App Engine - 無限の彼方へ【18-C-4】Google App Engine - 無限の彼方へ
【18-C-4】Google App Engine - 無限の彼方へ
 
Svec
SvecSvec
Svec
 
Esdb E Eportfolio
Esdb E EportfolioEsdb E Eportfolio
Esdb E Eportfolio
 
Modern Governor City of York Case Study
Modern Governor City of York Case StudyModern Governor City of York Case Study
Modern Governor City of York Case Study
 
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
Inleiding R. Scherpenisse Event Verschil maken in de buurt 01 02 12
 
Memory Science & Medical Education
Memory Science & Medical EducationMemory Science & Medical Education
Memory Science & Medical Education
 
Презентация группы компаний ФЕРТ
Презентация группы компаний ФЕРТПрезентация группы компаний ФЕРТ
Презентация группы компаний ФЕРТ
 
Step by step guide for setting up windows server 2012 domain controller
Step by step guide for setting up windows server 2012 domain controllerStep by step guide for setting up windows server 2012 domain controller
Step by step guide for setting up windows server 2012 domain controller
 
Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011Noticias TELEC septiembre 2011
Noticias TELEC septiembre 2011
 
Cloud Computing: the last step in IT commoditisation
Cloud Computing: the last step in IT commoditisationCloud Computing: the last step in IT commoditisation
Cloud Computing: the last step in IT commoditisation
 
Fabric capabilities overview-090110
Fabric capabilities overview-090110Fabric capabilities overview-090110
Fabric capabilities overview-090110
 
Web2.0
Web2.0 Web2.0
Web2.0
 

Similar a Installing tomcat on windows 7

Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Servermohamedmoharam
 
Tomcat Configuration (1)
Tomcat Configuration (1)Tomcat Configuration (1)
Tomcat Configuration (1)nazeer pasha
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apachegovindraj8787
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portalprabakaranbrick
 
How to install Java and how to set the path
How to install Java and how to set the pathHow to install Java and how to set the path
How to install Java and how to set the pathyesheeka
 
Tomcat configuration
Tomcat configurationTomcat configuration
Tomcat configurationDima Gomaa
 
GTLAB Overview
GTLAB OverviewGTLAB Overview
GTLAB Overviewmarpierc
 
Installing Oracle Endeca Information Discovery 3.0
Installing Oracle  Endeca  Information Discovery 3.0Installing Oracle  Endeca  Information Discovery 3.0
Installing Oracle Endeca Information Discovery 3.0Ravi Kumar Lanke
 
Uninstall obiee 11g on linux
Uninstall obiee 11g on linuxUninstall obiee 11g on linux
Uninstall obiee 11g on linuxRavi Kumar Lanke
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and DeploymentBG Java EE Course
 
Information on Tomcat in cPanel & WHM
Information on Tomcat in cPanel & WHMInformation on Tomcat in cPanel & WHM
Information on Tomcat in cPanel & WHMHTS Hosting
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of DrupalWingston
 
Servlet and jsp development with eclipse wtp
Servlet and jsp development with eclipse wtpServlet and jsp development with eclipse wtp
Servlet and jsp development with eclipse wtpodilodif
 

Similar a Installing tomcat on windows 7 (20)

Mc sl54 051_ (1)
Mc sl54 051_ (1)Mc sl54 051_ (1)
Mc sl54 051_ (1)
 
Apache Tomcat 8 Application Server
Apache Tomcat 8 Application ServerApache Tomcat 8 Application Server
Apache Tomcat 8 Application Server
 
Tomcat Configuration (1)
Tomcat Configuration (1)Tomcat Configuration (1)
Tomcat Configuration (1)
 
Tomcat
TomcatTomcat
Tomcat
 
Integrating tomcat with apache
Integrating tomcat with apacheIntegrating tomcat with apache
Integrating tomcat with apache
 
Java Servlets & JSP
Java Servlets & JSPJava Servlets & JSP
Java Servlets & JSP
 
Command line
Command lineCommand line
Command line
 
Integrating open am with liferay portal
Integrating open am with liferay portalIntegrating open am with liferay portal
Integrating open am with liferay portal
 
How to install Java and how to set the path
How to install Java and how to set the pathHow to install Java and how to set the path
How to install Java and how to set the path
 
Tomcat configuration
Tomcat configurationTomcat configuration
Tomcat configuration
 
GTLAB Overview
GTLAB OverviewGTLAB Overview
GTLAB Overview
 
Installing Oracle Endeca Information Discovery 3.0
Installing Oracle  Endeca  Information Discovery 3.0Installing Oracle  Endeca  Information Discovery 3.0
Installing Oracle Endeca Information Discovery 3.0
 
Uninstall obiee 11g on linux
Uninstall obiee 11g on linuxUninstall obiee 11g on linux
Uninstall obiee 11g on linux
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
 
Tomcat tutorail
Tomcat tutorailTomcat tutorail
Tomcat tutorail
 
Alfresco
AlfrescoAlfresco
Alfresco
 
Information on Tomcat in cPanel & WHM
Information on Tomcat in cPanel & WHMInformation on Tomcat in cPanel & WHM
Information on Tomcat in cPanel & WHM
 
2 Installation of Drupal
2  Installation of Drupal2  Installation of Drupal
2 Installation of Drupal
 
Dspace
DspaceDspace
Dspace
 
Servlet and jsp development with eclipse wtp
Servlet and jsp development with eclipse wtpServlet and jsp development with eclipse wtp
Servlet and jsp development with eclipse wtp
 

Más de Ravi Kumar Lanke

Creating and configuring vnc sessions
Creating and configuring vnc sessionsCreating and configuring vnc sessions
Creating and configuring vnc sessionsRavi Kumar Lanke
 
Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Ravi Kumar Lanke
 
Exporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseExporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseRavi Kumar Lanke
 
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Ravi Kumar Lanke
 
Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Ravi Kumar Lanke
 
Enabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitEnabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitRavi Kumar Lanke
 
Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Ravi Kumar Lanke
 
Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Ravi Kumar Lanke
 
How to find ip and mac address
How to find ip and mac addressHow to find ip and mac address
How to find ip and mac addressRavi Kumar Lanke
 
Step by step deployment of sampleappv406
Step by step deployment of  sampleappv406Step by step deployment of  sampleappv406
Step by step deployment of sampleappv406Ravi Kumar Lanke
 
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitInstalling and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitRavi Kumar Lanke
 
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Ravi Kumar Lanke
 
Installing my sql on windows
Installing my sql on windowsInstalling my sql on windows
Installing my sql on windowsRavi Kumar Lanke
 
How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...Ravi Kumar Lanke
 
How to disable and enable task manager
How to disable and enable task managerHow to disable and enable task manager
How to disable and enable task managerRavi Kumar Lanke
 
Deploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksDeploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksRavi Kumar Lanke
 
Installing oracle endeca commerce
Installing oracle endeca commerceInstalling oracle endeca commerce
Installing oracle endeca commerceRavi Kumar Lanke
 
How to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerHow to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerRavi Kumar Lanke
 
How to change the obiee 11g browser title
How to change the obiee 11g browser titleHow to change the obiee 11g browser title
How to change the obiee 11g browser titleRavi Kumar Lanke
 
Creating new service name for oracle database
Creating new service name for oracle databaseCreating new service name for oracle database
Creating new service name for oracle databaseRavi Kumar Lanke
 

Más de Ravi Kumar Lanke (20)

Creating and configuring vnc sessions
Creating and configuring vnc sessionsCreating and configuring vnc sessions
Creating and configuring vnc sessions
 
Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...Copying files between linux machines using scp and ssh without linux user pas...
Copying files between linux machines using scp and ssh without linux user pas...
 
Exporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle databaseExporting schema to dmp file and importing it into other oracle database
Exporting schema to dmp file and importing it into other oracle database
 
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
Installing Endeca Server, Studio, Integrator ETL , Commerce and Platform Serv...
 
Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server Installing solaris on virtual box and installing weblogic server
Installing solaris on virtual box and installing weblogic server
 
Enabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bitEnabling remote desktop connection on windows 7 64 bit
Enabling remote desktop connection on windows 7 64 bit
 
Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...Connecting to the remote database through sql developer without database clie...
Connecting to the remote database through sql developer without database clie...
 
Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7Setting home path class path and path for java on windows 7
Setting home path class path and path for java on windows 7
 
How to find ip and mac address
How to find ip and mac addressHow to find ip and mac address
How to find ip and mac address
 
Step by step deployment of sampleappv406
Step by step deployment of  sampleappv406Step by step deployment of  sampleappv406
Step by step deployment of sampleappv406
 
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bitInstalling and configuring informatica 910 and dac 11 g on windows 64 bit
Installing and configuring informatica 910 and dac 11 g on windows 64 bit
 
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
Installing bi applications 7.9.6.4 on obiee 11.1.1.7.0
 
Installing my sql on windows
Installing my sql on windowsInstalling my sql on windows
Installing my sql on windows
 
How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...How to prevent access to command prompt and registry editing tools and window...
How to prevent access to command prompt and registry editing tools and window...
 
How to disable and enable task manager
How to disable and enable task managerHow to disable and enable task manager
How to disable and enable task manager
 
Deploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame worksDeploying an application into oracle endeca tools and frame works
Deploying an application into oracle endeca tools and frame works
 
Installing oracle endeca commerce
Installing oracle endeca commerceInstalling oracle endeca commerce
Installing oracle endeca commerce
 
How to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise mangerHow to deploy rpd and catalog without enterprise manger
How to deploy rpd and catalog without enterprise manger
 
How to change the obiee 11g browser title
How to change the obiee 11g browser titleHow to change the obiee 11g browser title
How to change the obiee 11g browser title
 
Creating new service name for oracle database
Creating new service name for oracle databaseCreating new service name for oracle database
Creating new service name for oracle database
 

Último

Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 

Último (20)

Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 

Installing tomcat on windows 7

  • 1. Installing Tomcat On Windows 7 PREPARED BY RAVI KUMAR LANKE Page 1
  • 2. Installing Java Tomcat requires java in order to run. If your computer already has java installed, you can probably skip this step. However, make sure you have a recent version of java. Setting the Java Environment Variable Tomcat will need to know where you have installed java. To do this, you will need to set the environment variable JAVA_HOME Here are the steps for setting the environment variable Goto start and right click on computer and click on properties PREPARED BY RAVI KUMAR LANKE Page 2
  • 3. Click on Advanced System Settings PREPARED BY RAVI KUMAR LANKE Page 3
  • 4. Click on Environment Variables PREPARED BY RAVI KUMAR LANKE Page 4
  • 5. Click on New PREPARED BY RAVI KUMAR LANKE Page 5
  • 6. Give Variable Name and Variable Value and click ok Click ok and ok PREPARED BY RAVI KUMAR LANKE Page 6
  • 7. Installing Tomcat After setting the JAVA_HOME environment variable, you can install tomcat Go to the Tomcat software folder Run the exe file. I suggest you install Tomcat at c:tomcat Use the default settings and provide a password that you will remember PREPARED BY RAVI KUMAR LANKE Page 7
  • 8. PREPARED BY RAVI KUMAR LANKE Page 8
  • 9. PREPARED BY RAVI KUMAR LANKE Page 9
  • 10. PREPARED BY RAVI KUMAR LANKE Page 10
  • 11. PREPARED BY RAVI KUMAR LANKE Page 11
  • 12. PREPARED BY RAVI KUMAR LANKE Page 12
  • 13. Running Tomcat Here are the steps to see if Tomcat has been successfully installed Start Tomcat by finding its start program in the Programs Menu (located in the Start menu). Look under Apache Tomcat and select "Start Tomcat" Open a Web browser and type in the following URL: http://localhost:8080/ PREPARED BY RAVI KUMAR LANKE Page 13
  • 14. PREPARED BY RAVI KUMAR LANKE Page 14
  • 15. PREPARED BY RAVI KUMAR LANKE Page 15
  • 16. At this point, you should see the Tomcat home page, which is provided by the Tomcat Web server running on your computer. Note: if your computer has an internet name or an IP number, you may access your Tomcat server anywhere on the internet by substituting localhost with the full name or IP number. To shut down your server and remove the Console window, select "Stop Tomcat" in the same menu of where you selected "Stop Tomcat". PREPARED BY RAVI KUMAR LANKE Page 16
  • 17. PREPARED BY RAVI KUMAR LANKE Page 17
  • 18. Set Your CLASSPATH Since servlets and JSP are not part of the Java 2 platform, standard edition, you have to identify the servlet classes to the compiler. The server already knows about the servlet classes, but the compiler (i.e., javac) you use for development probably doesn't. So, if you don't set your CLASSPATH, attempts to compile servlets, tag libraries, or other classes that use the servlet and JSP APIs will fail with error messages about unknown classes. Here are the standard Tomcat locations: Tomcat : c:tomcatlibservlet.jar in addition to the servlet JAR file, you also need to put your development directory in the CLASSPATH. Although this is not necessary for simple packageless servlets, once you gain experience you will almost certainly use packages. Compiling a file that is in a package and that uses another class in the same package requires the CLASSPATH to include the directory that is at the top of the package hierarchy. In this case, that's the development directory I just discussed. Forgetting this setting is perhaps the most common mistake made by beginning servlet programmers! Finally, you should include "." (the current directory) in the CLASSPATH. Otherwise, you will only be able to compile packageless classes that are in the top-level development directory. PREPARED BY RAVI KUMAR LANKE Page 18
  • 19. Click ok ok ok and close the window PREPARED BY RAVI KUMAR LANKE Page 19
  • 20. Set Your CATALINA_HOME : Click ok ok ok and close the window PREPARED BY RAVI KUMAR LANKE Page 20
  • 21. Click ok ok ok and close the window PREPARED BY RAVI KUMAR LANKE Page 21
  • 22. ENVIRONMENT VARIABLES SETTINGS FOR TOMCAT : 1. 2. 3. 4. 5. 6. 7. Right click on My Computer. Select Properties. Select the Advanced tab. Select the Environmental Variables button. Under the System Variable group, select New. In the Variable Name field, type JAVA_HOME. In the Variable Value field, type the name of the path to your JVM (e.g., C:Java). 8. Select OK. 9. Under the System Variable group, select New. 10. In the Variable Name field, type CATALINA_HOME. 11. In the Variable Value field, type the name of the path to Tomcat (e.g., C:Tomcat). 12. Select OK. 13. Select OK. 14. Select OK. PREPARED BY RAVI KUMAR LANKE Page 22