aspose file tools*
The moose likes Tomcat and the fly likes how to shutdown and start tomcat6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to shutdown and start tomcat6 " Watch "how to shutdown and start tomcat6 " New topic
Author

how to shutdown and start tomcat6

Bindu Lakhanpal
Ranch Hand

Joined: Oct 17, 2008
Posts: 163

I am using vista.
But i don't know from where to shutdown and start tomcat 6.
In tomcat 5 i remember there are startup.bat and shutdown.bat files in the bin directory .
But there is nothing like that in tomcat6 .
There are only these files in there:
bootstrap.jar
tomcat6.exe
tomcat6w.exe
tomcat-juli.jar

on executing tomcat6.exe a window appears and goes quickly.. but i can't read any message like .. tomcat has stopped or is started in that window..

How to shutdown and start tomcat6 in vista.
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Perhaps you installed Tomcat 6 using Windows Service Installer, check http://tomcat.apache.org/download-60.cgi
Bindu Lakhanpal
Ranch Hand

Joined: Oct 17, 2008
Posts: 163

Thanks for your response.
yes, I did install window service installer.
But for two hours today i tried to install and run the normal version (From http://tomcat.apache.org/ ⇒ Binary Distributions ⇒ Core ⇒ zip version ). Could not make it run. No welcome screen on entering http:localhost:8080.I serached so much in google and here.Tried everything i could.
So i again installed service installer.
To start and shut down tomcat i guess i have to shutdown and start the system.

Eli Wood
Ranch Hand

Joined: Sep 04, 2008
Posts: 37

Go to the services manager (in XP/Server 2003 this is easily accessed via run->"services.msc" but there are other ways of getting to it).

If you have tomcat running as a service it will be listed there. You can use the run and stop buttons at the top of the window or the options in the right-click context menu. I guess Vista works in a similar way.

If you are not running tomcat as a windows service then it can be started and stopped using "startup.bat" and "shutdown.bat"... which is there for tomcat 6 depending on how you download and install it.

I think tomcat6w.exe will bring up a gui window that will be more helpful to you than the output of tomcat6.exe.

Good luck!
Bindu Lakhanpal
Ranch Hand

Joined: Oct 17, 2008
Posts: 163

Thank you so much Eli .
Yes,tomcat was listed there and i can now stop and start it from there.
Tons of thanks.
But tomcat6w.exe does not open any gui. But on trying to execute it an error( Application System Error) window appers which says:
Access is denied. Unable to open the service tomcat6
Is there a way to get the gui window you've mentioned .
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
See http://www.coderanch.com/t/421444/Tomcat/Access-Denied-Unable-open-Service
Bindu Lakhanpal
Ranch Hand

Joined: Oct 17, 2008
Posts: 163

yes.Thanks Misha.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to shutdown and start tomcat6
 
Similar Threads
Tomact 6 will not start after reboot. Please read for details
Confusion with environment variables
auto startup
Cannot start Apache Tomcat as a Windows Service
Automatically shutdown Tomcat6.0.35 server