File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java 8 in Action this week in the Java 8 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: 13883

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
subject: problem with tomcat server console
Similar Threads
Tomcat HTTP to HTTPS redirect with VIP issue
Help please !!! --- SSL and listen port
Tomcat 404 - error
Unable to see Tomcat 5.5 welcome page,manager,host manager
This program cannot display the webpage