Re: Tomcat 5/Apache 2/JK2- production quality?

2004-09-29 Thread Nicolas Mailhot
Le mercredi 29 septembre 2004  12:43 -0400, Kurt Overberg a crit :
 Gang,
 
 I've been running a fairly large website (25000 pages/day) off of 
 Tomcat4.1.30/JK/Apache1.3 for quite some time now.  Its been running great, but 
 in expectation of needing some load balancing, I'm thinking of moving to 
 Tomcat5/Apache2/JK2.  Anyone have any thoughts or experiences with running these 
 versions in a production environment?  Thanks!

Henri Gomez stated yesterday on JPackage lists JK2 was not ready for
production and there would be a new integrated connector module in
apache 2.1 anyway. He got as far as to suggest we remove our JK2
package.

Now since he's heavily involved with JK1 you might want to take his
words with a grain of salt, but I personnally won't discount them (of
course, the hellish config system of JK2 helps a lot to make one's
mind). You'll notice even in the official JK2 doc pages there is no
clear endorsement of JK2 over JK1, and in fact large parts of it deal
only with JK1.

Regards,

-- 
Nicolas Mailhot


signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Re: Beginner for Apache Tomcat: Need Help

2004-09-29 Thread Nicolas Mailhot
Le mercredi 29 septembre 2004  16:55 +0100, TK a crit :

 4. Are there any guides on setting and configuring Apache and Tomcat
 in Linux environment?

Depending on the linux distro you target, there is probably already a
community of java users with howtos and sometimes prepackaged binaries.

For Redhat, Fedora, Suse/Novell and Mandrake the JPackage project
(http://www.jpackage.org) is a good starting point. Debian and Gentoo
also have their own packaging communities.

http://java.debian.net/index.php/CommonJavaPackaging should list the
projects that decided to come out of the woods and try to work together.

Regards,

-- 
Nicolas Mailhot


signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Re: Beginner for Apache Tomcat: Need Help

2004-09-29 Thread Nicolas Mailhot
Le mercredi 29 septembre 2004  14:28 -0400, Ben Souther a crit :
 For what it's worth.
 If you install Fedora Core II with All packages checked in the
 installer (I imagine it would work with all Development Tools too),
 it will install Apache and Tomcat 4.1x.
 
 The two will already be configured to work together.
 
 I haven't looked that closely at the configuration so I don't know what
 JDK it's using or any of the other particulars but it could be an easy
 shortcut to getting started.

Unfortunately the FC2 setup is gcj-based and not real useful in
production. FC3 (post-FC3 actually) should be closer to the current
JPackage with gcj compat added.

Cheers,

-- 
Nicolas Mailhot


signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Why run tomcat as root

2002-12-06 Thread Nicolas Mailhot
Hi,

I you are using Linux and a distribution that groks rpms, just install
the packages provided by jpackage (http://jpackage.zarb.org/) or even
those on jakarta (same maintainer, might be a little bit less
up-to-date). You'll get an hassle-free tomcat-mod_jk-apache solution,
with regular updates and almost no maintenance (no kidding, you won't
find any of the convoluted windows installation stories with these
packages).

jpackage rpms have been using a dedicated tomcat user almost from the
beginning (patches for the scripts are welcome if you find any
deficiencies). Don't spend hours setting up a tomcat config - just use
the same one and everyone else, and help polish it (no it's not 100% LSB
compliant yet, but we're working on it). And anyway, compared to the
weight of a java solution, apache is almost nothing - you won't even
notice it in system profiles if it used solely as a mod-jk gateway.

Regards,

-- 
Nicolas Mailhot [EMAIL PROTECTED]



signature.asc
Description: PGP signature


Exporting the same webapp on two different hosts

2002-12-04 Thread Nicolas Mailhot
[ Please cc me any replies as I'm not subscribed to the list ]

Hi,

I've been asked to export the same webapp on the same server on two
different hosts (basically the client wants to access the same server
both from its intranet and externally, but do not have nor want to setup
a network zone with good internal and external network connectivity. So
he just wants to add a second NIC to the server and give it a fit of
schizophrenia).

The current setup is Apache - mod_jk - tomcat 3.3.1 - IBM SDK 1.3.0 -
RH 7.3.

What I did is write a second app-foo.xml with a different Host pointing
on the same webapp dir (on a test server). It « seems » to work. However
I'd be really grateful if people could enlighten me on the following
points :
  * is it supposed to work (i.e. was this setup taken into account
when tomcat was written) ?
  *  do anyone runs a similar setup in prod ?
  *  will the memory usage be closer to one or two webapps (i.e. is
tomcat/the jvm/the system be smart enough to share resources
between the two hosts ) ?
  *  will the result of jsp compiles be shared between the two hosts
(it seems to be the case ) ?
  *  is there a risk of a component becoming confused ?
  *  what else should I look for ?

As you see I'm a bit nervous since the sane answer would be to put the
server in a correct networking zone, so I'm not sure this have been
tried before. Any answer (partial or full) will be appreciated.

Regards,

-- 
Nicolas Mailhot
One2team : 12 bis rue de la Pierre levée - 75011 Paris - France  
Tél : + 33 1 43 38 19 80 - Fax : +33 1 43 14 23 07



signature.asc
Description: PGP signature