tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wilson, Allen" <>
Subject RE: Connecting the HTTP Server and Tomcat
Date Thu, 08 Apr 2004 15:49:30 GMT
Okay...maybe I am missing the boat here....I've got the jsvc built and
started to read through the Daemon API to see how to implement the
interface for Tomcat-4.1.18. But I do not see how to use it to start my
Tomcat session.

Is there a "for dummies" book on this....

-----Original Message-----
From: Shapira, Yoav [] 
Sent: Thursday, April 08, 2004 7:47 AM
To: Tomcat Users List
Subject: RE: Connecting the HTTP Server and Tomcat

You can change fairly easily to run with commons-daemon.  Specific
instructions are at and general
instructions for daemon are at (for unix platforms)
and (for windows

As to your command-line options, it depends.  If you mean many -D params
for the JVMs, that's easy to copy and paste to the jsvc/procrun script.
If you mean options set by, there really aren't that many
(4-5, e.g. endorsed directory, classpath), and they're short.  You will
need to copy and paste those into your jsvc/procrun script if you write

You can also look at/extend $CATALINA_HOME/bin/catalina.xml, and use
commons-launcher ( to launch
your tomcat.  This eliminates the need for OS-specific scripts, instead
using an Ant file.  This Ant file (catalina.xml) provided with tomcat
has the utility tasks and information you'd need.  Please start another
thread on this mailing list if you go down one of these routes.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: SH Solutions []
>Sent: Wednesday, April 07, 2004 5:35 PM
>To: 'Tomcat Users List'
>Subject: RE: Connecting the HTTP Server and Tomcat
>Currently I use
> start | stop
>to control tomcat 4.1.x and 5.0.x running as root.
>Can I change it easily to use commons-daemon (running as non-root)?
>A lot of command line options are set in Would I need to
>this manually ?
>  Steffen
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message