[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?
>
> Are there any docs which cover in detail how the servlet
> engine gets started?
>
> Thanks,
>
> Mark
>
In general, there are two modes in which the servlet engine gets
started:
* "Automatic" mode - The servlet engine process is started by
the MOD_JSERV module when it initializes.
* "Manual" mode - You must run a shell script to start
the servlet engine application yourself.
In neither case is the executing process named "httpd" -- those are all
Apache processes. Instead, the executing program will be the name of
the "java" interpreter that is installed on your server. In automatic
mode, this is run as the same OS username as the Apache processes are,
but in manual mode you can start it up under any username you want.
If you are not seeing such a process, you don't have the thing
configured right. There are detailed instructions in the docs included
with Apache JServ, plus the FAQ-O-MATIC on the web site
(http://java.apache.org). A few months ago, Servlet Central
(http://www.servletcentral.com) ran a very detailed article about how to
install and configure Apache JServ.
As to "how" it gets started, the best source is looking at the code ...
:-)
Craig
>
> ----------------------------------------------------------------
> 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]
----------------------------------------------------------------
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]