Re: svn commit: r542247 - /tomcat/trunk/java/org/apache/catalina/connector/CometEventImpl.java

2007-05-29 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: [EMAIL PROTECTED] wrote: +/** + * Current set of configurations + */ +protected HashSet cometConfigurations = new HashSet(3); + protected WorkerThreadCheck threadCheck = new WorkerThreadCheck(); private static final Object threadCheckHolder = n

Split up SocketStatus.OPEN

2007-05-29 Thread Filip Hanik - Dev Lists
Can we split up SocketStatus.OPEN into SocketStatus.OPEN_READ - for read events SocketStatus.OPEN_WRITE - for write events currently SocketStatus.OPEN is for READ events, or if you have another suggestion to process data, let me know Filip -

Re: Split up SocketStatus.OPEN

2007-05-29 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: Can we split up SocketStatus.OPEN into SocketStatus.OPEN_READ - for read events SocketStatus.OPEN_WRITE - for write events currently SocketStatus.OPEN is for READ events, or if you have another suggestion to process data, let me know It's possible some new stat

Re: Split up SocketStatus.OPEN

2007-05-29 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: Filip Hanik - Dev Lists wrote: Can we split up SocketStatus.OPEN into SocketStatus.OPEN_READ - for read events SocketStatus.OPEN_WRITE - for write events currently SocketStatus.OPEN is for READ events, or if you have another suggestion to process data, let me know It's

svn commit: r542479 - in /tomcat/trunk/java/org/apache: catalina/connector/CometEventImpl.java coyote/http11/Http11NioProcessor.java tomcat/util/net/NioEndpoint.java tomcat/util/net/PollerInterest.jav

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 03:29:25 2007 New Revision: 542479 URL: http://svn.apache.org/viewvc?view=rev&rev=542479 Log: Added in the registration of comet interest operations Added in PollerInterest enumeration to satisfy different socket implementations and to decouple org.apache.tomcat fr

svn commit: r542482 - in /tomcat/trunk/java/org/apache: catalina/connector/CoyoteAdapter.java tomcat/util/net/AprEndpoint.java tomcat/util/net/NioEndpoint.java tomcat/util/net/SocketStatus.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 03:44:51 2007 New Revision: 542482 URL: http://svn.apache.org/viewvc?view=rev&rev=542482 Log: Add the additional SocketStatus event types, its up to the connector implementation to send the correct one. Currently the functionality is backwards compatible as OPEN ch

Re: svn commit: r542247 - /tomcat/trunk/java/org/apache/catalina/connector/CometEventImpl.java

2007-05-29 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: As I said quite a few times already, I don't think this sort of design is a good idea. Since you're apparently not willing to discuss much and/or reconsider things at the moment (too busy coding, eh ? ;) ), I don't think I can properly participate in the developme

svn commit: r542491 - in /tomcat/sandbox/comet/java/org/apache: catalina/ catalina/connector/ coyote/ tomcat/util/net/

2007-05-29 Thread remm
Author: remm Date: Tue May 29 04:24:13 2007 New Revision: 542491 URL: http://svn.apache.org/viewvc?view=rev&rev=542491 Log: - My own view on the Comet API extensions. The main differences are: * remove robustness checks (I believe they are not useful, as they have a performance cost, only handl

DO NOT REPLY [Bug 42536] New: - The procedure entry point getaddrinfo could not be located in WS2_32.dll

2007-05-29 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 42536] - The procedure entry point getaddrinfo could not be located in WS2_32.dll

2007-05-29 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 41509] - Jasper tries to add permissions to readonly PermissionCollection

2007-05-29 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

svn commit: r542512 - /tomcat/build/branches/tc5.0.x/build.xml

2007-05-29 Thread remm
Author: remm Date: Tue May 29 06:37:57 2007 New Revision: 542512 URL: http://svn.apache.org/viewvc?view=rev&rev=542512 Log: - Build updates for svn layout. - JDK 1.5 build compatibility (JDK 1.4 should still be used to build real releases, though). Modified: tomcat/build/branches/tc5.0.x/bui

svn commit: r542513 - in /tomcat/container/branches/tc5.0.x: catalina/build.xml tester/build.xml webapps/manager/WEB-INF/classes/org/apache/catalina/manager/HTMLManagerServlet.java webapps/manager/bui

2007-05-29 Thread remm
Author: remm Date: Tue May 29 06:38:39 2007 New Revision: 542513 URL: http://svn.apache.org/viewvc?view=rev&rev=542513 Log: - Build updates for svn layout. - JDK 1.5 build compatibility (JDK 1.4 should still be used to build real releases, though). Modified: tomcat/container/branches/tc5.0.x

svn commit: r542514 - /tomcat/jasper/branches/tc5.0.x/jasper2/src/share/org/apache/jasper/compiler/JspRuntimeContext.java

2007-05-29 Thread remm
Author: remm Date: Tue May 29 06:39:02 2007 New Revision: 542514 URL: http://svn.apache.org/viewvc?view=rev&rev=542514 Log: - Build updates for svn layout. - JDK 1.5 build compatibility (JDK 1.4 should still be used to build real releases, though). Modified: tomcat/jasper/branches/tc5.0.x/j

DO NOT REPLY [Bug 42536] - The procedure entry point getaddrinfo could not be located in WS2_32.dll

2007-05-29 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: Split up SocketStatus.OPEN

2007-05-29 Thread Remy Maucherat
Filip Hanik - Dev Lists wrote: I'll go ahead and plow forward if that is OK, and then we can disregard it if it turns into crap. I adopted this change, as it doesn't really seem possible to differentiate events otherwise, so it doesn't look like crap to me at the moment. Rémy -

svn commit: r542586 - in /tomcat/trunk/java/org/apache: catalina/connector/CoyoteAdapter.java catalina/connector/OutputBuffer.java catalina/connector/Request.java catalina/connector/Response.java coyo

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 09:46:23 2007 New Revision: 542586 URL: http://svn.apache.org/viewvc?view=rev&rev=542586 Log: adopted changes Modified: tomcat/trunk/java/org/apache/catalina/connector/CoyoteAdapter.java tomcat/trunk/java/org/apache/catalina/connector/OutputBuffer.java

svn commit: r542589 - /tomcat/trunk/java/org/apache/catalina/connector/CometEventImpl.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 09:54:27 2007 New Revision: 542589 URL: http://svn.apache.org/viewvc?view=rev&rev=542589 Log: simplify isreadable and iswriteable Modified: tomcat/trunk/java/org/apache/catalina/connector/CometEventImpl.java Modified: tomcat/trunk/java/org/apache/catalina/conn

DO NOT REPLY [Bug 42542] New: - The original request method is forwarded to the error page dispatcher

2007-05-29 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 42542] - The original request method is forwarded to the error page dispatcher

2007-05-29 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

svn commit: r542600 - in /tomcat/trunk/java/org/apache: catalina/CometEvent.java coyote/http11/Http11NioProcessor.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 10:52:36 2007 New Revision: 542600 URL: http://svn.apache.org/viewvc?view=rev&rev=542600 Log: Blocking and non blocking is the only configuration option right now, no need for the NO_IO option, as it can be controlled using the register/unregister options Modified

svn commit: r542603 - /tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 11:04:51 2007 New Revision: 542603 URL: http://svn.apache.org/viewvc?view=rev&rev=542603 Log: only notify the poller if it is done async, otherwise we don't need to, it will be done at the end of the request Modified: tomcat/trunk/java/org/apache/coyote/http11

svn commit: r542618 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 11:41:07 2007 New Revision: 542618 URL: http://svn.apache.org/viewvc?view=rev&rev=542618 Log: implement comet operation notification Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/

svn commit: r542644 - in /tomcat/trunk/java/org/apache: coyote/http11/Http11NioProcessor.java coyote/http11/Http11NioProtocol.java tomcat/util/net/NioBlockingSelector.java tomcat/util/net/NioEndpoint.

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 13:26:49 2007 New Revision: 542644 URL: http://svn.apache.org/viewvc?view=rev&rev=542644 Log: Make the new way of handling processors work with the ability to read headers in a non blocking way Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProc

svn commit: r542645 - in /tomcat/tc6.0.x/trunk: java/org/apache/coyote/http11/ test/org/apache/catalina/tribes/test/channel/ test/org/apache/catalina/tribes/test/interceptors/ webapps/docs/config/

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 13:41:53 2007 New Revision: 542645 URL: http://svn.apache.org/viewvc?view=rev&rev=542645 Log: Remove the non blocking handling of the request, doesn't work well with the new non thread local processor handling Modified: tomcat/tc6.0.x/trunk/java/org/apache/co

DO NOT REPLY [Bug 42532] - HttpServlerResponse encodeURL handles some HTML Entities incorrectly

2007-05-29 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

svn commit: r542649 - /tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 13:52:25 2007 New Revision: 542649 URL: http://svn.apache.org/viewvc?view=rev&rev=542649 Log: The protocol class will register the socket with the poller for another read event Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java Modif

DO NOT REPLY [Bug 42532] - HttpServlerResponse encodeURL handles some HTML Entities incorrectly

2007-05-29 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

svn commit: r542666 - in /tomcat/trunk/java/org/apache: coyote/http11/Http11NioProcessor.java coyote/http11/InternalNioInputBuffer.java tomcat/util/net/NioEndpoint.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 14:53:52 2007 New Revision: 542666 URL: http://svn.apache.org/viewvc?view=rev&rev=542666 Log: implement non blocking reading of the request line Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java tomcat/trunk/java/org/apache/coyote

svn commit: r542671 - /tomcat/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 15:04:24 2007 New Revision: 542671 URL: http://svn.apache.org/viewvc?view=rev&rev=542671 Log: question mark has to be a global variable Modified: tomcat/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java Modified: tomcat/trunk/java/org/apache/coyo

svn commit: r542673 - /tomcat/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 15:08:19 2007 New Revision: 542673 URL: http://svn.apache.org/viewvc?view=rev&rev=542673 Log: added in some comments Modified: tomcat/trunk/java/org/apache/coyote/http11/InternalNioInputBuffer.java Modified: tomcat/trunk/java/org/apache/coyote/http11/InternalN

svn commit: r542674 - /tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 15:13:26 2007 New Revision: 542674 URL: http://svn.apache.org/viewvc?view=rev&rev=542674 Log: When using a comet connection, register the requested operations instead of the default read Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProtocol.ja

svn commit: r542678 - /tomcat/trunk/java/org/apache/catalina/connector/CometEventImpl.java

2007-05-29 Thread fhanik
Author: fhanik Date: Tue May 29 15:23:36 2007 New Revision: 542678 URL: http://svn.apache.org/viewvc?view=rev&rev=542678 Log: setup default operation Modified: tomcat/trunk/java/org/apache/catalina/connector/CometEventImpl.java Modified: tomcat/trunk/java/org/apache/catalina/connector/CometE

Re: svn commit: r542678 - /tomcat/trunk/java/org/apache/catalina/connector/CometEventImpl.java

2007-05-29 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Author: fhanik Date: Tue May 29 15:23:36 2007 New Revision: 542678 URL: http://svn.apache.org/viewvc?view=rev&rev=542678 Log: setup default operation Modified: tomcat/trunk/java/org/apache/catalina/connector/CometEventImpl.java Modified: tomcat/trunk/java/org/apach

svn commit: r542701 - in /tomcat/sandbox/comet/java/org/apache: catalina/connector/CometEventImpl.java coyote/http11/Http11AprProcessor.java coyote/http11/Http11AprProtocol.java tomcat/util/net/AprEnd

2007-05-29 Thread remm
Author: remm Date: Tue May 29 17:17:11 2007 New Revision: 542701 URL: http://svn.apache.org/viewvc?view=rev&rev=542701 Log: - More plumbing code. So far, the API looks fine to expose the needed functionality. Modified: tomcat/sandbox/comet/java/org/apache/catalina/connector/CometEventImpl.ja

DO NOT REPLY [Bug 42532] - HttpServlerResponse encodeURL handles some HTML Entities incorrectly

2007-05-29 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 42542] - The original request method is forwarded to the error page dispatcher

2007-05-29 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 42254] - ANT script to precompile jsp file fails

2007-05-29 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 42343] - Posted parameters are not available

2007-05-29 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

How to get the hostname from servlet context

2007-05-29 Thread ooper01
Wondering how to programatically get the hostname that is in server.xml. I suspect it is loaded into some object when Tomcat starts up, but I'm not sure how to access it. What I want is the defaultHost attribute of the Engine element. I have the ServletContext object and in the debugger (Eclipse)