Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

problem with tomcat server console

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Java Cowboy
Posts: 16084
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
crispy bacon. crispy tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
    Bookmark Topic Watch Topic
  • New Topic