Installing Tomcat Server
2 posters
Page 1 of 1
Installing Tomcat Server
Tomcat server installation:
Somehow I was getting trouble in installing tomcat server. It was quite difficult task for me. This tutorial explain you how to install tomcat 6.0 in your desktop. This is pretty simple but most of the java beginners find difficulties to get started with the web development as I was. Tomcat server is the mostly recommended web server for learning JSP and Servlet basics. We will switch better one like glass fish server. But as beginner tomcat is the best.
Here I’ll mention you the easiest way of installing Tomcat server. So download the tomcat installer from here.
Here I’ll mention you the easiest way of installing Tomcat server. So download the tomcat installer from here.
After downloading the file, click on the setup file and install it on your PC by selecting the desired location. I think following steps will help you to install the server:
cheers!!!
Last edited by bit0112-rokon on Tue Feb 16, 2010 2:41 am; edited 1 time in total
Re: Installing Tomcat Server
Ah.. good tutorial.
And err.... you can download it from various sources from here
I have played with both the 32-bit windows Installer(search for 32-bit/64-bit Windows Service Installer) and the zipped version(named 32-bit Windows zip)
here are the basic differences:
the installer sets up everything for you, and as Rokon said above, it is very easy to use too!
but in case of the zipped file, at first you need to set up Environment variables, and then use it. And guess what? it doesn't offer any task bar menu.. or gui to control it.
Anyway, even after you install it, there is one little problem.
how?
Say, you want to use the tomcat manager. click on the Tomcat Manager Under Administrator menu. it wants username and password!!
where are you supposed to find that, hmm?
Well here is the deal. say, you have installed tomcat apache under C: drive.
if the installation directory is C:\apache-tomcat-6.0.24 , go there, search for folder named conf.
there is a file called tomcat-users.xml
[You should create a backup of this file in case you mess everything up]
open it, you will see something like
change it to:
And if you want to login as admin, use this code:
Hope that helps
And err.... you can download it from various sources from here
I have played with both the 32-bit windows Installer(search for 32-bit/64-bit Windows Service Installer) and the zipped version(named 32-bit Windows zip)
here are the basic differences:
the installer sets up everything for you, and as Rokon said above, it is very easy to use too!
but in case of the zipped file, at first you need to set up Environment variables, and then use it. And guess what? it doesn't offer any task bar menu.. or gui to control it.
Anyway, even after you install it, there is one little problem.
how?
Say, you want to use the tomcat manager. click on the Tomcat Manager Under Administrator menu. it wants username and password!!
where are you supposed to find that, hmm?
Well here is the deal. say, you have installed tomcat apache under C: drive.
if the installation directory is C:\apache-tomcat-6.0.24 , go there, search for folder named conf.
there is a file called tomcat-users.xml
[You should create a backup of this file in case you mess everything up]
open it, you will see something like
- Code:
<tomcat-users>
<!--
<role
rolename="tomcat"/>
<role rolename="role1"/>
<user
username="tomcat" password="tomcat" roles="tomcat"/>
<user
username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
-->
</tomcat-users>
change it to:
- Code:
<tomcat-users>
<!--
<role
rolename="tomcat"/>
<role rolename="role1"/>
<user
username="tomcat" password="tomcat" roles="tomcat"/>
<user
username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
-->
<role
rolename="manager"/>
<user username="tomcat" password="s3cret"
roles="manager"/>
</tomcat-users>
And if you want to login as admin, use this code:
- Code:
<tomcat-users>
<user name="whatevername" password="whateverpassword" roles="admin,manager" /><!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
-->
</tomcat-users>
Hope that helps
Similar topics
» How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server
» Java Servlets (tomcat) Documentation in Eclipse
» Installing Oracle 10G in ubuntu 10.04 LTS
» Installing fortran in windows
» Installing IDE for fortran in windows
» Java Servlets (tomcat) Documentation in Eclipse
» Installing Oracle 10G in ubuntu 10.04 LTS
» Installing fortran in windows
» Installing IDE for fortran in windows
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Sep 29, 2015 2:45 pm by Sophiawood
» Cisco EHWIC SFP/GE WAN Card
Mon Sep 07, 2015 11:08 am by Sophiawood
» Huawei S1700-28GFR-4P-AC Price
Thu Jun 25, 2015 2:31 pm by Sophiawood
» teach yourself C++ / Herbert Schildt Solutions
Wed Jun 03, 2015 1:52 pm by Abdullah Al Noman
» teach yourself c by herbert schildt pdf
Wed May 13, 2015 11:01 pm by Raquib Ridwan
» ASA 5506X With Firepower ASA5506-K9
Fri Apr 10, 2015 4:31 pm by Sophiawood
» New Trends in Deal Business
Tue Feb 03, 2015 9:38 pm by nersoa
» PoE Power Allocation for WS-C2960S-24PS-L
Wed Nov 05, 2014 11:12 am by Sophiawood
» How to cure back pain
Fri Oct 31, 2014 7:15 pm by Bergen Guildford