• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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
Garandi
 
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.
reply
    Bookmark Topic Watch Topic
  • New Topic