File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with tomcat server console

 
g sathya
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic