aspose file tools*
The moose likes Tomcat and the fly likes how to install apache tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to install apache tomcat 5.5 " Watch "how to install apache tomcat 5.5 " New topic
Author

how to install apache tomcat 5.5

Trupti brane
Greenhorn

Joined: Aug 16, 2011
Posts: 20

can you explain me steps to install apache tomcat 5.5 on windows vista? i am beginner.
please please
Koen Aerts
Ranch Hand

Joined: Feb 07, 2012
Posts: 344

You can find setup instructions on the Apache site: http://tomcat.apache.org/tomcat-5.5-doc/setup.html
Trupti brane
Greenhorn

Joined: Aug 16, 2011
Posts: 20

i went on site and found there many types under one version of tomcat to download...exactly which one to download (i want 5.5)
then please help me in setting environment variable.(catalina_home/tomcat_home) ???
Koen Aerts
Ranch Hand

Joined: Feb 07, 2012
Posts: 344

It depends how you want to run Tomcat:
- As a Windows Service (so it starts/stops automatically when you startup or shutdown windows), then download Windows Service Installer
- do you want to start/stop it yourself, for instance via a DOS batch file or icon on your desktop, then download the zip file

Once installed, you may need to configure settings in server.xml under the tomcat conf directory.
Trupti brane
Greenhorn

Joined: Aug 16, 2011
Posts: 20

i installed it by windows service installer ... checked the localhost:8080 also..that time it worked and then i stop it from notification area icon as i was not using it.

after that i shut down the laptop and restart it afterwords laptop it showed me message box that windows can not start apache tomcat(not sure about the text in the message but it was surely about can't load it ) and icon from notification area also missing.

now i can't even delete the folder after uninstalling it.
Trupti brane
Greenhorn

Joined: Aug 16, 2011
Posts: 20

again the same error...unable to start tomcat :
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

What does the log say?


Swastik
Trupti brane
Greenhorn

Joined: Aug 16, 2011
Posts: 20

i conf the settings to automatic but after shutting the window and again reopening the conf window it is back to manual option.

is this because virus problem??
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

Make sure you have set all the environment variables properly and the port number (default 8080) is not being used by some other application.
Trupti brane
Greenhorn

Joined: Aug 16, 2011
Posts: 20

tell me how to set the tomcat environment variable?
is it TOMCAT_HOME
OR CATALINA_HOME

AND for tomcat we have to set up environment variable value till bin folder of tomcat isn't it??(i set it till bin)
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

not bin, rather parent of bin for e.g.

catalina_home
C:\Program Files\Apache Software Foundation\tomcat 7.0\apache-tomcat-7.0.23

Trupti brane
Greenhorn

Joined: Aug 16, 2011
Posts: 20

still having same problem!!

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

Check:
1) The Tomcat logs, found by default inside the logs folder inside the Tomcat folder.
2) Window's Event Viewer, available from Control Panel -> Administrative Tools. Check the System part, and look for source "Service Control Manager".


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Trupti brane
Greenhorn

Joined: Aug 16, 2011
Posts: 20

have installed apache tomcat on my windows vista home premium successfully

in properties window i want to change startup type of apache tomcat from manual to automatic but once i close the window it again set back to manual.

another problem is after again booting the laptop i get error message saying access denied can not start apache tomcat 6.0
 
 
subject: how to install apache tomcat 5.5