• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to start tomcat startup from command prompt?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Apache tomcat 7.0.12.

Could anyone please let me know how to start the tomcat server from command prompt?

In Linux, we can give /<location address>/startup.sh. What to give in Windows 7 ?

I want to check whether tomcat server is running or not from the command prompt.

Please guide me.

Many thanks in advance.
 
Sheriff
Posts: 67749
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I assume that there is a corresponding .bat file in the bin folder?
 
Dinesh Kumar J
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I checked my private messages and submitted a request to change my display name. It is in progress.

Yes. startup.bat and stop.bat files are there. But when I double click on that one, I am not able to see whether the tomcat is started or not.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Open a command prompt window, navigate to the bin directory and execute startup.bat from the command line.

You will see some information on the parameters Tomcat is trying to use, but startup.bat tries to execute another bat file in a command prompt window which may pop up and close before you can see what happens. To keep that 2nd window open modify startup.bat call statement to use run instead of start:



Bill
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic