aspose file tools*
The moose likes Tomcat and the fly likes Starting Tomcat 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 "Starting Tomcat" Watch "Starting Tomcat" New topic
Author

Starting Tomcat

Armando Moncada
Ranch Hand

Joined: Nov 14, 2011
Posts: 30

I am starting to read Head First Servlets & JSP. It says to download Tomcat and run install.exe but I cannot find this file. I downloaded Tomcat 7.0 to go with my Java 7.0, can anyone help?


Armando
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Just download and unzip the zip file, and all the scripts will be in the bin folder.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Armando Moncada
Ranch Hand

Joined: Nov 14, 2011
Posts: 30

I found a file in the bin folder entitled Tomcat7.exe and I double clicked. A screen came up and quickly disappeared. I am running Windows Vista and I shut down Windows UAC (User Account Control) as recommended on the Tomcat website but I guess this didn't do any good? What should I try next?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Did you think of trying startup.bat?
Armando Moncada
Ranch Hand

Joined: Nov 14, 2011
Posts: 30

Yes, I had but with the same result. A small black screen appears and disappears quickly.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Can't help you much more at this point as I don't use Windows.

Have you verified that JAVA_HOME points to the right place?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12671
    
    5
Yes, I had but with the same result. A small black screen appears and disappears quickly.


Open a command prompt window, navigate to the bin directory containing startup.bat and execute it.

If another window opens and immediately closes, edit the startup.bat file as follows - where the last line now says "start", substitute "run".



The reason being that "start" executes catalina.bat in a new command prompt window which will close if there is an error. By using "run" execution will continue in the open window and you can see the error report.

Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Starting Tomcat
 
Similar Threads
weblogic startup
How to find Tomcat cluster members?
Deploying Apps w/o shutting down?
Setting up contexts somewhere other than webapps
Calling SalesForce platform from java code