Hallo,

I read a lot of documents but didn't found a solution.

Is there a way to let different apaches use the same tomcat-instance ?

We have to manage different apaches on the same machine (let's say: germany,
france, .. - one IP for each of them)
All of them must be able to serve JSP's and Servlets (using mod_jk) - all
the files are located at this single machine (linux) (sourcedir: web,
including subdirs: de, fr, ... - containing the files of the various
apaches).
The idea is to start a single tomcat instance running a loadbalancer which
will be used by each apache.

I've used the apache's mod_rewrite to difference between the different
JSP-dirs (let's say: //germany/JSP will become a //germany/de_JSP, ... For
these I defined contexts e.g: /de_JSP, /fr_JSP, ...
[ e.g. the germany will generate a //germany/de_JSP/hello.jsp (called as:
//germany/JSP/hello.jsp) and the france will generate:
//france/fr_JSP/hello.jsp (called as: //france/JSP/hello.jsp) ]

The tomcat runs a loadbalancer which will spread the incoming requests all
over the contexts.

Is this a "good" idea (resources), is this possible OR should I (have to)
create different tomcats (one for each apache) ?

Thanks,
Bernd.

Reply via email to