wood burning stoves 2.0*
The moose likes Tomcat and the fly likes A command for Running apache tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "A command for Running apache tomcat" Watch "A command for Running apache tomcat" New topic
Author

A command for Running apache tomcat

Mouza Ali
Ranch Hand

Joined: Oct 28, 2008
Posts: 39
Hi all,

I've successfully finished a project that I was working on for a while . I'm using apache tomcat for running my servlets. However, I'm finalizing the project and I would like apache server to run using a command, so I don't open eclipse and run it from there each time.

The path to the apache tomcat: /opt/apache-tomcat-5.5.26

I'm using Kubuntu OS

Any help will be appreciated ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41017
    
  43
The /opt/apache-tomcat-5.5.26/bin directory should have scripts you can use, particularly startup.sh and shutdown.sh. Be sure to read the comments inside of them to see if you need to change anything.


Ping & DNS - my free Android networking tools app
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Have you taken the little effort to explore its folders? Its bin folder for example?
Have you also taken the little effort to read the excellent documentation which come along with it?
Mouza Ali
Ranch Hand

Joined: Oct 28, 2008
Posts: 39
Ulf Dittmer wrote:The /opt/apache-tomcat-5.5.26/bin directory should have scripts you can use, particularly startup.sh and shutdown.sh. Be sure to read the comments inside of them to see if you need to change anything.


Thankyou ULF.. I'll check and get back to you if I have any further queries
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A command for Running apache tomcat
 
Similar Threads
executable programs!?
how to configure tomcat server in eclipse for maven project
log file for catalina/tomcat
Project facet Java 5.0 is not supported by target runtime Apache Tomcat v5.5
Not able to start Tomcat