Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

svn commit: r1063774 - in /tomcat/trunk: java/org/apache/coyote/http11/Http11AprProtocol.java java/org/apache/tomcat/util/net/AprEndpoint.java webapps/docs/changelog.xml

DO NOT REPLY New: Improve validationQuery error handling
(47 lines)
Jan 26, 2011
Markt
Markt
Author: markt
Date: Wed Jan 26 16:11:46 2011
New Revision: 1063774

URL: http://svn.apache.org/viewvc?rev=1063774&view=rev
Log:
Don't assume servlet 3+ async when processing long poll connections (it
might be comet)
Use socket rather than socket wrapper as key in connection list else comet
sockets may be lost

Modified:
    tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
    tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
URL:
http://svn.apache.org/viewvc/tomcat/t...774&view=diff

Reply
Tags: asynccometamppollviewvcapache
svn commit: r998141 - in /tomcat/trunk: java/org/apache/coyote/http11/Http11AprProtocol.java java/or
September 17, 2010 09:00:36 AM
Author: markt Date: Fri Sep 17 14:00:10 2010 New Revision: 998141 URL: http://svn.apache.org/viewvc?rev=998141&view=rev Log: NIO and APR processors don't use START/STOP so this code is unnecessary Modified: …
svn commit: r1002910 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
September 29, 2010 07:28:36 PM
Author: markt Date: Thu Sep 30 00:27:45 2010 New Revision: 1002910 URL: http://svn.apache.org/viewvc?rev=1002910&view=rev Log: Minor clean-up to align with AJP Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java …
svn commit: r1006341 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
October 10, 2010 02:14:36 PM
Author: markt Date: Sun Oct 10 19:14:13 2010 New Revision: 1006341 URL: http://svn.apache.org/viewvc?rev=1006341&view=rev Log: Only call asyncPostProcess for async requests Modified: …
svn commit: r1021780 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
October 12, 2010 09:10:23 AM
Author: markt Date: Tue Oct 12 14:09:59 2010 New Revision: 1021780 URL: http://svn.apache.org/viewvc?rev=1021780&view=rev Log: Stop async requests hanging - side effect of r1006358 Modified: …
svn commit: r979853 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
July 27, 2010 03:27:56 PM
Author: markt Date: Tue Jul 27 20:27:56 2010 New Revision: 979853 URL: http://svn.apache.org/viewvc?rev=979853&view=rev Log: Fix unit test failure with APR connector. Make sure MBeans are de-registered when connector stops. Modified: …
svn commit: r1002703 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
September 29, 2010 11:02:50 AM
Author: markt Date: Wed Sep 29 16:02:24 2010 New Revision: 1002703 URL: http://svn.apache.org/viewvc?rev=1002703&view=rev Log: Rename local variable to make code clearer Modified: …
svn commit: r980260 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
July 28, 2010 05:55:08 PM
Author: markt Date: Wed Jul 28 22:55:08 2010 New Revision: 980260 URL: http://svn.apache.org/viewvc?rev=980260&view=rev Log: Fix a failing test with the APR connector. Handle async requests that timeout. Modified: …
svn commit: r998164 - /tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java
September 17, 2010 09:57:41 AM
Author: markt Date: Fri Sep 17 14:56:58 2010 New Revision: 998164 URL: http://svn.apache.org/viewvc?rev=998164&view=rev Log: Remove unused import Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProtocol.java Modified:…
svn commit: r1037715 - in /tomcat/trunk: java/org/apache/tomcat/util/net/AprEndpoint.java webapps/do
November 22, 2010 07:43:40 AM
Author: markt Date: Mon Nov 22 13:42:01 2010 New Revision: 1037715 URL: http://svn.apache.org/viewvc?rev=1037715&view=rev Log: Fix https://issues.apache.org/bugzilla/process_bug.cgi Provide a workaround for an HP-UX issue that can result in…
svn commit: r991359 - in /tomcat/trunk: java/org/apache/coyote/http11/ webapps/docs/
August 31, 2010 05:09:42 PM
Author: markt Date: Tue Aug 31 22:07:58 2010 New Revision: 991359 URL: http://svn.apache.org/viewvc?rev=991359&view=rev Log: Re-factoring. Reduce code duplication. More still to be done. Modified: …
svn commit: r992881 - in /tomcat/trunk: java/org/apache/tomcat/util/net/AprEndpoint.java java/org/ap
September 5, 2010 02:48:21 PM
Author: markt Date: Sun Sep 5 19:47:36 2010 New Revision: 992881 URL: http://svn.apache.org/viewvc?rev=992881&view=rev Log: Make sure acceptor threads are stopped when the connector is stopped. Also fix @Override warnings for the method …
svn commit: r1038202 - in /tomcat/trunk: java/org/apache/coyote/http11/Http11NioProtocol.java java/o
November 23, 2010 10:59:29 AM
Author: markt Date: Tue Nov 23 16:57:47 2010 New Revision: 1038202 URL: http://svn.apache.org/viewvc?rev=1038202&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50207 Modified: …
svn commit: r1006358 - in /tomcat/trunk: java/org/apache/coyote/http11/Http11AprProcessor.java java/
October 10, 2010 05:10:56 PM
Author: markt Date: Sun Oct 10 22:10:27 2010 New Revision: 1006358 URL: http://svn.apache.org/viewvc?rev=1006358&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50044 for APR connector Modified: …
svn commit: r1063366 - in /tomcat/trunk: java/org/apache/coyote/http11/Http11NioProtocol.java java/o
January 25, 2011 11:20:47 AM
Author: markt Date: Tue Jan 25 17:20:20 2011 New Revision: 1063366 URL: http://svn.apache.org/viewvc?rev=1063366&view=rev Log: Fix various odd behaviours seen with a debugger. Observed both multiple and zero (rather than 1) selection events…
svn commit: r988645 - in /tomcat/trunk: java/org/apache/coyote/http11/Http11NioProcessor.java java/o
August 24, 2010 01:14:30 PM
Author: markt Date: Tue Aug 24 18:12:51 2010 New Revision: 988645 URL: http://svn.apache.org/viewvc?rev=988645&view=rev Log: Fix some edge cases in the NIO connector when handling requests that are not received all at the same time and the…
svn commit: r1038351 - in /tomcat/trunk: java/org/apache/coyote/ java/org/apache/coyote/http11/ java
November 23, 2010 03:47:59 PM
Author: markt Date: Tue Nov 23 21:45:56 2010 New Revision: 1038351 URL: http://svn.apache.org/viewvc?rev=1038351&view=rev Log: Move configuration of trailer header size limit to the connector Modified: …
svn commit: r1040189 - in /tomcat/trunk: java/org/apache/coyote/AsyncStateMachine.java webapps/docs/
November 29, 2010 10:59:43 AM
Author: markt Date: Mon Nov 29 16:58:05 2010 New Revision: 1040189 URL: http://svn.apache.org/viewvc?rev=1040189&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=50352 Ensure that AsyncListener.onComplete() is fired when…
svn commit: r992981 - in /tomcat/trunk: java/org/apache/catalina/util/ServerInfo.java webapps/docs/c
September 6, 2010 04:23:43 AM
Author: markt Date: Mon Sep 6 09:23:16 2010 New Revision: 992981 URL: http://svn.apache.org/viewvc?rev=992981&view=rev Log: (empty) Modified: tomcat/trunk/java/org/apache/catalina/util/ServerInfo.java …
svn commit: r996608 - in /tomcat/trunk/java/org/apache/coyote/http11: Http11AprProcessor.java Http11
September 13, 2010 12:29:35 PM
Author: markt Date: Mon Sep 13 17:28:53 2010 New Revision: 996608 URL: http://svn.apache.org/viewvc?rev=996608&view=rev Log: Code clean-up Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java …
svn commit: r1004145 - in /tomcat/trunk/java/org/apache/tomcat/util/net: AprEndpoint.java res/LocalS
October 4, 2010 03:52:41 AM
Author: mturk Date: Mon Oct 4 08:52:11 2010 New Revision: 1004145 URL: http://svn.apache.org/viewvc?rev=1004145&view=rev Log: Add log.warn if unlockAccept fails to wakeup the listening socket Modified: …
How to set up a different context to point to an external directory outside webapps Tomcat/Java
January 1, 2011
Hi Folks, I am successful to map an external directory by creating an xml file like : And I named this xml file as uploads.xml and saved under…
Linux kernel with grsec + Java / Apache Tomcat
June 12, 2010
I've got a Debian Linux 64 bit dedicated server. The kernel has the grsec patch applied. I'm mainly using this server to run Apache Tomcat (6.0.26,…
Java.security.AccessControlException: access denied (java.io.FilePermission /usr/share/java/jsp-api-2.0.jar read)
January 14, 2011
I am trying to deploy me application to Tomcat 5.5 on Debian Lenny. I am getting the following exception: java.security.AccessControlException:…
Eclipse tomcat: how can i deploy a java tomcat project to a directory without having tomcat installed?
November 23, 2010
Hello. I'm writing a tomcat project to be executed by red5 so I don't have any tomcat servers available. how can I deploy the project to a specific…
Java.util.regex
January 18, 2011
can anyone explain to me how to identify using regexes any string that contains for example a single P character in it? Could yo also explain how…
BlazeDS, Flex, and Java - Can I treat a RemoteObject like an instance of the Java class?
January 25, 2011
I'm sorry if this question is a bit obvious, but I'm new to BlazeDS and can't seem to find an answer. I'm running Java on a BlazeDS server with a…
Looking for a drop-in replacement for a java.util.Map
January 18, 2011
Problem Following up on this question , it seems that a file- or disk-based Map implementation may be the right solution to the problems I mentioned…
Doubt in JAVA and tomcat
January 12, 2011
I've few doubts regarding constructor in java Can a constructor be private? If yes then in which condition? Constructor is a method or not? If…
How to change java version on Tomcat 6 with Xampp
September 1, 2009
With just Tomcat, it's pretty easy to change the JVM version. But using the tomcat add-on on an xampp install, I can't seem to figure out how to…
Java.util.regex.Matcher.replaceAll replacing without a match?
January 1, 2011
According to the javadoc: Replaces every subsequence of the input sequence that matches the pattern with the given replacement string. This seems to…
How to create stop/start java application like tomcat ?
January 12, 2011
How can i create a java application that can start/stop like tomcat. It must run 24/24.
How to beat JSoup access denied java.net.SocketPermission in tomcat 6?
January 17, 2011
I got exception java.security.AccessControlException: access denied (java.net.SocketPermission www.somepage.net:80 connect,resolve) when I try doc =…
MongoDB Java Driver database connection pooling with Tomcat
January 10, 2011
According to the MongoDB Java driver documentation, database connection pooling is magically handled by the Mongo object. Does this mean it is safe…
Java Web Application on Tomcat - Displaying a File Uploaded by User
January 7, 2011
I need to display uploaded files on a web application, the flow is as follows User uploads file through web UI Validation on image Makes call to…
Send postfix mail to Java application running on Tomcat
November 3, 2010
hey, I have a Postfix mail server, and I want to forward my received emails to my application written in Java and running on a Tomcat web server. As…
Tomcat context reload after java source file was modified
December 29, 2010
when developing a web application that deployed on tomcat in eclipse, when the tomcat server is running if I modify a java source file and save it…
java.lang.ClassNotFoundException: org.springframework.instrument.classloading.tomcat.TomcatInstrumentableClassLoader
January 6, 2011
hello I am putting spring.jar file in my lib folder but still there is error like Jan 6, 2011 6:28:00 PM…
What is the difference between java.net.SocketException: Connection reset and java.net.SocketException: Broken Pipe?
January 10, 2011
What is the difference between java.net.SocketException: Connection reset and java.net.SocketException: Broken Pipe? I am trying to figure what are…
How to call axis apache client in java
January 21, 2011
My code: import org.apache.axis.client.Call; import org.apache.axis.client.Service; import javax.xml.namespace.QName; public class Test_Web_Service…
Java, mysql and apache package for ms-windows xp
January 4, 2011
from where i can get package which includes java, mysql and apache for windows xp? how we can install a package of java, mysql and apache on…