Ken A wrote:

> Hello,
> Do you know of any Servlet add-ons for apache that actually handle
> servlets / servlet engines in this way? We'd like to offer more than
> just a guestbook servlet, but we can't afford to invest a lot of people
> resources to police servlet performance, memory usage, etc.
>
> What ISP's need is something like SUEXEC for apache, that runs the
> servlet with the user's permissions, and that also controls the startup
> and shutdown of servlet engines. Will servlets function under SUEXEC?
> Then we could set ulimits for user groups, so that users can't run away
> with memory, but how do we set up the servlet zones to actually run the
> servlets in separate engines?
>
> I am new to servlets, so please forgive me if this is simple.
> -Ken
>

Apache JServ can in fact be used as you describe.  The key is to assign a
servlet zone (under the appropriate virtual host) to each of your customers, and
then to start the JVM that runs the servlet for that zone manually.  Using this
approach, each JVM (i.e. each customer's servlet engine) is independent of all
others, can run under the customer's UNIX user ID (and thus with the user's
permissions) and can be memory limited based on what you set the maximum memory
heap size to.

For much more information on configuring Apache JServ, see the documentation at
the web site:

    http://java.apache.org

There is also a lot of configuration guidance in the FAQ-O-MATIC that is also
available on the site, as well as mailing lists when you can't find the answer
in either the docs or the FAQs.

Craig McClanahan

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to