Re: svn commit: r486005 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Request.java catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java webapps

2006-12-12 Thread Rainer Jung
Remy Maucherat wrote: [EMAIL PROTECTED] wrote: if ((session != null) !session.isValid()) session = null; if (session != null) { +if(!requestedSessionId.equals(session.getId())) { +Cookie cookie = new

Re: svn commit: r486005 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Request.java catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java webapps/

2006-12-12 Thread Peter Rossbach
Hi, I have implemented a JvmRouteBinderValve that detect a session failover. This valve rewrite the interal session id and send the change to other backup nodes. Cluster Valve className=org.apache.catalina.cluster.tcp.ReplicationValve

Serious mod_jk performance issue

2006-12-12 Thread Jess Holle
We're seeing a *serious *performance issue with mod_jk and large (e.g. 500MB+) file transfers. [This is with Apache 2.0.55, Tomcat 5.0.30, and various recent mod_jk including 1.2.20.] The performance of downloading the file via Apache is good, as is the performance when downloading directly

svn commit: r486216 - in /tomcat/connectors/trunk/jk/java/org/apache/coyote/ajp: AjpAprProcessor.java AjpAprProtocol.java AjpMessage.java

2006-12-12 Thread pero
Author: pero Date: Tue Dec 12 08:34:12 2006 New Revision: 486216 URL: http://svn.apache.org/viewvc?view=revrev=486216 Log: Backport AJP packetSize handling from Tomcat 6.0.x Add support to send and receive more the 8K BODY packets. Modified:

svn commit: r486217 - /tomcat/connectors/trunk/jk/java/org/apache/jk/common/JkInputStream.java

2006-12-12 Thread pero
Author: pero Date: Tue Dec 12 08:34:36 2006 New Revision: 486217 URL: http://svn.apache.org/viewvc?view=revrev=486217 Log: Add support to send and receive more the 8K BODY packets. Modified: tomcat/connectors/trunk/jk/java/org/apache/jk/common/JkInputStream.java Modified:

svn commit: r486219 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java

2006-12-12 Thread pero
Author: pero Date: Tue Dec 12 08:35:15 2006 New Revision: 486219 URL: http://svn.apache.org/viewvc?view=revrev=486219 Log: Add support to send and receive more the 8K BODY packets. Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java Modified:

Re: svn commit: r486219 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java

2006-12-12 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Author: pero Date: Tue Dec 12 08:35:15 2006 New Revision: 486219 URL: http://svn.apache.org/viewvc?view=revrev=486219 Log: Add support to send and receive more the 8K BODY packets. I'm not happy with that. There's some buffering taking place already, as the output

Re: svn commit: r486216 - in /tomcat/connectors/trunk/jk/java/org/apache/coyote/ajp: AjpAprProcessor.java AjpAprProtocol.java AjpMessage.java

2006-12-12 Thread Filip Hanik - Dev Lists
tabs used instead of spaces [EMAIL PROTECTED] wrote: Author: pero Date: Tue Dec 12 08:34:12 2006 New Revision: 486216 URL: http://svn.apache.org/viewvc?view=revrev=486216 Log: Backport AJP packetSize handling from Tomcat 6.0.x Add support to send and receive more the 8K BODY packets.

Re: svn commit: r486217 - /tomcat/connectors/trunk/jk/java/org/apache/jk/common/JkInputStream.java

2006-12-12 Thread Filip Hanik - Dev Lists
tabs used instead of spaces [EMAIL PROTECTED] wrote: Author: pero Date: Tue Dec 12 08:34:36 2006 New Revision: 486217 URL: http://svn.apache.org/viewvc?view=revrev=486217 Log: Add support to send and receive more the 8K BODY packets. Modified:

Re: mod_jk 1.2.20 max_packet_size handling

2006-12-12 Thread Mladen Turk
Peter Rossbach wrote: Hi Rainer and Mladen, I made the paketSize port to tomcat 5.5 tree. Now, I start some testing and ... OK. Although it's not that important. It worked already via APR connector. - second use case: Test a post file upload mod_jk don't send more then 8k at a

Re: svn commit: r486219 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java

2006-12-12 Thread Peter Rossbach
Hi Remy, Am 12.12.2006 um 17:57 schrieb Remy Maucherat: [EMAIL PROTECTED] wrote: Author: pero Date: Tue Dec 12 08:35:15 2006 New Revision: 486219 URL: http://svn.apache.org/viewvc?view=revrev=486219 Log: Add support to send and receive more the 8K BODY packets. I'm not happy with that.

svn commit: r486266 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java

2006-12-12 Thread pero
Author: pero Date: Tue Dec 12 10:23:44 2006 New Revision: 486266 URL: http://svn.apache.org/viewvc?view=revrev=486266 Log: no functional change -- remove tabs, Sorry ;( Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java Modified:

svn commit: r486280 - /tomcat/connectors/trunk/jk/java/org/apache/jk/common/JkInputStream.java

2006-12-12 Thread pero
Author: pero Date: Tue Dec 12 11:05:52 2006 New Revision: 486280 URL: http://svn.apache.org/viewvc?view=revrev=486280 Log: no functional change -- remove tabs, Sorry ;( Modified: tomcat/connectors/trunk/jk/java/org/apache/jk/common/JkInputStream.java Modified:

svn commit: r486282 - in /tomcat/connectors/trunk/jk/java/org/apache/coyote/ajp: AjpAprProcessor.java AjpAprProtocol.java AjpMessage.java

2006-12-12 Thread pero
Author: pero Date: Tue Dec 12 11:18:32 2006 New Revision: 486282 URL: http://svn.apache.org/viewvc?view=revrev=486282 Log: no functional change -- remove tabs, Sorry ;( Modified: tomcat/connectors/trunk/jk/java/org/apache/coyote/ajp/AjpAprProcessor.java

Re: mod_jk 1.2.20 max_packet_size handling

2006-12-12 Thread Peter Rossbach
Hi Mladen, Am 12.12.2006 um 19:17 schrieb Mladen Turk: Peter Rossbach wrote: Hi Rainer and Mladen, I made the paketSize port to tomcat 5.5 tree. Now, I start some testing and ... OK. Although it's not that important. It worked already via APR connector. Yes, but also I also have

Re: svn commit: r486005 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Request.java catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java webapps

2006-12-12 Thread Filip Hanik - Dev Lists
Rainer Jung wrote: Remy Maucherat wrote: [EMAIL PROTECTED] wrote: if ((session != null) !session.isValid()) session = null; if (session != null) { +if(!requestedSessionId.equals(session.getId())) { +Cookie cookie =

Re: svn commit: r486005 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Request.java catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java webapps

2006-12-12 Thread Rainer Jung
My impression now is, that we should backout the commit and the user should instead first try to use the existing Valve as described by Peter. Filip Hanik - Dev Lists wrote: Rainer Jung wrote: Remy Maucherat wrote: [EMAIL PROTECTED] wrote: if ((session != null)

Re: svn commit: r486219 - /tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java

2006-12-12 Thread Remy Maucherat
Peter Rossbach wrote: Yes, but as I configured packetSize greater then 8k, I would like to see that ajp send those big chunks. This will not be useful performance wise. The increased packet size is useful for sending certificates data in the first packet of the request, and that's about it.

Re: svn commit: r486005 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Request.java catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java webapps

2006-12-12 Thread Remy Maucherat
Rainer Jung wrote: My impression now is, that we should backout the commit and the user should instead first try to use the existing Valve as described by Peter. That seems reasonable to me. Rémy - To unsubscribe, e-mail:

Re: svn commit: r486005 - in /tomcat/container/tc5.5.x: catalina/src/share/org/apache/catalina/connector/Request.java catalina/src/share/org/apache/catalina/session/PersistentManagerBase.java webapps

2006-12-12 Thread Filip Hanik - Dev Lists
Rainer Jung wrote: My impression now is, that we should backout the commit and the user should instead first try to use the existing Valve as described by Peter. I agree, Filip Filip Hanik - Dev Lists wrote: Rainer Jung wrote: Remy Maucherat wrote: [EMAIL PROTECTED] wrote: if

Support for injection-target

2006-12-12 Thread David Blevins
I took a look through the tc6.0.x/trunk source and see the support for java.annotation.Resource and related annotations. Didn't see offhand support for the related xml injection-target tag. Is this something you plan to implement or would want? -David

svn commit: r486463 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/Cluster.java

2006-12-12 Thread fhanik
Author: fhanik Date: Tue Dec 12 18:34:30 2006 New Revision: 486463 URL: http://svn.apache.org/viewvc?view=revrev=486463 Log: Remove methods not needed by this interface. not used in any sub implementations Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/Cluster.java Modified:

svn commit: r486466 - /tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java

2006-12-12 Thread fhanik
Author: fhanik Date: Tue Dec 12 18:36:35 2006 New Revision: 486466 URL: http://svn.apache.org/viewvc?view=revrev=486466 Log: remove not used methods Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java Modified:

Re: Serious mod_jk performance issue

2006-12-12 Thread Rainer Jung
If noone finds a reason for it, I can go into it during the weekend. I would try to reproduce and research on Solaris. Concerning your data for Solaris: Apache and Tomcat were both on Solaris? The same machine or different? Network between Client (Browser?) and Apache was 100MBit or 1GBit?