File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem with tomcat server console" Watch "problem with tomcat server console" New topic
Author

problem with tomcat server console

g sathya
Greenhorn

Joined: Dec 30, 2007
Posts: 2
hi
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.

thankyou
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14420
    
  23

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 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with tomcat server console