Dan Adams wrote:
Do you run tomcat? Roughly what does your tomcat setup look like?
- If you run virtual hosts do you run all apps in the same jvm or do you
run multiple jvm instances?
- What memory settings do you use?
- Do you use tomcat with apache and if so what connector do you use?
Mod_jk? jk2? mod_proxy? mod_proxy_ajp?
- Any other tips your can give from experience?
At Servprise, we use Apache httpd 2.0.x with mod_jk interfacing with a
single Tomcat instance. Fortunately, we only have one Web site to run
on this server.
I spent a pretty good deal of time trying to figure out the best way to
set it up. We ultimately went with something that may not be optimal,
but works quite well. You're best avoiding mod_jk2, since it's not
defunct. If you're going to use one of them, go with mod_jk. I looked
into using mod_proxy, but it ended up being overly complex and I had
some issues with port mappings, IIRC. I haven't tried mod_proxy_ajp,
but with Apach httpd 2.2.x+, it's now the preferred method.
Unfortunately, I don't believe it's supported at all on older servers,
so unless you're running the latest version of the software, you're SOL
on that front.
mod_jk works quite well. For resources I don't want to pass through
Tomcat, I just JkUnmount them. Just be aware that there's an issue with
Tapestry 4.0.x appending jsessionids to static resources that will cause
404s when trying to retrieve JkUnmount'd resources. From what I
understand, this has been fixed in 4.1.x.
I hope that helps somehow.
--
Kevin Menard
Servprise International, Inc.
"Remote reboot without pulling the plug" -- http://www.servprise.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]