Re: mod_perm and Java servlets

2001-01-18 Thread Gunther Birznieks

I understand that mod_jk is more efficient than mod_jserv. My sysadmin has 
not complained about any problems integrating mod_perl or mod_jk (but then 
mod_jk is in the front-end as stated below where mod_perl is in the backend 
apache server).

At 01:18 AM 1/18/2001 -0600, Les Mikesell wrote:

- Original Message -
From: "Terry Newnham" [EMAIL PROTECTED]
To: "mod_perl list" [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 6:51 PM
Subject: mod_perm and Java servlets


 
  Hi
 
  My boss has asked me to set up a web server on Solaris 8 with mod_perl
  and (if possible) Java servlet capabilities as well. Has anybody done
  this ? Any issues ?


If you expect the server to be busy you will probably want to set up a
lightweight front end apache without mod_perl and let it proxy the
mod_perl jobs to another server.   In this scheme it works well to
put apache jserve in the front end because it also uses a proxy-like
mechanism to hand off to the servlet engine (with load balancing
if you want to spread the servlets over multiple machines).  The
only problem I've seen have been memory leaks in the servlets
causing the jvm to grow, but apache will restart it for you if you
have to kill it once in a while.

  Les Mikesell
  [EMAIL PROTECTED]

__
Gunther Birznieks ([EMAIL PROTECTED])
eXtropia - The Web Technology Company
http://www.extropia.com/




Re: mod_perm and Java servlets

2001-01-17 Thread Perrin Harkins

I've heard mod_perm costs a lot more than its worth.  There was an
open-source clone called mod_home_perm but it wasn't very successful.  
Some people say you should skip it altogether and just use mod_hat.

On Thu, 18 Jan 2001, Terry Newnham wrote:
 My boss has asked me to set up a web server on Solaris 8 with mod_perl
 and (if possible) Java servlet capabilities as well. Has anybody done
 this ? Any issues ?

None that I know of, except that you really don't want the additional
memory overhead of mod_perl in a process that isn't using mod_perl.  You
might save some memory by having a separate server that runs just
mod_perl, and having your jserv (or whatever) server send requests for
mod_perl apps to it using mod_proxy.  See the mod_perl Guide for more info
on using a proxy with mod_perl.

- Perrin




Re: mod_perm and Java servlets

2001-01-17 Thread Andrew Ho

Hello,

TNMy boss has asked me to set up a web server on Solaris 8 with mod_perl
TNand (if possible) Java servlet capabilities as well. Has anybody done
TNthis ? Any issues ?

I've experimented with mod_perl and JRun on Solaris, and they've played
together nicely. As long as you're hefty on memory, it'll likely be a
while before you hit any significant memory problems as long as your load
is distributed evenly between Perl and Java.

If you use mostly one above the other, I'd do a proxied setup so you can
scale them separately. The management is also easier. However, for a dev
environment or a low-traffic one, having them co-exist is just fine.

Humbly,

Andrew

--
Andrew Ho   http://www.tellme.com/   [EMAIL PROTECTED]
Engineer   [EMAIL PROTECTED]  Voice 650-930-9062
Tellme Networks, Inc.   1-800-555-TELLFax 650-930-9101
--