This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes problem with tomcat server console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem with tomcat server console" Watch "problem with tomcat server console" New topic

problem with tomcat server console

g sathya

Joined: Dec 30, 2007
Posts: 2
I have been using tomcat 4.x version for web development(JSP/Servlets)but i am finding difficulties in starting the server.I have set the JAVA_HOME environmental variable.When i am trying to start the tomcat server by double clicking on the startup.bat inside bin folder the tomcat console comes only for 3-4 seconds and then disappears.I also tried to solve it by changing the port no 8080 which is inside server.xml file to any other port but still it's not working.
please tell me how to solve this problem.

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

Welcome to JavaRanch.

When you start Tomcat by double clicking startup.bat and something goes wrong, you don't get a chance to see the error message, because the window closes immediately.

So, instead of double clicking startup.bat, open up a command prompt window, navigate to the Tomcat installation directory with cd and then run startup.bat from the command window. The window will stay open and you can read the error message.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
I agree. Here's the link:
subject: problem with tomcat server console
Similar Threads
Help please !!! --- SSL and listen port
Tomcat HTTP to HTTPS redirect with VIP issue
Unable to see Tomcat 5.5 welcome page,manager,host manager
This program cannot display the webpage
Tomcat 404 - error