Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to install apache tomcat 5.5

 
Trupti brane
Greenhorn
Posts: 20
C++ Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you explain me steps to install apache tomcat 5.5 on windows vista? i am beginner.
please please
 
Koen Aerts
Ranch Hand
Posts: 344
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find setup instructions on the Apache site: http://tomcat.apache.org/tomcat-5.5-doc/setup.html
 
Trupti brane
Greenhorn
Posts: 20
C++ Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 344
Java Linux Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
C++ Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
C++ Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
again the same error...unable to start tomcat :
 
Swastik Dey
Rancher
Posts: 1609
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the log say?
 
Trupti brane
Greenhorn
Posts: 20
C++ Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1609
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
C++ Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1609
5
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 20
C++ Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still having same problem!!

 
Rob Spoor
Sheriff
Pie
Posts: 20606
60
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
Trupti brane
Greenhorn
Posts: 20
C++ Java Windows Vista
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic