• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Starting Tomcat 4 Server

Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Reader,
I am new to Tomcat.
Question 1: How tomcat.exe starts the tomcat server?
Question 2: What is the relationship between tomcat.exe and Startup.bat(starts up the tomcat server)?
Question 3: How to start Tomcat 4 server on Windows from a java program?
What are the best resources to learn more about Tomcat 4 server.
Thank you in advance
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) I've never double-clicked tomcat.exe before. It opens a dos window which disappears after about 10 seconds. I have no idea what this file does. So my answer is: It doesn't (Start the tomcat server).

2) None that I can see. There is no call to tomcat.exe in startup.bat *or* catalina.bat

3) I'm not sure why you'd want to do this. There are startup scripts (DOS based) and a Windows Service that you can take advantage of to start Tomcat. But if you need/want to, you can start Tomcat from within java like any other program within java... use the Runtime.getRuntime() and various exec() methods.

Tomcat docs are fairly complete. I know it's somewhat tedious to say, but reading the docs is a good idea.
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic