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? Regards

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=rev&rev=486466 Log: remove not used methods Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/

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=rev&rev=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: tomcat

Support for

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 tag. Is this something you plan to implement or would want? -David --

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

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: [EM

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 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) && !session.isVal

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: 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 got

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=rev&rev=486282 Log: no functional change -- remove tabs, Sorry ;( Modified: tomcat/connectors/trunk/jk/java/org/apache/coyote/ajp/AjpAprProcessor.java tomcat/connectors/trunk/jk/java/or

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=rev&rev=486280 Log: no functional change -- remove tabs, Sorry ;( Modified: tomcat/connectors/trunk/jk/java/org/apache/jk/common/JkInputStream.java Modified: tomcat/connectors/trunk/jk/ja

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=rev&rev=486266 Log: no functional change -- remove tabs, Sorry ;( Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/connector/Response.java Modified: tomcat/conta

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=rev&rev=486219 Log: Add support to send and receive more the 8K BODY packets. I'm not happy with that. Ther

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 fileupload

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=rev&rev=486217 Log: Add support to send and receive more the 8K BODY packets. Modified: tomcat/connectors/trunk/jk/java/org/apache/jk

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=rev&rev=486216 Log: Backport AJP packetSize handling from Tomcat 6.0.x Add support to send and receive more the 8K BODY packets. Modified

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

2006-12-12 Thread Filip Hanik - Dev Lists
-1 on using tabs instead of spaces ;) [EMAIL PROTECTED] wrote: Author: pero Date: Tue Dec 12 08:35:15 2006 New Revision: 486219 URL: http://svn.apache.org/viewvc?view=rev&rev=486219 Log: Add support to send and receive more the 8K BODY packets. Modified: tomcat/container/tc5.5.x/catalin

mod_jk 1.2.20 max_packet_size handling

2006-12-12 Thread Peter Rossbach
Hi Rainer and Mladen, I made the paketSize port to tomcat 5.5 tree. Now, I start some testing and ... - I have successfull send more than 8k to the client with a download request. But I must patch o.a.c.connector.Response and AjpAprProcessor.SocketOutputBuffer and JkInputStream to set cor

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=rev&rev=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 ne

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=rev&rev=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:

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=rev&rev=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: tomcat/connectors

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=rev&rev=486216 Log: Backport AJP packetSize handling from Tomcat 6.0.x Add support to send and receive more the 8K BODY packets. Modified: tomcat/connectors/trunk/jk/java/org/apache/coyote/

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 f

DO NOT REPLY [Bug 40668] - MailSessionFactory is missing in Tomcat 5.5.20

2006-12-12 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: 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. className="org.apache.catalina.cluster.tcp.ReplicationValve" filter

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 Cookie(Global

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
[EMAIL PROTECTED] wrote: if ((session != null) && !session.isValid()) session = null; if (session != null) { +if(!requestedSessionId.equals(session.getId())) { +Cookie cookie = new Cookie(Globals.SESSION_COOKIE_NAME, +