|
I have
tried setting up multiple Tomcat instances standalone, but I have not tried to
connect them to Apache,
so
I may not be able to help you all the way, but here
goes:
First,
change the port references in the server.xml and workers.properties files, and
rename these files to something else.
Next,
complete the standalone setup changes. (You will want to run standalone at least
once, in order to configure mod_jk.conf-auto.)
In
order to run standalone, you need to change startup.sh and shutdown.sh to point
to the new server.xml file version, as follows:
$BASEDIR/tomcat.sh start -security -config
../conf/server_tst.xml "$@"
and:
$BASEDIR/tomcat.sh stop -config ../conf/server_tst.xml
"$@"
Now,
run Tomcat standalone to create the mod_jk.conf-auto
file.
You
can then edit the mod_jk.conf-auto file to point to your new workers.properties
file.
If you
are using AJP13, you will also have to perform additional manual edits in this
file, as it is built for AJP12, regardless
of
what is in the workers.properties file.
Finally, rename mod_jk.conf-auto and include it in
httpd.conf.
=========
Now,
repeat for your other Tomcat instances.
Let me
know if this works for you.
Ed
|
- converting mod_jserv to mod_jk Debra Mendelson, CCE
- Re: converting mod_jserv to mod_jk Ed Gomolka
- Re: converting mod_jserv to mod_jk Debra Mendelson, CCE
- RE: converting mod_jserv to mod_jk Ed Gomolka
- Re: converting mod_jserv to mod_jk Debra Mendelson, CCE
- weird nullpointer exception Filip Hanik
- BUG?: weird nullpointer exc... Filip Hanik
- error msg when build mod_jk... george
- error msg when build mo... george
- compiled mod_jk.so for ... Filip Hanik
- error msg when build mo... george
- Handle Multiple Forms On Mutlip... Choo Yew Beng
