-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

BJ,

On 4/8/2009 5:54 PM, BJ Selman wrote:
> We've got two identical tomcat servers load balanced with apache as
> frontend.

[snip]

> When you hit refresh, some graphics display
> while others go away.... keep hitting refresh and its a different
> result every time.... maybe every blue moon, ALL graphics will
> display.  If a session is threaded on tomcat1 (server1), there's not
> a problem.

Are you using mod_proxy_[something] or mod_jk to connect httpd to
Tomcat? If you are using mod_jk, does setting the "JkStripSession"
directive to "true" fix this problem?

JkStripSession will remove the ";jsessionid=..." parameter that is added
to certain URLs that application servers generate. Apache httpd is too
stupid to realize that this is a /parameter/ and not part of the actual
URL, and so it stupidly goes around the disk looking for a file called
"myLogo.gif;jsessionid=ABCD1234". JkStripSession removes the jsessionid
parameter from URLs that will /not/ be handled by Apache.

I'm not sure what the mod_proxy_[whatever] analog is.

This can also be done using mod_rewrite, but we'll only get to that if
you actually have this problem. Check your httpd error logs to see if
you're getting requests failing because it can't find a file with the
session id attached.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkndJhkACgkQ9CaO5/Lv0PDN3ACbBOG50MFuvIHIIiQpg7XCvSga
bX4AoJ0wf8lNSa/AFMSSmCamBJvRLCQ8
=jGTr
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to