[EMAIL PROTECTED] wrote:
>Hello,
>
>After looking at the docs, I cannot tell how the
>servlet engine gets started. Since I start both apache and
>the servlet engine with /opt/apache/bin/apachectl start, I
>assume that the servlet engine is started by apache when the
>mod_jserv.so module is initialized. If this is correct, the
>servlet engine process is named "httpd". Is there any way to know
>which httpd process is the servlet engine?

In automatic mode mod_jserv starts up a Java process with the jserv
properties file as a parameter. You can also start it up manually by using
a little shell script. The process is named with the name of the Java
application, so you can do a ps and see it listed there. In automatic mode
the process is owned by the same user that owns the Apache httpd processes.
In automatic mode it also writes the PID to the log file if logging is
enabled in mod_jserv.

>Are there any docs which cover in detail how the servlet
>engine gets started?

There's always the source code. See src/c/jserv_wrapper.c and
src/c/jserv_wrapper_unix.c.

-- Ari Halberstadt mailto:[EMAIL PROTECTED] <http://www.magiccookie.com/>
PGP public key available at <http://www.magiccookie.com/pgpkey.txt>




----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to