Bug report for Tomcat 3 [2006/03/19]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 2350|Ver|Nor|2001-06-27|ServletConfig.getInitParameter() requires url-patt| | 2478|Opn|Cri|2001-07-06|Passing Session variables between JSP's and Servle| | 4551|Opn|Nor|2001-10-31|Ctx( /tt01 ): IOException in: R( /tt01 + /com/abc/| | 4980|New|Min|2001-11-20|Startup message indicates incorrect log file | | 4994|New|Nor|2001-11-21|Tomcat needs a mechanism for clean and certain shu| | 5064|New|Cri|2001-11-25|Socket write error when include files is more than| | 5108|New|Maj|2001-11-26|Docs for Tomcat 3.2.x appear to be for Tomcat 3.3 | | 5137|New|Nor|2001-11-27|Null pointer in class loader after attempting to r| | 5160|Unc|Maj|2001-11-28|'IllegalStateException' | | 5331|New|Nor|2001-12-09|getPathInfo vs URL normalization | | 5510|New|Blk|2001-12-19|How to call ejb deployed in JBoss from Tomcat serv| | 5756|New|Nor|2002-01-08|jspc.bat exits with wrong ERRORLEVEL | | 5797|New|Nor|2002-01-10|UnCatched ? StringIndexOutOfBoundsException: Strin| | 6027|New|Maj|2002-01-25|Tomcat Automatically shuts down as service | | 6168|New|Blk|2002-02-01|IllegalStateException | | 6451|New|Cri|2002-02-14|Stackoverflow | | 6478|New|Enh|2002-02-14|Default Tomcat Encoding | | 6488|Ver|Maj|2002-02-15|Error: 304. Apparent bug in default ErrorHandler c| | 6648|New|Nor|2002-02-25|jakarta-servletapi build with java 1.4 javadoc err| | 6989|New|Maj|2002-03-08|Unable to read tld file during parallel JSP compil| | 7013|New|Cri|2002-03-10|Entering a servlet path with non-ISO8859-1 charact| | 7227|New|Nor|2002-03-19| directive don't work | | 7626|New|Nor|2002-03-29|classloader not working properly | | 7652|New|Cri|2002-04-01|Tomcat stalls periodically| | 7785|New|Blk|2002-04-06|tomcat bug in context reloading | | 7863|New|Maj|2002-04-09|I have a problem when running Tomcat with IIS | | 8187|New|Cri|2002-04-17|Errors when Tomcat used with MS Access database | | 8239|New|Cri|2002-04-18|Resource temporary unavailable| | 8263|New|Cri|2002-04-18|url-pattern easy to circumvent| | 9250|New|Maj|2002-05-20|outOfMemoryError | | 9367|New|Maj|2002-05-23|HttpSessionBindingEvent not thrown for HttpSession| | 9390|New|Nor|2002-05-24|jasper compilation error in tomcat| | 9480|New|Nor|2002-05-29|Data connection pooling | | 9607|New|Maj|2002-06-04|precompile JSP| | 9737|Ver|Nor|2002-06-10|ArrayIndexOutOfBoundsException when sending just p| |10047|New|Cri|2002-06-20|IllegalStateException | |10202|New|Maj|2002-06-25|Tomcat is not responding in time | |10357|Unc|Blk|2002-06-30|java.lang.IllegalArgumentException: Short Read| |10406|New|Cri|2002-07-02|IllegalStateException | |11087|New|Blk|2002-07-23|IllegalStateException | |11286|New|Maj|2002-07-30|Tomcat threads not respond if increase JVM size | |11466|New|Nor|2002-08-05|ContextManager: SocketException reading request | |12156|New|Cri|2002-08-29|Apache and Tomcat 3.3.1 Interworking problem | |12194|New|Maj|2002-08-30|Tomcat does not send WWW-Authenticate header | |12852|New|Nor|2002-09-20|May be error in _jspService() -> out.flushBuffers(| |14386|New|Maj|2002-11-08|Date headers corrupted using setDateHeader| |15632|New|Nor|2002-12-23|Problem with the Tomcat Sessions Parameter on URL | |16363|New|Cri|2003-01-23|Stack Overflow accessing compiled JSP - Tomcat 3.2| |17915|New|Maj|2003-03-12|Jasper ignores manifest classpath | |19114|New|Nor|2003-04-17|RequestDispatcherImpl does not set root cause exce| |19143|New|Nor|2003-04-18|if TOMCAT_INSTALL differs from TOMCAT_HOME -sequri| |20238|New|Maj|2003
Bug report for Watchdog [2006/03/19]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 278|Unc|Nor|2000-12-04|Bug in GetParameterValuesTestServlet.java file Bug| | 279|Unc|Nor|2000-12-04|Logical Error in GetParameterValuesTestServlet Bug| | 469|Unc|Nor|2001-01-17|in example-taglib.tld "urn" should be "uri" BugRat| | 470|Unc|Nor|2001-01-17|FAIL positiveForward.jsp and positiveInclude.jsp B| | 9634|New|Enh|2002-06-05|No tests exist for ServletContext.getResourcePaths| |10703|New|Enh|2002-07-11|Need to test getRequestURI after RequestDispatcher| |11336|New|Enh|2002-07-31|Test wrapped path methods with RD.foward()| |11663|New|Maj|2002-08-13|JSP precompile tests rely on Jasper specific behav| |11664|New|Maj|2002-08-13|A sweep is needed of all Watchdog 4.0 tag librarie| |11665|New|Maj|2002-08-13|ServletToJSPErrorPageTest and ServletToServletErro| |11666|New|Maj|2002-08-13|SetBufferSize_1TestServlet is invalid.| |14004|New|Maj|2002-10-28|Incorrent behaviour of all attribute-related lifec| |15504|New|Nor|2002-12-18|JSP positiveGetValues test relies on order preserv| |24649|New|Nor|2003-11-12|getRemoteHost fails when agent has uppercase chara| |29398|New|Nor|2004-06-04|Update site and note current status | +-+---+---+--+--+ | Total 15 bugs | +---+ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bug report for Tomcat 5 [2006/03/19]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |17310|Ver|Nor|2003-02-22|;jsessionid confuses StandardHostcan't find Co| |19803|Ver|Maj|2003-05-09|manager reload fails and disables app - Incompatib| |19958|Ver|Maj|2003-05-15|Problems reading ServletInputStream | |20268|Opn|Maj|2003-05-27|Tomcat 5.0.2 takes 100% CPU | |21045|Ver|Nor|2003-06-24|Manager app does find resources | |21600|Ver|Nor|2003-07-15|'s lost after manager stop/start or rel| |22295|Opn|Min|2003-08-11|Catalina is not able to stop on the first time: it| |22679|Ver|Enh|2003-08-24|how to access ssl session ID out of tomcat to prev| |22986|Ver|Nor|2003-09-08|Web apps with context XML file don't start if CATA| |24413|Ver|Nor|2003-11-04|bundled JMX implementation not compliant to specif| |24943|Ver|Nor|2003-11-24|Tomcat 5.0.14 / Windows 2000 Service does not star| |25078|Ver|Nor|2003-11-29|Catalina Ant Serverinfo task always fails | |27338|Ver|Maj|2004-03-01|Wrong mappings for JSP Documents (.jspx) | |28039|New|Enh|2004-03-30|Cluster Support for SingleSignOn | |28633|Ass|Enh|2004-04-27|Add JMX Support to ClusterManager | |28634|Ass|Enh|2004-04-27|Extend StandardManager/StandardSession for DeltaMa| |28709|Ver|Nor|2004-04-30|javax.servlet.http.HttpServletRequest.isRequestedS| |28875|Ver|Nor|2004-05-10|Multi-byte characters in default error page aren't| |29091|Opn|Nor|2004-05-19|Non-ascii characters are not handled correctly... | |29160|Ver|Enh|2004-05-23|precompile problem: _jspx_meth_* (javax.servlet.js| |29494|Opn|Enh|2004-06-10|No way to set PATH when running as a service on Wi| |29497|Unc|Nor|2004-06-10|Connection pool, redeployment | |29521|Ver|Cri|2004-06-11|No destroy methods called on service shutdown | |30241|Ver|Enh|2004-07-21|Enhance build script to use branch argument when c| |30489|Opn|Cri|2004-08-05|removeAttribute: Session already invalidated | |30833|Ver|Nor|2004-08-24|request.getServerPort() returns wrong port (WAS: r| |31339|Opn|Maj|2004-09-21|admin app throwing struts exceptions | |32180|New|Nor|2004-11-11|EL functions are executed in privileged context | |32280|Ver|Cri|2004-11-17|Problem clustering tomcat when a failed server is | |32569|Ass|Nor|2004-12-07|ServletContextListener will not die | |32593|Inf|Maj|2004-12-09|Server (Apache 2.0.48) reached MaxClients setting | |32754|Inf|Nor|2004-12-17|Can't modify thread configuration attributes of AJ| |32832|Ver|Maj|2004-12-23|request.getSession(false) fails to return null. | |33180|Ver|Nor|2005-01-20|JSTL automatic type conversion gives unexpected re| |33262|Inf|Nor|2005-01-27|Service Manager autostart should check for adminis| |33356|Inf|Maj|2005-02-02|Incorrect parsing of tag attributes | |33407|Inf|Nor|2005-02-05|\$ is quoted even with el-ignored=true| |33453|Opn|Enh|2005-02-08|Jasper should recompile JSP files whose datestamps| |33650|Inf|Enh|2005-02-19|Jasper performance for multiple files processing | |33671|Opn|Enh|2005-02-21|Manual Windows service installation with custom na| |33806|Opn|Maj|2005-03-02|Session tracking using URL rewriting fails, if cli| |33831|Ver|Nor|2005-03-03|RequestDispatcher.forward and resource missing| |34006|Ver|Nor|2005-03-14|Undeploy of webapps with antiResourceLocking in ME| |34016|Ver|Nor|2005-03-15|antiResourceLocking webapp fails to deploy on Tomc| |34033|Ver|Nor|2005-03-16|Cannot delete users using Administration Tool weba| |34076|Inf|Nor|2005-03-18|overriding content.xml docBase with manager webapp| |34319|New|Nor|2005-04-06|StoreBase.processExpires() is very inefficient| |34396|Inf| |2005-04-11|security exception using datasource in| |35635|New|Nor|2005-07-06|Tomcat service does not log startup error messages| |35746|Inf|Nor|2005-07-14|session manager should be immune to system clock t| |35765|New|Enh|2005-07-16|make the SSL cipher config in server.xml fail safe| |35827|Inf
Bug report for Tomcat 4 [2006/03/19]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 3839|Opn|Enh|2001-09-26|Problem bookmarking login page| | 4227|Opn|Enh|2001-10-17|Invalid CGI path | | 5329|New|Enh|2001-12-08|NT Service exits startup before Tomcat is finished| | 5795|New|Enh|2002-01-10|Catalina Shutdown relies on localhost causing prob| | 5829|New|Enh|2002-01-13|StandardManager needs to cope with sessions throwi| | 5985|New|Enh|2002-01-23|Tomcat should perform a more restrictive validatio| | 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 'isRequestedSessionI| | 6614|New|Enh|2002-02-21|Have Bootstrap and StandardClassLoader use the sam| | 6671|New|Enh|2002-02-25|Simple custom tag example uses old declaration sty| | 7043|New|Enh|2002-03-12|database user and password for JDBC Based Store | | 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on standard output| | 7676|New|Enh|2002-04-02|Allow name property to use match experssions in without className in server.xml produces N| |11069|Opn|Enh|2002-07-23|Tomcat not flag error if tld is outside of /WEB-IN| |11129|New|Enh|2002-07-24|New valve for putting the sessionIDs in the reques| |11248|New|Enh|2002-07-29|DefaultServlet doesn't send expires header| |11754|Opn|Enh|2002-08-15|Synchronous shutdown script - shutdown.sh should w| |12069|New|Enh|2002-08-27|Creation of more HttpSession objects for one previ| |12658|New|Enh|2002-09-15|a proxy host and port at the element level | |12766|New|Enh|2002-09-18|Tomcat should use tld files in /WEB-INF/ over vers| |13309|Opn|Enh|2002-10-04|Catalina calls System.exit() | |13634|New|Enh|2002-10-15|Allowing system properties to be substituted in co| |13689|Opn|Enh|2002-10-16|Classloader paths for 'Common' classes and librari| |13731|New|Enh|2002-10-17|Final request, response, session and other variabl| |13941|New|Enh|2002-10-24|reload is VERY slow | |13965|New|Enh|2002-10-25|Catalina.sh correction request for Tru64 Unix | |14097|New|Enh|2002-10-30|hardcoded registry value for vm lets tomcat servic| |14416|New|Enh|2002-11-10|blank tag name in TLD cause NullPointerException | |14635|New|Enh|2002-11-18|Should be possible not to have -MM-DD in log f| |14766|New|Enh|2002-11-22|Redirect Vavle| |14993|New|Enh|2002-12-02|Possible obselete synchronized declaration| |15115|New|Enh|2002-12-05|correct docs... XML parser *cannot* be overridden | |15417|Opn|Enh|2002-12-16|Add port for forced compilation of JSP pages | |15688|New|Enh|2002-12-27|full-qualified names instead of imports | |15893|New|Enh|2003-01-08|Need a getPort() method on Connector or similar fu| |15941|New|Enh|2003-01-10|Expose rootCause exceptions at deeper levels | |16294|New|Enh|2003-01-21|Configurable URL Decoding.| |16357|New|Enh|2003-01-23|"connection timeout reached" | |16531|New|Enh|2003-01-29|Updating already deployed ".war" files in a single| |16579|New|Enh|2003-01-30|documentation page layout/style breaks wrapping to| |16596|New|Enh|2003-01-30|option for disabling log rotation | |17070|New|Enh|2003-02-14|The Catalina Ant tasks do not allow for 'reusable'| |17146|New|Enh|2003-02-18|Simplify build.xml using
svn commit: r387083 - /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java
Author: billbarker Date: Sun Mar 19 16:18:58 2006 New Revision: 387083 URL: http://svn.apache.org/viewcvs?rev=387083&view=rev Log: Remove bogus default for query-string Modified: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java Modified: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java?rev=387083&r1=387082&r2=387083&view=diff == --- tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java (original) +++ tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java Sun Mar 19 16:18:58 2006 @@ -76,7 +76,6 @@ methodMB.setString("GET"); uriMB.setString("/"); -queryMB.setString(""); protoMB.setString("HTTP/1.0"); } @@ -486,7 +485,6 @@ schemeMB.recycle(); methodMB.setString("GET"); uriMB.setString("/"); -queryMB.setString(""); protoMB.setString("HTTP/1.0"); //remoteAddrMB.setString("127.0.0.1"); //remoteHostMB.setString("localhost"); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387086 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Author: fhanik Date: Sun Mar 19 16:26:40 2006 New Revision: 387086 URL: http://svn.apache.org/viewcvs?rev=387086&view=rev Log: Added important notes to the total order protocol Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387086&r1=387085&r2=387086&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 16:26:40 2006 @@ -33,6 +33,11 @@ Once there is a coordinator in the group, the total order protocol is the same as the OrderInterceptor, except that it gets its message number from the coordinator, prior to sending it out. +The TotalOrderInterceptor, will keep a order number per member, +this way, ordering is kept intact when different messages are sent +two different members, ie +Message A - all members - total order (mbrA-2, mbrB-2, mbrC-2, mbrD-2) +Message B - mbrC,mbrD only - total order (mbrA-2, mbrB-2, mbrC-3, mbrD-3) 21. Implement a WAN membership layer, using a WANMbrInterceptor and a WAN Router/Forwarder (Tipi on top of a ManagedChannel) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387087 - in /tomcat/container/tc5.5.x/modules/groupcom: src/share/org/apache/catalina/tribes/Channel.java to-do.txt
Author: fhanik Date: Sun Mar 19 16:33:52 2006 New Revision: 387087 URL: http://svn.apache.org/viewcvs?rev=387087&view=rev Log: more todo notes Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java?rev=387087&r1=387086&r2=387087&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java (original) +++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java Sun Mar 19 16:33:52 2006 @@ -43,6 +43,7 @@ public static final int SEND_OPTIONS_SYNCHRONIZED_ACK = 0x0002; public static final int SEND_OPTIONS_DEFAULT = SEND_OPTIONS_USE_ACK; public static final int SEND_OPTIONS_BYTE_MESSAGE = 0x0004; +public static final int SEND_OPTIONS_ASYNCHRONOUS = 0x0008; /** Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387087&r1=387086&r2=387087&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 16:33:52 2006 @@ -26,6 +26,13 @@ Code Tasks: === +24. MessageDispatchInterceptor - for asynchronous sending +- looks at the options flag SEND_OPTIONS_ASYNCHRONOUS +- has two modes + a) async parallel send - each message to all destinations before next message + b) async per/member - one thread per member using the FastAsyncQueue +- (optional)persistent - writes messages to persistent store first, then starts processing +- Callback error handler - for when messages fail, and the application wishes to become notified 23. TotalOrderInterceptor - fairly straight forward implementation This interceptor would depend on the fact that there is some sort of - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387091 - /tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java
Author: billbarker Date: Sun Mar 19 16:51:45 2006 New Revision: 387091 URL: http://svn.apache.org/viewcvs?rev=387091&view=rev Log: While I'm at it, remove all of the bogus default settings. If the ProtocolHandler doesn't set these, then it's a bug that should be fixed. AFAIK, all Tomcat-supplied ProtocolHandlers work just fine, so there should be no functional change with a default install. Modified: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java Modified: tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java URL: http://svn.apache.org/viewcvs/tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java?rev=387091&r1=387090&r2=387091&view=diff == --- tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java (original) +++ tomcat/connectors/trunk/coyote/src/java/org/apache/coyote/Request.java Sun Mar 19 16:51:45 2006 @@ -74,10 +74,6 @@ parameters.setURLDecoder(urlDecoder); parameters.setHeaders(headers); -methodMB.setString("GET"); -uriMB.setString("/"); -protoMB.setString("HTTP/1.0"); - } @@ -478,16 +474,8 @@ queryMB.recycle(); methodMB.recycle(); protoMB.recycle(); -//remoteAddrMB.recycle(); -//remoteHostMB.recycle(); -// XXX Do we need such defaults ? schemeMB.recycle(); -methodMB.setString("GET"); -uriMB.setString("/"); -protoMB.setString("HTTP/1.0"); -//remoteAddrMB.setString("127.0.0.1"); -//remoteHostMB.setString("localhost"); instanceId.recycle(); remoteUser.recycle(); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387096 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Author: fhanik Date: Sun Mar 19 17:01:55 2006 New Revision: 387096 URL: http://svn.apache.org/viewcvs?rev=387096&view=rev Log: few more notes for asynchronous messaging done properly Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387096&r1=387095&r2=387096&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 17:01:55 2006 @@ -30,9 +30,10 @@ - looks at the options flag SEND_OPTIONS_ASYNCHRONOUS - has two modes a) async parallel send - each message to all destinations before next message - b) async per/member - one thread per member using the FastAsyncQueue + b) async per/member - one thread per member using the FastAsyncQueue (good for groups with slow receivers) - (optional)persistent - writes messages to persistent store first, then starts processing - Callback error handler - for when messages fail, and the application wishes to become notified +- MUST HAVE A LIMIT QUEUE SIZE IN MB, to avoid OOM errors or persist the queue. 23. TotalOrderInterceptor - fairly straight forward implementation This interceptor would depend on the fact that there is some sort of - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: svn commit: r386315 - /tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/compiler/ParserController.java
"Costin Manolache" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 3/17/06, Jean-frederic Clere <[EMAIL PROTECTED]> wrote: >> >> Costin Manolache wrote: >> >> >Sorry, I forgot there are 2 meanings of 'xml syntax' :-), I was >> >thinking >> if >> >the output >> >is an xml file - with encoding in declaration, but in regular jsp. >> >(well, >> >the patch is not dealing >> >with jspx anyway ) >> >I was referring to the fact that is >> >treated >> as >> >template text, >> >and pageEncoding (or web.xml ) takes precedence. >> >In jsp-xml ( jspx ) it seems we report an error if the web.xml encoding >> >doesn't match the >> > encoding. I can't see many use cases for having an explicit >> encoding >> >in the >> >xml header, and yet the file read with a different encoding. >> > >> > >> In my case the xml header is: >> (In EBCDIC...) >> Reading the file with ISO-8859-1 encoding only gives garbages. >> >> But the patch prevents reading the <@page pageEncoding="bla" %> so it >> is bad. > > > > Yes, the patch is bad - but what would be a good patch ? > > - if pageEncoding is not specified but document starts with encoding=...?> - use xml encoding It would be Tomcat-specific, but +1, since it's in the spirit of using the <[EMAIL PROTECTED] contentType="text/xml; charset=OSD_EBCDIC_DF04_1" %> as the default if pageEncoding isn't specified. > - if pageEncoding is specified and so is - report an > error > ( like jspx does ) or > a warning or choose the xml encoding -1, since the in JSP syntax corresponds to a 'charset=' on the Content-Type header. i.e. it's an output encoding on the page, not a way to read the input document. > - leave current behavior - use default 8859-1 or pageEncoding only. > Of course, this is what RIs, like GlassFish are required to do :). For Tomcat, I'm perfectly happy to have smart guessing as long as it doesn't override the declared <[EMAIL PROTECTED] pageEncoding="bla" %>. > is probably more used and supported ( i.e. more > 'standard' > :-) that jsp pageEncoding. > The jsp spec is clear that last option should be used - but having 2 > conflicting encodings is a source of problems, > and if we can't follow the 'higher' standard, we can at least warn. > > Well - not a big deal, but encodings tends to be a headache area for many > people, in particular > when different parts of the system have different 'standards' and defaults > plus autodetections ( on browser, http, html, > xml, or jsp ). > > Costin > > > The old code should be improved to allow to use the sourceEnc when the >> pageEncoding is not specified and ISO-8859-1 if none are specified. > > > > > > > Cheers >> >> Jean-Frederic >> >> > >> >Costin >> > >> > >> >On 3/17/06, Bill Barker <[EMAIL PROTECTED]> wrote: >> > >> > >> >> >> >> >> >> >> >>>-Original Message- >> >>>From: Costin Manolache [mailto:[EMAIL PROTECTED] >> >>>Sent: Friday, March 17, 2006 11:57 AM >> >>>To: Tomcat Developers List >> >>>Subject: Re: svn commit: r386315 - >> >>>/tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/compiler/Pa >> >>>rserController.java >> >>> >> >>>In his example ( where both XML and JSP declare encodings ) - >> >>>which one >> >>>would win ? >> >>> >> >>> >> >>The patch only affects pages in JSP syntax, so the is just >> >>another piece of template text :). >> >> >> >> >> >> >> >>>IMO the XML encoding should win i.e. if the file uses xml >> >>>syntax and starts >> >>>with >> >>>, then jsp >> >>>pageEncoding should >> >>>be ignored. >> >>>If a jsp is written using the XML syntax - it is supposed to >> >>>follow the XML >> >>>rules - there is no >> >>>exception in the XML spec for jsps specifying their different >> >>>syntax for >> >>>encoding. >> >>> >> >>> >> >>> >> >>The JSP expert group agrees with you:). In XML syntax, the XML >> >>encoding >> >>should win out over . >> >> >> >> >> >> >> >>>For non-XML jsps - I think respecting pageEncoding is a must, >> >>>the jsp reader >> >>>must scan the >> >>>file to find the pageEncoding string - which is not trivial ( >> >>>there is a >> >>>reason why XML requires the >> >>>encoding to be the first thing in the file, at the top, I >> >>>would't bet on >> >>>jasper implementing it correctly :-) >> >>> >> >>> >> >>> >> >>In JSP syntax, the spec (Appendix D) says that pageEncoding should win >> (at >> >>least when there is no matching in web.xml :). What >> the >> >>patch breaks is that with it Jasper won't even look for the >> >>pageEncoding >> >>most of the time. >> >> >> >>Jasper looks like it does a pretty good job of guessing to set up the >> >>Reader >> >>that scans for the pageEncoding directive. And JFC seems to agree, >> since >> >>the patch is to use the guessed encoding rather than the one that was >> >>specified :). >> >> >> >> >> >> >> >>>Costin >> >>> >> >>>On 3/17/06, Bill Barker <[EMAIL PROTECTED]> wrote: >> >>> >> >>> >> >> >> >> >-Original Message- >> >From: Jean-frederic Clere [mailto:[EMAIL PROTECT
svn commit: r387110 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Author: fhanik Date: Sun Mar 19 18:24:57 2006 New Revision: 387110 URL: http://svn.apache.org/viewcvs?rev=387110&view=rev Log: more notes about total token protocol Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387110&r1=387109&r2=387110&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 18:24:57 2006 @@ -26,6 +26,9 @@ Code Tasks: === +25. Member.uniqueId - 16 bytes unique for a member, UUID +Needed to not confuse a crashed member with a revived member on the same port + 24. MessageDispatchInterceptor - for asynchronous sending - looks at the options flag SEND_OPTIONS_ASYNCHRONOUS - has two modes @@ -35,6 +38,7 @@ - Callback error handler - for when messages fail, and the application wishes to become notified - MUST HAVE A LIMIT QUEUE SIZE IN MB, to avoid OOM errors or persist the queue. + 23. TotalOrderInterceptor - fairly straight forward implementation This interceptor would depend on the fact that there is some sort of membership coordinator, see task 9. @@ -46,6 +50,9 @@ two different members, ie Message A - all members - total order (mbrA-2, mbrB-2, mbrC-2, mbrD-2) Message B - mbrC,mbrD only - total order (mbrA-2, mbrB-2, mbrC-3, mbrD-3) +- The combination of Member uniqueId,orderId is unique, nothing else + this way, if a member crashes, we don't hold the queue, instead we start over. +- A TotalOrder token, will contain the coordinator uniqueId as well. 21. Implement a WAN membership layer, using a WANMbrInterceptor and a WAN Router/Forwarder (Tipi on top of a ManagedChannel) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387112 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Author: fhanik Date: Sun Mar 19 18:28:00 2006 New Revision: 387112 URL: http://svn.apache.org/viewcvs?rev=387112&view=rev Log: more todo tasks Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387112&r1=387111&r2=387112&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 18:28:00 2006 @@ -26,6 +26,11 @@ Code Tasks: === +27. XmlConfigurator - read an XML file to configure the channel. + +26. JNDIChannel - a way to bind the group channel in a JNDI tree, +so that shared resources can access it. + 25. Member.uniqueId - 16 bytes unique for a member, UUID Needed to not confuse a crashed member with a revived member on the same port @@ -53,6 +58,7 @@ - The combination of Member uniqueId,orderId is unique, nothing else this way, if a member crashes, we don't hold the queue, instead we start over. - A TotalOrder token, will contain the coordinator uniqueId as well. +- One parameter should be "receive sequence timeout" incase the coordinator is not responding. 21. Implement a WAN membership layer, using a WANMbrInterceptor and a WAN Router/Forwarder (Tipi on top of a ManagedChannel) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387113 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Author: fhanik Date: Sun Mar 19 18:30:50 2006 New Revision: 387113 URL: http://svn.apache.org/viewcvs?rev=387113&view=rev Log: no change, just remove empty lines Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387113&r1=387112&r2=387113&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 18:30:50 2006 @@ -20,9 +20,6 @@ 5. Ability to send on multiple streams at the same time, in parallel, to improve performance 6. Future version will have WAN membership and replication - - - Code Tasks: === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387114 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Author: fhanik Date: Sun Mar 19 18:31:23 2006 New Revision: 387114 URL: http://svn.apache.org/viewcvs?rev=387114&view=rev Log: notes about guarantee levels Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387114&r1=387113&r2=387114&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 18:31:23 2006 @@ -6,7 +6,7 @@ Why is tribes unique compared to JGroups/Appia 1. Uses NIO and TCP for guaranteed delivery and the ability to join large groups 2. Guarantees messages the following way -a) TCP messaging +a) TCP messaging, with a following READ for NIO to ensure non broken channel b) ACK messages from the receiver c) ACK after processing - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387115 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Author: fhanik Date: Sun Mar 19 18:32:14 2006 New Revision: 387115 URL: http://svn.apache.org/viewcvs?rev=387115&view=rev Log: added task for thread pool to grow/shrink Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387115&r1=387114&r2=387115&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 18:32:14 2006 @@ -23,6 +23,8 @@ Code Tasks: === +28. Thread pool should have maxThreads and minThreads and grow/shrink dynamically + 27. XmlConfigurator - read an XML file to configure the channel. 26. JNDIChannel - a way to bind the group channel in a JNDI tree, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
svn commit: r387117 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Author: fhanik Date: Sun Mar 19 18:38:10 2006 New Revision: 387117 URL: http://svn.apache.org/viewcvs?rev=387117&view=rev Log: two sequencer alternatives added to the total order protocol Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387117&r1=387116&r2=387117&view=diff == --- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original) +++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 18:38:10 2006 @@ -58,6 +58,18 @@ this way, if a member crashes, we don't hold the queue, instead we start over. - A TotalOrder token, will contain the coordinator uniqueId as well. - One parameter should be "receive sequence timeout" incase the coordinator is not responding. +- OPTION A) + the coordinator doesn't forward the message + since the app will not receive the proper error message, + instead the sequencer just returns the sequence, then the member itself sends the message + pros: the app will find out if the send failed/succeeded + cons: if the send fails, the sequencer is out of sync for the failed member + OPTION B) + The coordinator, receives the message, adds on the sequence number + then sends the message on behalf of the requesting members + pros: sequencer is in charge of the sequence + cons: the sequence can become overloaded, since it has to do all the trafficing +the requesting member will not know if the message failed/succeeded 21. Implement a WAN membership layer, using a WANMbrInterceptor and a WAN Router/Forwarder (Tipi on top of a ManagedChannel) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]