Re: VirtualHost inheritance (was Re: [Bug 43753] ...)

2007-11-02 Thread Rainer Jung
Mladen Turk schrieb: > Rainer Jung wrote: >> Hi, >> >> be careful: > > OK :) > >> >> I also added an option JkMountCopyAll, > > OK, but clone is called when there is no "JkMountCopy All" defined > if (sconf && sconf->was_initialized == JK_TRUE && jk_mount_copy_all == > JK_FALSE) { > clone_jk

Re: VirtualHost inheritance (was Re: [Bug 43753] ...)

2007-11-02 Thread Mladen Turk
Rainer Jung wrote: Hi, be careful: OK :) I also added an option JkMountCopyAll, OK, but clone is called when there is no "JkMountCopy All" defined if (sconf && sconf->was_initialized == JK_TRUE && jk_mount_copy_all == JK_FALSE) { clone_jk_config So if there is *no* module direct

Re: VirtualHost inheritance (was Re: [Bug 43753] ...)

2007-11-02 Thread Rainer Jung
Hi, be careful: I added clone after 1.2.25 exaxctly because of the problem, that the Apache API doesn't call the config create callback for a vhost, if the vhost contains no config directives for some module. In our situation we have the following assumptions: - we don't want to automatically in

Re: VirtualHost inheritance (was Re: [Bug 43753] ...)

2007-11-02 Thread Mladen Turk
Ian Ward Comfort wrote: clone_jk_config is bogus, and doesn't behave like it should (copy only the basic data and no mounts) Was this function introduced since 1.2.25? Yes, I was talking about trunk not 1.2.25 Regards, Mladen ---

DO NOT REPLY [Bug 43647] - Content-Type changes unexpectedly from text/html to text/plain

2007-11-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 41939] - NPE in Logging due to classloading

2007-11-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Are Sticky Sessions really necessary?

2007-11-02 Thread Stephen Wick
The Tomcat 5.5 "Clustering/Session Replication Guide" says, "Make sure that your loadbalancer is configured for sticky session mode." However, I don't see the term "Sticky" sessions anywhere in the Servlet 2.3 or 2.4 specifications. Are sticky sessions really required for clustering to function

Re: Are Sticky Sessions really necessary?

2007-11-02 Thread Len Popp
You can indeed use session replication without sticky sessions, and the session data will be copied to all the Tomcat servers. However it may be inefficient. You probably have to use synchronous replication to ensure the session data is consistent across the cluster, which adds latency to the reque

svn commit: r591502 - in /tomcat/connectors/trunk/jk/native/common: jk_map.c jk_map.h

2007-11-02 Thread rjung
Author: rjung Date: Fri Nov 2 15:55:58 2007 New Revision: 591502 URL: http://svn.apache.org/viewvc?rev=591502&view=rev Log: Adding jk_map_copy(). Such a function existed in mod_jk.c. Since it's general purpose we move it to jk_map. Modified: tomcat/connectors/trunk/jk/native/common/jk_map.c

svn commit: r591504 - in /tomcat/connectors/trunk/jk/native: apache-1.3/mod_jk.c apache-2.0/mod_jk.c

2007-11-02 Thread rjung
Author: rjung Date: Fri Nov 2 16:00:52 2007 New Revision: 591504 URL: http://svn.apache.org/viewvc?rev=591504&view=rev Log: Use new general purpose function jk_map_copy() instead of httpd private copy_jk_map(). Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c tomcat/connec

svn commit: r591507 - in /tomcat/connectors/trunk/jk/native: apache-1.3/mod_jk.c apache-2.0/mod_jk.c

2007-11-02 Thread rjung
Author: rjung Date: Fri Nov 2 16:09:52 2007 New Revision: 591507 URL: http://svn.apache.org/viewvc?rev=591507&view=rev Log: Add utility function to mod_jk.c for merging two tables. Copy an entry from src to dst, if there is no entry for the same key in dst. Modified: tomcat/connectors/trunk/

svn commit: r591510 - in /tomcat/connectors/trunk/jk/native: apache-1.3/mod_jk.c apache-2.0/mod_jk.c

2007-11-02 Thread rjung
Author: rjung Date: Fri Nov 2 16:19:11 2007 New Revision: 591510 URL: http://svn.apache.org/viewvc?rev=591510&view=rev Log: Fix configuration initialization behaviour for virtual hosts, which contain no JK directive. HTTPD does not call create_jk_config or merge_jk_config for those hosts. It simp

svn commit: r591512 - in /tomcat/connectors/trunk/jk: native/apache-1.3/mod_jk.c native/apache-2.0/mod_jk.c xdocs/miscellaneous/changelog.xml

2007-11-02 Thread rjung
Author: rjung Date: Fri Nov 2 16:26:28 2007 New Revision: 591512 URL: http://svn.apache.org/viewvc?rev=591512&view=rev Log: Apache: Allow JkMount and JkUnMount patterns to start with '*' and '?' in addition to '/'. Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c tomcat/c

svn commit: r591514 - /tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c

2007-11-02 Thread rjung
Author: rjung Date: Fri Nov 2 16:36:49 2007 New Revision: 591514 URL: http://svn.apache.org/viewvc?rev=591514&view=rev Log: Fix porting error from httpd 2.0/2.2 module to 1.3 module. Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c Modified: tomcat/connectors/trunk/jk/native/

svn commit: r591522 - /tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c

2007-11-02 Thread rjung
Author: rjung Date: Fri Nov 2 17:27:55 2007 New Revision: 591522 URL: http://svn.apache.org/viewvc?rev=591522&view=rev Log: Complete allowing mount patterns beginning with "*" or "?" in addition to "/". Modified: tomcat/connectors/trunk/jk/native/common/jk_uri_worker_map.c Modified: tomcat/

svn commit: r591524 - in /tomcat/connectors/trunk/jk/native: apache-1.3/mod_jk.c apache-2.0/mod_jk.c

2007-11-02 Thread rjung
Author: rjung Date: Fri Nov 2 17:38:35 2007 New Revision: 591524 URL: http://svn.apache.org/viewvc?rev=591524&view=rev Log: We created a new server config structure, but we didn't use it :( Modified: tomcat/connectors/trunk/jk/native/apache-1.3/mod_jk.c tomcat/connectors/trunk/jk/native/

DO NOT REPLY [Bug 42003] - Need to increase the maximum buffer size for HTTP header from 16k to 64k.

2007-11-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: Are Sticky Sessions really necessary?

2007-11-02 Thread Peter Rossbach
Hi, It is not only ineffizient and a risk, Read 7.7.2 at the spec: SRV.7.7.2 Distributed Environments Within an application marked as distributable, all requests that are part of a session must be handled by one Java Virtual Machine1 (“JVM”) at a time. The container must be able to handle al