mod_jk error log

2006-04-27 Thread Todd Huss
On all of our webservers from development (doing 1 page view every  
few minutes) to production (doing 500 page views per minute) we're  
seeing these error messages in the mod_jk log:


[Thu Apr 20 17:57:45 2006] [jk_ajp_common.c (783)]: ERROR: can't  
receive the response message from tomcat, network problems or tomcat  
is down (127.0.0.1:8009), err=-54
[Thu Apr 20 17:57:45 2006] [jk_ajp_common.c (1250)]: Tomcat is down  
or network problems. No response has been sent to the client (yet)
[Thu Apr 20 17:57:45 2006] [jk_ajp_common.c (1449)]: ERROR: Receiving  
from tomcat failed, recoverable operation. err=0
[Thu Apr 20 17:57:45 2006] [jk_ajp_common.c (1468)]: sending request  
to tomcat failed in send loop. err=0


The site appears to be working fine and I haven't noticed any  
problems but it's a little disconcerting to these messages going by  
every 5 minutes. We're running Apache 1.3.33 and Mod_jk 1.2.13 on  
FreeBSD. Any idea what configuration setting might be causing this  
and how we might fix it?


Thanks,
Todd

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Setting sessions to only use cookies

2006-04-23 Thread Todd Huss
Is there a way in Tomcat to configure it to only use cookies for sessions and 
disable jsessionid URL rewriting? I'd like to use c:url in my application so 
that I can deploy the war anywhere and it will rewrite the base path propely.


However, the URL rewriting with jsessionid's is problematic for search engines 
because crawlers generally don't accept cookies so they index pages with 
session id's in the URL which is bad for SEO. A quick google search shows how 
bad the problem is with millions of pages containing jsessionid in the URL:


http://www.google.com/search?q=inurl%3Ajsessionid

Resin has an option to address this in the config file:

enable-url-rewritingfalse/enable-url-rewriting

Anything similar in Tomcat?

Thanks,
Todd
http://gabrito.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]