Bug report for Taglibs [2010/08/22]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |27717|New|Maj|2004-03-16| very slow in JSTL 1.1 | |33934|New|Cri|2005-03-09|[standard] memory leak in jstl c:set tag | |38193|Ass|Enh|2006-01-09|[RDC] BuiltIn Grammar support for Field | |38600|Ass|Enh|2006-02-10|[RDC] Enable RDCs to be used in X+V markup (X+RDC)| |42413|New|Nor|2007-05-14|[PATCH] Log Taglib enhancements | |43640|New|Nor|2007-10-16|Move the tests package to JUnit | |45197|Ass|Nor|2008-06-12|Need to support the JSTL 1.2 specification| |46052|New|Nor|2008-10-21|SetLocaleSupport is slow to initialize when many l| |48333|New|Nor|2009-12-02|TLD generator | |48773|New|Nor|2010-02-19|DataSourceWrapper and DriverManager problems | |49292|New|Nor|2010-05-14|Memory leak in org.apache.taglibs.standard.lang.js| |49578|New|Nor|2010-07-09|XPath handling only supports single reference to v| +-+---+---+--+--+ | Total 12 bugs | +---+ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Bug report for Tomcat 5 [2010/08/22]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |27122|Opn|Enh|2004-02-20|IE plugins cannot access components through Tomcat| |28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn | |29494|Inf|Enh|2004-06-10|No way to set PATH when running as a service on Wi| |33262|Inf|Enh|2005-01-27|Service Manager autostart should check for adminis| |33453|Opn|Enh|2005-02-08|Jasper should recompile JSP files whose datestamps| |33671|Opn|Enh|2005-02-21|Manual Windows service installation with custom na| |34801|New|Enh|2005-05-08|PATCH: CGIServlet does not terminate child after a| |34805|Ass|Enh|2005-05-08|warn about invalid security constraint url pattern| |34868|Ass|Enh|2005-05-11|allow to register a trust store for a session that| |35054|Inf|Enh|2005-05-25|warn if appBase is not existing as a File or direc| |36133|Inf|Enh|2005-08-10|Support JSS SSL implementation| |36362|New|Enh|2005-08-25|missing check for Java reserved keywords in tag fi| |36569|Inf|Enh|2005-09-09|Redirects produce illegal URL's | |36837|Inf|Enh|2005-09-28|Looking for ProxyHandler implementation of Http re| |36922|Inf|Enh|2005-10-04|setup.sh file mis-advertised and missing | |37018|Ass|Enh|2005-10-11|Document how to use tomcat-SSL with a pkcs11 token| |37334|Inf|Enh|2005-11-02|Realm digest property not aligned with the adminis| |37485|Inf|Enh|2005-11-14|I'd like to run init SQL after JDBC Connection cre| |38113|Opn|Nor|2006-01-03|getQueryString returns null instead of empty-strin| |38216|Inf|Enh|2006-01-10|Extend Jmxproxy to allow call of MBean Operations | |38268|Inf|Enh|2006-01-13|User friendly: Need submit button on adding/deleti| |38360|Inf|Enh|2006-01-24|Domain for session cookies| |38546|Inf|Enh|2006-02-07|Google bot sends invalid If-Modifed-Since Header, | |38577|Inf|Enh|2006-02-08|Enhance logging of security failures | |38916|Inf|Enh|2006-03-10|HttpServletRequest cannot handle multipart request| |39053|Inf|Enh|2006-03-21|include Tomcat embedded sample| |39740|New|Enh|2006-06-07|semi-colon ; isn't allowed as a query argument sep| |39862|Inf|Enh|2006-06-22|provide support for protocol-independent GenericSe| |40211|Inf|Enh|2006-08-08|Compiled JSP don't indent HTML code | |40222|Inf|Enh|2006-08-09|Default Tomcat configuration alows easy session hi| |40402|New|Enh|2006-09-03|Manager should display Exceptions | |40510|New|Enh|2006-09-14|installer does not create shortcuts for all users | |40712|New|Enh|2006-10-10|Realm admin error.| |40728|Inf|Enh|2006-10-11|Catalina MBeans use non-serializable classes | |40766|New|Enh|2006-10-16|Using an unsecure jsessionid with mod_proxy_ajp ov| |40881|Opn|Enh|2006-11-02|Unable to receive message through TCP channel -> | |41007|Opn|Enh|2006-11-20|Can't define customized 503 error page| |41179|New|Enh|2006-12-15|400 Bad Request response during auto re-deployment| |41227|Opn|Enh|2006-12-21|When the jasper compiler fails to compile a JSP, i| |41337|Opn|Enh|2007-01-10|Display an error page if no cert is available on C| |41496|New|Enh|2007-01-30|set a security provider for jsse in a connector co| |41498|New|Enh|2007-01-30|allRolesMode Realm configuration option not docume| |41539|Inf|Enh|2007-02-05|NullPointerException during Embedded tomcat restar| |41673|New|Enh|2007-02-21|Jasper output the message of compiling error using| |41697|Ver|Enh|2007-02-25|make visible in debug output if charset from brows| |41709|Inf|Enh|2007-02-26|When calling the API that relates to the buffer af| |41718|New|Enh|2007-02-27|Status 302 response to GET request has no body whe| |42416|New|Enh|2007-05-14|Tomcat startup hangs and AJP13 connector port 8009| |43423|New|Enh|2007-09-18|catalina.sh -force too fast | |43538|New|Enh|2007-10-02|[patch] Show the hostname and IP address in the ma| |43796|Inf|Enh|2007-11-05|Add MIME type mapping for the "log" extension | |43866|
Bug report for Tomcat 6 [2010/08/22]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |39661|Opn|Enh|2006-05-25|Please document JULI FileHandler configuration pro| |41128|Inf|Enh|2006-12-07|Reference to java Thread name from RequestProcesso| |41679|New|Enh|2007-02-22|SemaphoreValve should be able to filter on url pat| |41791|New|Enh|2007-03-07|Tomcat behaves inconsistently concerning flush-pac| |41883|Ass|Enh|2007-03-18|use abstract wrapper instead of plain X509Certific| |41944|New|Enh|2007-03-25|Start running the RAT tool to see where we're miss| |41992|New|Enh|2007-03-30|Need ability to set OS process title | |42463|New|Enh|2007-05-20|"crossContext" and classloader issues - pls amend | |43001|New|Enh|2007-07-30|JspC lacks setMappedFile and setDie for use in Ant| |43003|New|Enh|2007-07-30|Separate dependent component download and build ta| |43400|New|Enh|2007-09-14|enum support for tag libs | |43497|New|Enh|2007-09-26|Add ability to escape rendered output of JSP expre| |43548|Opn|Enh|2007-10-04|xml schema for tomcat-users.xml | |43642|New|Enh|2007-10-17|Add prestartminSpareThreads attribute for Executor| |43682|New|Enh|2007-10-23|JULI: web-inf/classes/logging.properties to suppor| |43742|New|Enh|2007-10-30|.tag compiles performed one at a time -- extremel| |43790|Ass|Enh|2007-11-03|concurrent access issue on TagHandlerPool | |43979|New|Enh|2007-11-27|Add abstraction for Java and Classfile output | |44047|New|Enh|2007-12-10|Provide a way for Tomcat to serve up error pages w| |44199|New|Enh|2008-01-10|expose current backlog queue size | |44225|New|Enh|2008-01-14|SSL connector tries to load the private keystore f| |44264|New|Enh|2008-01-18|Clustering - Support for disabling multicasting an| |44284|New|Enh|2008-01-23|Support java.lang.Iterable in c:forEach tag | |44294|New|Enh|2008-01-25|Support for EL functions with varargs | |44299|New|Enh|2008-01-26|Provider manager app with a log out button| |44312|New|Enh|2008-01-28|Warn when overwritting docBase of the default Host| |44598|New|Enh|2008-03-13|JAASRealm is suppressing Exceptions | |44645|New|Enh|2008-03-20|[Patch] JNDIRealm - Doesn't support JNDI "java.nam| |44787|New|Enh|2008-04-09|provide more error context on "java.lang.IllegalSt| |44818|New|Enh|2008-04-13|tomcat hangs with GET when content-length is defin| |45014|New|Enh|2008-05-15|Request and Response classes should have wrappers | |45282|New|Enh|2008-06-25|NioReceiver doesn't close cleanly, leaving sockets| |45283|Opn|Enh|2008-06-25|Allow multiple authenticators to be added to pipel| |45428|New|Enh|2008-07-18|warn if the tomcat stop doesn't complete | |45654|New|Enh|2008-08-19|use static methods and attributes in a direct way!| |45731|New|Enh|2008-09-02|Enhancement request : pluggable httpsession cache | |45832|New|Enh|2008-09-18|add DIGEST authentication support to Ant tasks| |45871|New|Enh|2008-09-23|Support for salted and digested patches in DataSou| |45878|New|Enh|2008-09-24|Generated jars do not contain proper manifests or | |45879|Opn|Enh|2008-09-24|Windows installer fails to install NOTICE and RELE| |45931|Opn|Enh|2008-10-01|trimSpaces incorrectly modifies output| |45995|New|Enh|2008-10-13|RFE - MIME type extension not case sensitive | |46173|New|Enh|2008-11-09|Small patch for manager app: Setting an optional c| |46263|New|Enh|2008-11-21|Tomcat reloading of context does not update contex| |46264|New|Enh|2008-11-21|Shutting down tomcat with large number of contexts| |46284|New|Enh|2008-11-24|Add flag to DeltaManager that blocks processing cl| |46350|New|Enh|2008-12-05|Maven repository should contain source bundles| |46451|New|Enh|2008-12-30|Configure svn:bugtraq properties | |46461|New|Enh|2009-01-01|fail graceful on dns changes for connectors/hosts | |46497|New|Enh|2009-01-08|Install Tomcat Deployer/ANT on Windows Platform | |46558|New|Enh|2009-01-19|Shutdown port with address binding| |46655|
Bug report for Tomcat 7 [2010/08/22]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |48550|New|Enh|2010-01-14|Update examples and default server.xml to use UTF-| |48692|New|Enh|2010-02-07|Provide option to parse application/x-www-form-url| |48837|New|Enh|2010-03-01|Memory leaks protection does not cure leaks trigge| |48870|New|Enh|2010-03-08|avoid parallel arrays of base types | |48892|New|Enh|2010-03-11|Use URIEncoding from server.xml for decoding post | |49000|New|Enh|2010-03-26|Cookie parsing bug when an empty value has an equa| |49100|New|Enh|2010-04-12|Mutable public constants: MemberImpl.TRIBES_MBR_BE| |49101|New|Enh|2010-04-12|All constants in tribes.transport.Constants are mu| |49102|New|Enh|2010-04-12|coyote.ajp.Constants - 3 "constant" arrays are mut| |49125|New|Enh|2010-04-14|toString on byte[] array probably is not correct | |49126|New|Enh|2010-04-14|jasper.compiler.Generator.createJspId() can genera| |49142|New|Enh|2010-04-16|Missing serialVersionUIDs | |49159|New|Enh|2010-04-20|Improve ThreadLocal memory leak clean-up | |49165|New|Enh|2010-04-21|Enhancement - Allow %{TIME_FORMAT}t As Configurati| |49180|New|Enh|2010-04-24|Add option to disable log rotation in FileHandler.| |49234|New|Nor|2010-04-30|JMX Descriptor Modifications | |49284|New|Enh|2010-05-12|Implement SSL renegotiation for the NIO connector | |49290|New|Enh|2010-05-14|Using a JarScanner with scanAllDirectories=true ca| |49295|New|Enh|2010-05-14|JMXAccessorTask.getProperties() - return Propertie| |49297|New|Min|2010-05-15|Whitespace absence is allowed before attribute nam| |49317|New|Enh|2010-05-20|org.apache.catalina.util.Base64 interface needs re| |49318|New|Enh|2010-05-20|add a Negotiate (Kerberos/NTLM) authenticator / in| |49395|New|Enh|2010-06-06|manager.findLeaks : display the date when the leak| |49426|New|Nor|2010-06-11|Manager app wrongly localized | |49589|New|Enh|2010-07-12|Tag handlers with constant attribute values are al| |49591|New|Enh|2010-07-13|Custom error page always uses Transfer-Encoding: c| |49650|New|Enh|2010-07-26|Streamline package.access property definition in c| |49667|New|Nor|2010-07-29|JdbcLeakPrevention class can register unregistered| |49669|New|Nor|2010-07-29|Static reference from javax.security.auth.Policy.| |49670|New|Reg|2010-07-29|org.apache.catalina.authenticator.SingleSignOn val| |49683|New|Nor|2010-08-01|Separate keep-alive and connection timeout with AP| |49698|Opn|Maj|2010-08-03|AsyncContext timeout always return http 500 | |49704|New|Blk|2010-08-04|Cognos TM1 Contributor - Unable to deploy WAR File| |49711|New|Nor|2010-08-05|HttpServletRequest#getParts() does not work in a F| |49721|Opn|Nor|2010-08-06|Fail to access the resources such as jsp files fro| |49726|New|Maj|2010-08-09|JSP 2.2 new configuration element
Bug report for Tomcat Connectors [2010/08/22]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |34526|Opn|Nor|2005-04-19|Truncated content in decompressed requests from mo| |35959|Opn|Enh|2005-08-01|mod_jk not independant of UseCanonicalName| |36155|Opn|Nor|2005-08-12|tomcat chooses wrong host if using mod_jk | |39967|Inf|Nor|2006-07-05|mod_jk gives segmentation fault when apache is sta| |40208|Inf|Nor|2006-08-08|Request-Dump when ErrorDocument in httpd.conf is a| |41170|Inf|Nor|2006-12-13|single crlf in header termination crashes app.| |41923|Opn|Nor|2007-03-21|Tomcat doesnt recognized client abort | |42366|Inf|Nor|2007-05-09|Memory leak in newer mod_jk version when connectio| |42554|Opn|Nor|2007-05-31|mod_ssl + mod_jk with status_worker does not work | |43303|New|Enh|2007-09-04|Versioning under Windows not reported by many conn| |43968|New|Enh|2007-11-26|[patch] support ipv6 with mod_jk | |44290|New|Nor|2008-01-24|mod_jk/1.2.26: retry is not useful for an importan| |44349|New|Maj|2008-02-04|mod_jk/1.2.26 module does not read worker.status.s| |44379|New|Enh|2008-02-07|convert the output of strftime into UTF-8 | |44454|New|Nor|2008-02-19|busy count reported in mod_jk inflated, causes inc| |44571|New|Enh|2008-03-10|Limits busy per worker to a threshold | |45063|New|Nor|2008-05-22|JK-1.2.26 IIS ISAPI filter issue when running diff| |45313|New|Nor|2008-06-30|mod_jk 1.2.26 & apache 2.2.9 static compiled on so| |45395|New|Min|2008-07-14|MsgAjp dump method does not dump packet when being| |46337|New|Nor|2008-12-04|real worker name is wrong | |46406|New|Enh|2008-12-16|Supporting relative paths in isapi_redirect.proper| |46676|New|Enh|2009-02-09|Configurable test request for Watchdog thread | |46767|New|Enh|2009-02-25|mod_jk to send DECLINED in case no fail-over tomca| |47038|New|Enh|2009-04-15|USE_FLOCK_LK redefined compiler warning when using| |47327|New|Enh|2009-06-07|remote_user not logged in apache logfile | |47617|New|Enh|2009-07-31|include time spent doing ajp_get_endpoint() in err| |47678|New|Nor|2009-08-11|Unable to allocate shared memory when using isapi_| |47679|New|Nor|2009-08-11|Not all headers get passed to Tomcat server from i| |47692|New|Reg|2009-08-12|Can not compile mod_jk with apache2.0.63 and tomca| |47714|New|Cri|2009-08-20|Reponse mixed between users | |47750|New|Maj|2009-08-27|Loss of worker settings when changing via jkstatus| |47795|New|Maj|2009-09-07|service sticky_session not being set correctly wit| |47840|Inf|Min|2009-09-14|A broken worker name is written in the log file. | |48191|New|Maj|2009-11-13|Problem with mod_jk 1.2.28 - Can not render up the| |48490|New|Nor|2010-01-05|Changing a node to stopped in uriworkermap.propert| |48501|New|Enh|2010-01-07|Log rotation for ISAPI Redirector | |48513|New|Enh|2010-01-09|IIS Quick setup instructions | |48564|New|Nor|2010-01-18|Unable to turn off retries for LB worker | |48830|New|Nor|2010-03-01|IIS shutdown blocked in endpoint service when serv| |48925|New|Maj|2010-03-16|((ServletRequest) request).getLocalAddr() returns | |48940|New|Maj|2010-03-18|IIS to Tomcat occasionally fails on POST with T-E | |49035|New|Maj|2010-04-01|data lost when post a multipart/form-data form| |49048|New|Nor|2010-04-05|ACL not applied to redirect URLs | |49063|New|Enh|2010-04-07|Please add JkStripSession status in jk-status work| |49135|New|Enh|2010-04-16|SPDY Connector for The Tomcat | |49413|Opn|Reg|2010-06-09|Apache Mod_jk 1.2.30 is shutting down communicatio| |49469|New|Enh|2010-06-19|Workers status page has negative number of connect| |49511|New|Maj|2010-06-28|IIS 7.5 incorrect logging: pfc->pFilterContext is | +-+---+---+--+--+ | Total 48 bugs | +---+ --
Bug report for Tomcat Native [2010/08/22]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=Critical REG=Regression MAJ=Major | | | | MIN=Minor NOR=NormalENH=Enhancement TRV=Trivial | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | |38372|Inf|Cri|2006-01-25|tcnative-1.dll response overflow corruption, parti| |41361|New|Nor|2007-01-14|Content lost when read by a slow client. | |42090|New|Cri|2007-04-11|tcnative badly handles some OpenSSL disconnections| |45392|New|Nor|2008-07-14|No OCSP support for client SSL verification | |46041|New|Cri|2008-10-20|Tomcat service is terminated unexpectedly (tcnativ| |46179|New|Maj|2008-11-10|apr ssl client authentication | |46571|New|Nor|2009-01-21|tcnative blocks in APR poll on Solaris| |47319|New|Nor|2009-06-05|With APR, getRemoteHost() returns NULL for unknown| |47851|New|Nor|2009-09-16|thread-safety issues in the TC native Java code | |48253|New|Min|2009-11-20|Tomcat Native patch - adding dynamic locking callb| |48655|New|Nor|2010-02-02|Active multipart downloads prevent tomcat shutdown| |48891|Opn|Enh|2010-03-11|Missing EOL-style settings in tomcat/jk/trunk | |49038|Inf|Nor|2010-04-02|Crash in tcnative | |49556|New|Cri|2010-07-05|the proc.create function used args as env to get t| |49557|New|Cri|2010-07-05|index erro in the loop to get the env info in the | |49595|New|Cri|2010-07-15|Tomcat crashes in tcnative-1.dll frequently | +-+---+---+--+--+ | Total 16 bugs | +---+ - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987896 - /tomcat/trunk/res/maven/tomcat-jasper.pom
Author: markt Date: Sun Aug 22 12:59:35 2010 New Revision: 987896 URL: http://svn.apache.org/viewvc?rev=987896&view=rev Log: Fix POM reference error ID'd on users list Modified: tomcat/trunk/res/maven/tomcat-jasper.pom Modified: tomcat/trunk/res/maven/tomcat-jasper.pom URL: http://svn.apache.org/viewvc/tomcat/trunk/res/maven/tomcat-jasper.pom?rev=987896&r1=987895&r2=987896&view=diff == --- tomcat/trunk/res/maven/tomcat-jasper.pom (original) +++ tomcat/trunk/res/maven/tomcat-jasper.pom Sun Aug 22 12:59:35 2010 @@ -53,7 +53,7 @@ compile - org.eclipse.jdt + org.eclipse.jdt.core.compiler ecj 3.6 - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49792] The clearReferencesLogFactoryRelease removes all loggers in the JVM (instead of only removing all loggers of the Web application that is being undeployed)
https://issues.apache.org/bugzilla/show_bug.cgi?id=49792 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #3 from Mark Thomas 2010-08-22 09:34:08 EDT --- *** This bug has been marked as a duplicate of bug 48716 *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48716] Embedded Tomcat JULI aggressively resetting default logging configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48716 Mark Thomas changed: What|Removed |Added CC||postmas...@alishomepage.com --- Comment #8 from Mark Thomas 2010-08-22 09:34:08 EDT --- *** Bug 49792 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49791] The clearReferencesLogFactoryRelease removes all loggers in the JVM (instead of only removing all loggers of the Web application that is being undeployed)
https://issues.apache.org/bugzilla/show_bug.cgi?id=49791 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #2 from Mark Thomas 2010-08-22 09:34:36 EDT --- *** This bug has been marked as a duplicate of bug 48716 *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49792] The clearReferencesLogFactoryRelease removes all loggers in the JVM (instead of only removing all loggers of the Web application that is being undeployed)
https://issues.apache.org/bugzilla/show_bug.cgi?id=49792 Bug 49792 depends on bug 49791, which changed state. Bug 49791 Summary: The clearReferencesLogFactoryRelease removes all loggers in the JVM (instead of only removing all loggers of the Web application that is being undeployed) https://issues.apache.org/bugzilla/show_bug.cgi?id=49791 What|Old Value |New Value Status|NEW |RESOLVED Resolution||DUPLICATE -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48716] Embedded Tomcat JULI aggressively resetting default logging configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48716 --- Comment #9 from Mark Thomas 2010-08-22 09:34:36 EDT --- *** Bug 49791 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49789] The method getElementsByTagNameNS(String, String) is undefined for the type Element
https://issues.apache.org/bugzilla/show_bug.cgi?id=49789 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Mark Thomas 2010-08-22 09:36:05 EDT --- Bugzilla is not a support forum. Please use the users mailing list. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48716] Embedded Tomcat JULI aggressively resetting default logging configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48716 S. Ali Tokmen changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #10 from S. Ali Tokmen 2010-08-22 10:02:08 EDT --- This is not fixed: Tomcat 6.0.29 and 7.0.2 still removes all handlers of all Java loggers. Here is the code executed by Catalina: // Clear the classloader reference in common-logging if (clearReferencesLogFactoryRelease) { org.apache.juli.logging.LogFactory.release(this); } ... which looks correct. But, JULI actually ignores the given ClassLoader and calls: java.util.logging.LogManager.getLogManager().reset(); Which basically removes all handlers of all loggers of the Java util logger. Note that the comment on JULI says it should remvoe only things from JULI, that is UNTRUE. The correct implementation would, I guess, look like that: To clean up all of the current Web application's loggers: get all loggers' names for each logger get all handlers for each handler if the handler's class can be loaded using the WebAppClassLoader AND cannot be loaded using the WebAppClassLoader's parent then remove this handler else don't touch // that logger belongs to some other application // or to Tomcat itself -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49796] Crash in SSLSocket.handshake()
https://issues.apache.org/bugzilla/show_bug.cgi?id=49796 --- Comment #2 from mi...@hyperreal.org 2010-08-22 10:12:05 EDT --- I just noticed "java.io.IOException: Too many open files" in the Tomcat log. So the problem might be that either Tomcat Native or APR is not gracefully handling a system call failure. Regarding whether or not this bug is related to Bug 49795, here is how the situations are similar and different: Similarities: The 2 systems are running the exact same versions of Java, Tomcat, Tomcat Native and APR. Differences: The 2 bugs occurred on 2 different systems, and happened about 2 hours apart. The systems have slightly different Linux kernel versions. The systems that exhibited this bug had "java.io.IOException: Too many open files" in the server log, while the other system did not. (However, it is conceivable that the system for Bug 49795 ran out of file descriptors but did not manage to log that fact. But I would not assume this.) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48716] Embedded Tomcat JULI aggressively resetting default logging configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48716 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||FIXED --- Comment #11 from Mark Thomas 2010-08-22 10:33:39 EDT --- Your analysis is incorrect. This is issue is resolved. You need to look more carefully at the implementation of reset() and getLoggerNames() -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987912 - /tomcat/trunk/webapps/docs/changelog.xml
Author: markt Date: Sun Aug 22 14:40:30 2010 New Revision: 987912 URL: http://svn.apache.org/viewvc?rev=987912&view=rev Log: Update changelog Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=987912&r1=987911&r2=987912&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Sun Aug 22 14:40:30 2010 @@ -86,6 +86,9 @@ Correct the user names created by the Windows installer for the Manager and Host Manager applications. (mturk) + +Correct the Eclipse compiler depenedency in the Jasper POM. (markt) + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987914 - in /tomcat/trunk/java/javax: persistence/ servlet/ servlet/http/ servlet/jsp/tagext/
Author: markt Date: Sun Aug 22 14:44:51 2010 New Revision: 987914 URL: http://svn.apache.org/viewvc?rev=987914&view=rev Log: Fix import ordering - no functional change -javax.* packages Modified: tomcat/trunk/java/javax/persistence/PersistenceProperty.java tomcat/trunk/java/javax/servlet/ServletInputStream.java tomcat/trunk/java/javax/servlet/ServletOutputStream.java tomcat/trunk/java/javax/servlet/http/HttpServlet.java tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java tomcat/trunk/java/javax/servlet/http/HttpServletRequestWrapper.java tomcat/trunk/java/javax/servlet/http/HttpSession.java tomcat/trunk/java/javax/servlet/http/HttpUtils.java tomcat/trunk/java/javax/servlet/jsp/tagext/BodyContent.java tomcat/trunk/java/javax/servlet/jsp/tagext/SimpleTagSupport.java Modified: tomcat/trunk/java/javax/persistence/PersistenceProperty.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/persistence/PersistenceProperty.java?rev=987914&r1=987913&r2=987914&view=diff == --- tomcat/trunk/java/javax/persistence/PersistenceProperty.java (original) +++ tomcat/trunk/java/javax/persistence/PersistenceProperty.java Sun Aug 22 14:44:51 2010 @@ -17,9 +17,9 @@ package javax.persistence; -import java.lang.annotation.Target; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; @Target({}) @Retention(RetentionPolicy.RUNTIME) Modified: tomcat/trunk/java/javax/servlet/ServletInputStream.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/ServletInputStream.java?rev=987914&r1=987913&r2=987914&view=diff == --- tomcat/trunk/java/javax/servlet/ServletInputStream.java (original) +++ tomcat/trunk/java/javax/servlet/ServletInputStream.java Sun Aug 22 14:44:51 2010 @@ -16,8 +16,8 @@ */ package javax.servlet; -import java.io.InputStream; import java.io.IOException; +import java.io.InputStream; /** * Provides an input stream for reading binary data from a client request, Modified: tomcat/trunk/java/javax/servlet/ServletOutputStream.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/ServletOutputStream.java?rev=987914&r1=987913&r2=987914&view=diff == --- tomcat/trunk/java/javax/servlet/ServletOutputStream.java (original) +++ tomcat/trunk/java/javax/servlet/ServletOutputStream.java Sun Aug 22 14:44:51 2010 @@ -16,9 +16,9 @@ */ package javax.servlet; -import java.io.OutputStream; -import java.io.IOException; import java.io.CharConversionException; +import java.io.IOException; +import java.io.OutputStream; import java.text.MessageFormat; import java.util.ResourceBundle; Modified: tomcat/trunk/java/javax/servlet/http/HttpServlet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/HttpServlet.java?rev=987914&r1=987913&r2=987914&view=diff == --- tomcat/trunk/java/javax/servlet/http/HttpServlet.java (original) +++ tomcat/trunk/java/javax/servlet/http/HttpServlet.java Sun Aug 22 14:44:51 2010 @@ -17,8 +17,8 @@ package javax.servlet.http; import java.io.IOException; -import java.io.PrintWriter; import java.io.OutputStreamWriter; +import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.lang.reflect.Method; import java.text.MessageFormat; Modified: tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java?rev=987914&r1=987913&r2=987914&view=diff == --- tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java (original) +++ tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java Sun Aug 22 14:44:51 2010 @@ -17,13 +17,13 @@ package javax.servlet.http; -import javax.servlet.ServletException; -import javax.servlet.ServletRequest; - import java.io.IOException; import java.util.Collection; import java.util.Enumeration; +import javax.servlet.ServletException; +import javax.servlet.ServletRequest; + /** * Extends the {...@link javax.servlet.ServletRequest} interface to provide request * information for HTTP servlets. Modified: tomcat/trunk/java/javax/servlet/http/HttpServletRequestWrapper.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/HttpServletRequestWrapper.java?rev=987914&r1=987913&r2=987914&view=diff == --- tomcat/trunk/java/javax/servlet/http/HttpServletRequestWrapper.java (original) +++ tomcat/trunk/java/javax/servlet/http/HttpServletRequestWrapper.java Sun Aug 22 14:44:51 2010 @@
svn commit: r987916 - in /tomcat/trunk: java/org/apache/catalina/manager/JMXProxyServlet.java java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java webapps/docs/changelog.xml
Author: markt Date: Sun Aug 22 14:56:20 2010 New Revision: 987916 URL: http://svn.apache.org/viewvc?rev=987916&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49757 Correct generics warnings and a couple of other warnings whilst I had the files open. Based on a patch by Gábor Modified: tomcat/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java?rev=987916&r1=987915&r2=987916&view=diff == --- tomcat/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java (original) +++ tomcat/trunk/java/org/apache/catalina/manager/JMXProxyServlet.java Sun Aug 22 14:56:20 2010 @@ -43,16 +43,17 @@ import org.apache.tomcat.util.modeler.Re * @author Costin Manolache */ public class JMXProxyServlet extends HttpServlet { -// - Instance Variables + +private static final long serialVersionUID = 1L; +// - Instance Variables /** * MBean server. */ protected MBeanServer mBeanServer = null; protected Registry registry; -// - Public Methods - +// - Public Methods /** * Initialize this servlet. */ @@ -187,7 +188,7 @@ public class JMXProxyServlet extends Htt if( value==null ) continue; String valueString; try { -Class c = value.getClass(); +Class c = value.getClass(); if (c.isArray()) { int len = Array.getLength(value); StringBuilder sb = new StringBuilder("Array[" + Modified: tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?rev=987916&r1=987915&r2=987916&view=diff == --- tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java Sun Aug 22 14:56:20 2010 @@ -487,6 +487,7 @@ public abstract class AbstractReplicated * @param msg Serializable * @return Serializable - null if no reply should be sent */ +@Override public Serializable replyRequest(Serializable msg, final Member sender) { if (! (msg instanceof MapMessage))return null; MapMessage mapmsg = (MapMessage) msg; @@ -544,6 +545,7 @@ public abstract class AbstractReplicated * @param msg Serializable * @param sender Member */ +@Override public void leftOver(Serializable msg, Member sender) { //left over membership messages if (! (msg instanceof MapMessage))return; @@ -563,6 +565,7 @@ public abstract class AbstractReplicated } } +@Override public void messageReceived(Serializable msg, Member sender) { if (! (msg instanceof MapMessage)) return; @@ -654,6 +657,7 @@ public abstract class AbstractReplicated } //end if } +@Override public boolean accept(Serializable msg, Member sender) { boolean result = false; if (msg instanceof MapMessage) { @@ -714,10 +718,12 @@ public abstract class AbstractReplicated return result.toArray(new Member[result.size()]); } +@Override public void memberAdded(Member member) { //do nothing } +@Override public void memberDisappeared(Member member) { boolean removed = false; synchronized (mapMembers) { @@ -797,6 +803,7 @@ public abstract class AbstractReplicated protected abstract Member[] publishEntryInfo(Object key, Object value) throws ChannelException; +@Override public void heartbeat() { try { ping(accessTimeout); @@ -1096,7 +1103,7 @@ public abstract class AbstractReplicated //-- //Map Entry class //-- -public static class MapEntry implements Map.Entry { +public static class MapEntry implements Map.Entry { private boolean backup; private boolean proxy; private Member[] backupNodes; @@ -1167,16 +1174,19 @@ public abstract class AbstractReplicated
DO NOT REPLY [Bug 49757] correcting some generics related warnings
https://issues.apache.org/bugzilla/show_bug.cgi?id=49757 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Mark Thomas 2010-08-22 10:59:52 EDT --- Thanks for the patch. Since BCEL and file-upload are just package renamed, we try to avoid making changes (part from removing unused code) to that code so I did not apply that part of the patch. It will be included in 7.0.3 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 48716] Embedded Tomcat JULI aggressively resetting default logging configuration
https://issues.apache.org/bugzilla/show_bug.cgi?id=48716 --- Comment #12 from S. Ali Tokmen 2010-08-22 11:06:38 EDT --- Hello Well, I'm currently analyzing the java.util.logging.LogManager.java (version: 1.55 09/05/17 | SUN PROPRIETARY/CONFIDENTIAL.) JULI calls: java.util.logging.LogManager.getLogManager() that, returns the following: // The global LogManager object private static LogManager manager; The static "manager" variable is defined in java.util.logging.LogManager, which is in the Java SE classloader. It is therefore the same instance for all the JVM. That (UNIQUE) instance has an attribute: private Hashtable loggers = new Hashtable() Finally, getLoggerNames() returns: public synchronized Enumeration getLoggerNames() { return loggers.keys(); } As a result, I do not see how come java.util.logging.LogManager.getLogManager().reset() could reset anything else than the whole JVM's loggers, hence how this bug can be resolved fixed. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49793] Please publish Tomcat 7.0.2 artifacts on Maven central repository
https://issues.apache.org/bugzilla/show_bug.cgi?id=49793 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #6 from Mark Thomas 2010-08-22 11:17:02 EDT --- There was a longer that usual delay between the vote and the actual publishing of the release as I had limited internet connectivity for a few weeks. I've just finished uploading the artefacts. I'd expect them to sync to central in ~24 hours or so. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49793] Please publish Tomcat 7.0.2 artifacts on Maven central repository
https://issues.apache.org/bugzilla/show_bug.cgi?id=49793 --- Comment #7 from S. Ali Tokmen 2010-08-22 11:25:21 EDT --- Thank you, Mark And sorry for all the noise, most of it was due to the fact that I thought the dates on the Apache Tomcat website are the dates at which you normally have finished releasing, therefore everything should be fine. Now, with your explanation, I understand that the news is posted, perhaps people do internal tests, and then it is officially announced and made available... Which explains about two weeks of delay between the news' date and the actual release date. Cheers -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987918 - /tomcat/trunk/webapps/docs/changelog.xml
Author: rjung Date: Sun Aug 22 15:26:08 2010 New Revision: 987918 URL: http://svn.apache.org/viewvc?rev=987918&view=rev Log: Fix tpyos. Modified: tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=987918&r1=987917&r2=987918&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Sun Aug 22 15:26:08 2010 @@ -75,8 +75,8 @@ -Correct the class name of the default JAR scanner in the documentaiton -web application. (rjung) +Correct the class name of the default JAR scanner in the documentation +web application. (rjung) 49585: Update JSVC documentation to reflect new packaging @@ -91,7 +91,7 @@ and Host Manager applications. (mturk) -Correct the Eclipse compiler depenedency in the Jasper POM. (markt) +Correct the Eclipse compiler dependency in the Jasper POM. (markt) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987945 - /tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java
Author: markt Date: Sun Aug 22 20:16:56 2010 New Revision: 987945 URL: http://svn.apache.org/viewvc?rev=987945&view=rev Log: Extend the simple MapRealm use for testing to support roles. Modified: tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java Modified: tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java?rev=987945&r1=987944&r2=987945&view=diff == --- tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java (original) +++ tomcat/trunk/test/org/apache/catalina/startup/TestTomcat.java Sun Aug 22 20:16:56 2010 @@ -24,7 +24,9 @@ import java.io.Reader; import java.net.URL; import java.net.URLConnection; import java.security.Principal; +import java.util.ArrayList; import java.util.HashMap; +import java.util.List; import java.util.Map; import javax.naming.Context; @@ -135,11 +137,22 @@ public class TestTomcat extends TomcatBa */ public static final class MapRealm extends RealmBase { private Map users = new HashMap(); +private Map> roles = +new HashMap>(); public void addUser(String username, String password) { users.put(username, password); } +public void addUserRole(String username, String role) { +List userRoles = roles.get(username); +if (userRoles == null) { +userRoles = new ArrayList(); +roles.put(username, userRoles); +} +userRoles.add(role); +} + @Override protected String getName() { return "MapRealm"; @@ -152,7 +165,8 @@ public class TestTomcat extends TomcatBa @Override protected Principal getPrincipal(String username) { -return new GenericPrincipal(username, getPassword(username)); +return new GenericPrincipal(username, getPassword(username), +roles.get(username)); } } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49799] New: The new JSP 2.2 omit-attribute in jsp:attribute does not work with EL or expressions
https://issues.apache.org/bugzilla/show_bug.cgi?id=49799 Summary: The new JSP 2.2 omit-attribute in jsp:attribute does not work with EL or expressions Product: Tomcat 7 Version: 7.0.2 Platform: PC OS/Version: Windows Vista Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: dev@tomcat.apache.org ReportedBy: philipp.jurew...@gmx.net Created an attachment (id=25926) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25926) A JSP file which show three different use cases of the jsp:attribute omit attribute I'm trying to make use of the new omit-attribute in the jsp:attribute. This new feature of JSP 2.2 is described in the Specs in JSP.5.10. Table JSP.5-7 Attributes for the standard action omit (optional) Valid values are true and false. If true, and when used with , the attribute in the element being ouput is omitted. Ignored when used with a standard or custom action. Defaults to false. There is an introduction text here: http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14471459 and I'm trying to make this work in my setup but I'm failing. Or I don't get the point. The following works: color:red The following does NOT work: color:red The following does NOT work either: color:red Full JSP code in my attachment. I actually use the JSP-document (XML / JSPX-)syntax, but it does not work in any of the JSP dialects. So I don't get the point why I should not be able to use EL in the omit-attribute, because then it's kind of useless. I use Windows Vista 64bit JavaSE 1.6 Apache Tomcat 7.0.0 and Apche Tomcat 7.0.2beta JSTL 1.1.2 All setup together in a typical "Dynamic Web Project" in Eclipse 3.6 Helios -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987947 - /tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java
Author: markt Date: Sun Aug 22 20:56:12 2010 New Revision: 987947 URL: http://svn.apache.org/viewvc?rev=987947&view=rev Log: Add support for parsing a session ID and the 100-continue expectation Modified: tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java Modified: tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java?rev=987947&r1=987946&r2=987947&view=diff == --- tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java (original) +++ tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java Sun Aug 22 20:56:12 2010 @@ -42,18 +42,24 @@ public abstract class SimpleHttpClient { public static final String CRLF = "\r\n"; +public static final String INFO_100 = "HTTP/1.1 100"; public static final String OK_200 = "HTTP/1.1 200"; +public static final String REDIRECT_302 = "HTTP/1.1 302"; public static final String FAIL_404 = "HTTP/1.1 404"; public static final String FAIL_50X = "HTTP/1.1 50"; public static final String FAIL_500 = "HTTP/1.1 500"; public static final String FAIL_501 = "HTTP/1.1 501"; +private static final String SESSION_COOKIE_HEADER_PREFIX = +"Set-Cookie: JSESSIONID="; + private Socket socket; private Writer writer; private BufferedReader reader; private int port = 8080; private String[] request; +private boolean useContinue = false; private int requestPause = 1000; private String responseLine; @@ -68,6 +74,10 @@ public abstract class SimpleHttpClient { request = theRequest; } +public void setUseContinue(boolean theUseContinueFlag) { +useContinue = theUseContinueFlag; +} + public void setRequestPause(int theRequestPause) { requestPause = theRequestPause; } @@ -84,6 +94,17 @@ public abstract class SimpleHttpClient { return responseBody; } +public String getSessionId() { +for (String header : responseHeaders) { +if (header.startsWith(SESSION_COOKIE_HEADER_PREFIX)) { +header = header.substring(SESSION_COOKIE_HEADER_PREFIX.length()); +header = header.substring(0, header.indexOf(';')); +return header; +} +} +return null; +} + public void connect() throws UnknownHostException, IOException { socket = new Socket("localhost", port); OutputStream os = socket.getOutputStream(); @@ -111,6 +132,18 @@ public abstract class SimpleHttpClient { // Read the response responseLine = readLine(); + +// Is a 100 continue response expected? +if (useContinue) { +if (isResponse100()) { +// Skip the blank after the 100 Continue response +readLine(); +// Now get the final response +responseLine = readLine(); +} else { +throw new IOException("No 100 Continue response"); +} +} // Put the headers into the map String line = readLine(); @@ -155,10 +188,18 @@ public abstract class SimpleHttpClient { responseBody = null; } +public boolean isResponse100() { +return getResponseLine().startsWith(INFO_100); +} + public boolean isResponse200() { return getResponseLine().startsWith(OK_200); } - + +public boolean isResponse302() { +return getResponseLine().startsWith(REDIRECT_302); +} + public boolean isResponse404() { return getResponseLine().startsWith(FAIL_404); } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987948 - in /tomcat/trunk: java/org/apache/catalina/authenticator/FormAuthenticator.java test/org/apache/catalina/authenticator/ test/org/apache/catalina/authenticator/TestFormAuthenticat
Author: markt Date: Sun Aug 22 21:02:33 2010 New Revision: 987948 URL: http://svn.apache.org/viewvc?rev=987948&view=rev Log: Provide 100 Continue responses if required during FORM authentication Side issues from investigating https://issues.apache.org/bugzilla/show_bug.cgi?id=49779 Added: tomcat/trunk/test/org/apache/catalina/authenticator/ tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java (with props) Modified: tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java?rev=987948&r1=987947&r2=987948&view=diff == --- tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java (original) +++ tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java Sun Aug 22 21:02:33 2010 @@ -246,8 +246,9 @@ public class FormAuthenticator return (false); } -// Yes -- Validate the specified credentials and redirect -// to the error page if they are not correct +// Yes -- Acknowledge the request, validate the specified credentials +// and redirect to the error page if they are not correct +request.getResponse().sendAcknowledgement(); Realm realm = context.getRealm(); if (characterEncoding != null) { request.setCharacterEncoding(characterEncoding); @@ -511,6 +512,9 @@ public class FormAuthenticator } if ("POST".equalsIgnoreCase(request.getMethod())) { +// May need to acknowledge a 100-continue expectation +request.getResponse().sendAcknowledgement(); + ByteChunk body = new ByteChunk(); body.setLimit(request.getConnector().getMaxSavePostSize()); Added: tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java?rev=987948&view=auto == --- tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java (added) +++ tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java Sun Aug 22 21:02:33 2010 @@ -0,0 +1,159 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.catalina.authenticator; + +import java.io.File; + +import org.apache.catalina.Context; +import org.apache.catalina.startup.SimpleHttpClient; +import org.apache.catalina.startup.TestTomcat.MapRealm; +import org.apache.catalina.startup.Tomcat; +import org.apache.catalina.startup.TomcatBaseTest; + +public class TestFormAuthenticator extends TomcatBaseTest { + +public void testBug49779() throws Exception { +Tomcat tomcat = getTomcatInstance(); +File appDir = new File(getBuildDirectory(), "webapps/examples"); +Context ctx = +tomcat.addWebapp(null, "/examples", appDir.getAbsolutePath()); + +MapRealm realm = new MapRealm(); +realm.addUser("tomcat", "tomcat"); +realm.addUserRole("tomcat", "tomcat"); +ctx.setRealm(realm); + +tomcat.start(); + +Bug49779ClientStage1 client = new Bug49779ClientStage1(); +client.setPort(getPort()); + +// First request for authenticated resource +Exception e = client.doRequest(null); +assertNull(e); +assertTrue(client.isResponse200()); +assertTrue(client.isResponseBodyOK()); + +String sessionID = client.getSessionId(); + +// Second request for the login page +client.reset(); +e = client.doRequest(sessionID); +assertNull(e); +assertTrue(client.isResponse302()); +assertTrue(client.isResponseBodyOK()); + +// Third request - follow the redirect +client.reset(); +e = client.doRequest(sessionID); +asser
svn commit: r987950 - /tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java
Author: markt Date: Sun Aug 22 21:34:33 2010 New Revision: 987950 URL: http://svn.apache.org/viewvc?rev=987950&view=rev Log: Correct test name since this turned out to be a side issue Modified: tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java Modified: tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java?rev=987950&r1=987949&r2=987950&view=diff == --- tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java (original) +++ tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java Sun Aug 22 21:34:33 2010 @@ -26,7 +26,7 @@ import org.apache.catalina.startup.Tomca public class TestFormAuthenticator extends TomcatBaseTest { -public void testBug49779() throws Exception { +public void testExpect100Continue() throws Exception { Tomcat tomcat = getTomcatInstance(); File appDir = new File(getBuildDirectory(), "webapps/examples"); Context ctx = @@ -39,7 +39,7 @@ public class TestFormAuthenticator exten tomcat.start(); -Bug49779ClientStage1 client = new Bug49779ClientStage1(); +Expect100ContinueClient client = new Expect100ContinueClient(); client.setPort(getPort()); // First request for authenticated resource @@ -77,7 +77,7 @@ public class TestFormAuthenticator exten } } -private final class Bug49779ClientStage1 extends SimpleHttpClient { +private final class Expect100ContinueClient extends SimpleHttpClient { private int requestCount = 0; - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987955 - in /tomcat/trunk: java/org/apache/catalina/authenticator/FormAuthenticator.java test/org/apache/catalina/authenticator/TestFormAuthenticator.java test/org/apache/catalina/startup
Author: markt Date: Sun Aug 22 22:55:26 2010 New Revision: 987955 URL: http://svn.apache.org/viewvc?rev=987955&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49779 Improve handling of POST requests and FORM authentication, particularly when the user agent responds to the 302 response by repeating the POST request including a request body. Any request body provided at this point is now swallowed. Clean up the FormAuthenticator test case and extend the coverage to include bug 49779 and the remaining combinations of request methods. Modified: tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java tomcat/trunk/test/org/apache/catalina/startup/SimpleHttpClient.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java?rev=987955&r1=987954&r2=987955&view=diff == --- tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java (original) +++ tomcat/trunk/java/org/apache/catalina/authenticator/FormAuthenticator.java Sun Aug 22 22:55:26 2010 @@ -401,7 +401,8 @@ public class FormAuthenticator * @param request The request to be restored * @param session The session containing the saved information */ -protected boolean restoreRequest(Request request, Session session) { +protected boolean restoreRequest(Request request, Session session) +throws IOException { // Retrieve and remove the SavedRequest object from our session SavedRequest saved = (SavedRequest) @@ -447,6 +448,13 @@ public class FormAuthenticator request.getCoyoteRequest().getParameters().setQueryStringEncoding( request.getConnector().getURIEncoding()); +// Swallow any request body since we will be replacing it +byte[] buffer = new byte[4096]; +InputStream is = request.getInputStream(); +while (is.read(buffer) >= 0) { +// Ignore request body +} + if ("POST".equalsIgnoreCase(saved.getMethod())) { ByteChunk body = saved.getBody(); Modified: tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java?rev=987955&r1=987954&r2=987955&view=diff == --- tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java (original) +++ tomcat/trunk/test/org/apache/catalina/authenticator/TestFormAuthenticator.java Sun Aug 22 22:55:26 2010 @@ -26,116 +26,155 @@ import org.apache.catalina.startup.Tomca public class TestFormAuthenticator extends TomcatBaseTest { -public void testExpect100Continue() throws Exception { -Tomcat tomcat = getTomcatInstance(); -File appDir = new File(getBuildDirectory(), "webapps/examples"); -Context ctx = -tomcat.addWebapp(null, "/examples", appDir.getAbsolutePath()); - -MapRealm realm = new MapRealm(); -realm.addUser("tomcat", "tomcat"); -realm.addUserRole("tomcat", "tomcat"); -ctx.setRealm(realm); +public void testGet() throws Exception { +doTest("GET", "GET", false); +} + +public void testPostNoContinue() throws Exception { +doTest("POST", "GET", false); +} -tomcat.start(); +public void testPostWithContinue() throws Exception { +doTest("POST", "GET", true); +} + +// Bug 49779 +public void testPostNoContinuePostRedirect() throws Exception { +doTest("POST", "POST", false); +} + +// Bug 49779 +public void testPostWithContinuePostRedirect() throws Exception { +doTest("POST", "POST", true); +} + + +private void doTest(String resourceMethod, String redirectMethod, +boolean useContinue) throws Exception { +FormAuthClient client = new FormAuthClient(); -Expect100ContinueClient client = new Expect100ContinueClient(); -client.setPort(getPort()); - // First request for authenticated resource -Exception e = client.doRequest(null); -assertNull(e); +client.setUseContinue(useContinue); +client.doResourceRequest(resourceMethod); assertTrue(client.isResponse200()); assertTrue(client.isResponseBodyOK()); - -String sessionID = client.getSessionId(); +client.reset(); // Second request for the login page -client.reset(); -e = client.doRequest(sessionID); -assertNull(e); +client.setUseCont
DO NOT REPLY [Bug 49779] 501 Method not implemented with successive POST requests
https://issues.apache.org/bugzilla/show_bug.cgi?id=49779 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Mark Thomas 2010-08-22 18:56:27 EDT --- Thanks for the test case. As always, a simple ready to run test case makes diagnosis a lot easier. The root cause is a difference between what the HTTP specs say and what user agents actually implemented with respect to handling 302 responses to POST requests. RFC2616 tried to deal with this by adding the 303 response. Your test case responds to the 302 with a POST (arguably in breach of the HTTP spec but it does depend how you read it) which Tomcat isn't expecting so due to request pipe-lining the POST data gets handled as part of the next request. Tomcat's FORM authentication currently uses a 302 response for the redirect stage. A 303 would make the expected client behaviour clearer but that would only work for HTTP 1.1 clients. HTTP 1.0 clients would still be broken. I therefore took the approach for Tomcat 7 of swallowing any request body sent in response to the redirect since Tomcat will restore the original request (the one made prior to the login form being received) including any request body provided at that time. I am leaning towards not back-porting this change to Tomcat 5/6 since the implementation is consistent with the user agent behaviour. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49711] HttpServletRequest#getParts() does not work in a Filter
https://issues.apache.org/bugzilla/show_bug.cgi?id=49711 Mark Thomas changed: What|Removed |Added Severity|normal |enhancement --- Comment #4 from Mark Thomas 2010-08-22 19:03:13 EDT --- If the Servlet doesn't have the @MultipartConfig annotation then getParts() should not work. Tomcat is therefore specification compliant in this regard. I'm not adverse to adding a (probably per context) configuration attribute to relax this requirement. Therefore, I am changing this to an enhancement request. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Standard context add parameter
Hi, I'm trying to put together a patch as per. http://marc.info/?l=tomcat-user&m=128249845732568&w=2 I've put an optional value in StandardContext that I need to check in org.apache.catalina.connector.Response however I've left the interface for Context alone. (new implementations shouldn't need to implement the attribute). Now I'm a bit stuck I can get the context but I'd rather not try to cast to StandardContext or use the typeof operator. Is it okay to add the parameter to standard context via addParameter? and check this via findParameter which is on the context interface? Sorry If this isn't clear. Sorry if this is the wrong mailing list. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49711] HttpServletRequest#getParts() does not work in a Filter
https://issues.apache.org/bugzilla/show_bug.cgi?id=49711 --- Comment #5 from balusc 2010-08-22 19:10:21 EDT --- Thank you. This is imo an oversight in the Servlet 3.0 specification. I will report it sooner or later. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987958 - in /tomcat/trunk: java/javax/annotation/ java/javax/ejb/ java/javax/el/ java/javax/servlet/ java/javax/servlet/annotation/ java/javax/servlet/jsp/el/ java/javax/servlet/jsp/tagex
Author: markt Date: Sun Aug 22 23:11:18 2010 New Revision: 987958 URL: http://svn.apache.org/viewvc?rev=987958&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49758 Fix generics warnings exposed by a fix in Eclipse 3.6. Patch provided by sebb. Modified: tomcat/trunk/java/javax/annotation/Resource.java tomcat/trunk/java/javax/ejb/EJB.java tomcat/trunk/java/javax/el/BeanELResolver.java tomcat/trunk/java/javax/el/ELContext.java tomcat/trunk/java/javax/el/ResourceBundleELResolver.java tomcat/trunk/java/javax/servlet/ServletRequestWrapper.java tomcat/trunk/java/javax/servlet/ServletResponseWrapper.java tomcat/trunk/java/javax/servlet/annotation/HandlesTypes.java tomcat/trunk/java/javax/servlet/jsp/el/ExpressionEvaluator.java tomcat/trunk/java/javax/servlet/jsp/el/ImplicitObjectELResolver.java tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java tomcat/trunk/java/javax/xml/ws/WebServiceRef.java tomcat/trunk/java/org/apache/el/lang/EvaluationContext.java tomcat/trunk/java/org/apache/el/parser/AstValue.java tomcat/trunk/java/org/apache/jasper/el/ELContextWrapper.java tomcat/trunk/java/org/apache/jasper/el/ExpressionEvaluatorImpl.java tomcat/trunk/java/org/apache/naming/resources/DirContextURLConnection.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/javax/annotation/Resource.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/annotation/Resource.java?rev=987958&r1=987957&r2=987958&view=diff == --- tomcat/trunk/java/javax/annotation/Resource.java (original) +++ tomcat/trunk/java/javax/annotation/Resource.java Sun Aug 22 23:11:18 2010 @@ -32,7 +32,7 @@ public @interface Resource { APPLICATION } public String name() default ""; -@SuppressWarnings("unchecked") // Can't use Class because API needs to match specification +@SuppressWarnings("rawtypes") // Can't use Class because API needs to match specification public Class type() default Object.class; public AuthenticationType authenticationType() default AuthenticationType.CONTAINER; public boolean shareable() default true; Modified: tomcat/trunk/java/javax/ejb/EJB.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/ejb/EJB.java?rev=987958&r1=987957&r2=987958&view=diff == --- tomcat/trunk/java/javax/ejb/EJB.java (original) +++ tomcat/trunk/java/javax/ejb/EJB.java Sun Aug 22 23:11:18 2010 @@ -29,7 +29,7 @@ import java.lang.annotation.Target; public @interface EJB { String name() default ""; String description() default ""; - @SuppressWarnings("unchecked") // Can't use Class because API needs to match specification + @SuppressWarnings("rawtypes") // Can't use Class because API needs to match specification Class beanInterface() default java.lang.Object.class; String beanName() default ""; String mappedName() default ""; Modified: tomcat/trunk/java/javax/el/BeanELResolver.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/BeanELResolver.java?rev=987958&r1=987957&r2=987958&view=diff == --- tomcat/trunk/java/javax/el/BeanELResolver.java (original) +++ tomcat/trunk/java/javax/el/BeanELResolver.java Sun Aug 22 23:11:18 2010 @@ -231,7 +231,7 @@ public class BeanELResolver extends ELRe } // Can't use Class because API needs to match specification -public @SuppressWarnings("unchecked") Class getPropertyType() { +public @SuppressWarnings("rawtypes") Class getPropertyType() { return this.type; } Modified: tomcat/trunk/java/javax/el/ELContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/ELContext.java?rev=987958&r1=987957&r2=987958&view=diff == --- tomcat/trunk/java/javax/el/ELContext.java (original) +++ tomcat/trunk/java/javax/el/ELContext.java Sun Aug 22 23:11:18 2010 @@ -40,7 +40,7 @@ public abstract class ELContext { } // Can't use Class because API needs to match specification -public Object getContext(@SuppressWarnings("unchecked") Class key) { +public Object getContext(@SuppressWarnings("rawtypes") Class key) { if (this.map == null) { return null; } @@ -48,7 +48,7 @@ public abstract class ELContext { } // Can't use Class because API needs to match specification -public void putContext(@SuppressWarnings("unchecked") Class key, +public void putContext(@SuppressWarnings("rawtypes") Class key, Object contextObject) throws NullPointerException { if (key == null || contextObject == null) { throw new NullPointerException(); Modified: tomcat/trunk/java/ja
DO NOT REPLY [Bug 49758] [Patch] Generics warnings - rawtypes
https://issues.apache.org/bugzilla/show_bug.cgi?id=49758 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Mark Thomas 2010-08-22 19:12:28 EDT --- Cheers. Patch applied. It will be included in 7.0.3 onwards. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 49711] HttpServletRequest#getParts() does not work in a Filter
https://issues.apache.org/bugzilla/show_bug.cgi?id=49711 Wang Guangzhe changed: What|Removed |Added CC||rafaa.w...@gmail.com -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r987995 - in /tomcat/trunk: java/org/apache/catalina/ha/session/DeltaSession.java webapps/docs/changelog.xml
Author: kfujino Date: Mon Aug 23 04:57:49 2010 New Revision: 987995 URL: http://svn.apache.org/viewvc?rev=987995&view=rev Log: Add support for LAST_ACCESS_AT_START system property to DeltaSession. Modified: tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java?rev=987995&r1=987994&r2=987995&view=diff == --- tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java (original) +++ tomcat/trunk/java/org/apache/catalina/ha/session/DeltaSession.java Mon Aug 23 04:57:49 2010 @@ -349,7 +349,12 @@ public class DeltaSession extends Standa } if (maxInactiveInterval >= 0) { long timeNow = System.currentTimeMillis(); -int timeIdle = (int) ( (timeNow - thisAccessedTime) / 1000L); +int timeIdle; +if (LAST_ACCESS_AT_START) { +timeIdle = (int) ((timeNow - lastAccessedTime) / 1000L); +} else { +timeIdle = (int) ((timeNow - thisAccessedTime) / 1000L); +} if (isPrimarySession()) { if (timeIdle >= maxInactiveInterval) { expire(true); Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=987995&r1=987994&r2=987995&view=diff == --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Mon Aug 23 04:57:49 2010 @@ -80,6 +80,10 @@ Add Null check when CHANGE_SESSION_ID message received. (kfujino) + +Add support for LAST_ACCESS_AT_START system property to DeltaSession. +(kfujino) + - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r988003 - /tomcat/tc6.0.x/trunk/STATUS.txt
Author: markt Date: Mon Aug 23 06:47:16 2010 New Revision: 988003 URL: http://svn.apache.org/viewvc?rev=988003&view=rev Log: Proposal Modified: tomcat/tc6.0.x/trunk/STATUS.txt Modified: tomcat/tc6.0.x/trunk/STATUS.txt URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=988003&r1=988002&r2=988003&view=diff == --- tomcat/tc6.0.x/trunk/STATUS.txt (original) +++ tomcat/tc6.0.x/trunk/STATUS.txt Mon Aug 23 06:47:16 2010 @@ -163,3 +163,9 @@ PATCHES PROPOSED TO BACKPORT: http://svn.apache.org/viewvc?rev=982877&view=rev +1: kfujino -1: + +* Switch to using ecj.jar directly (smaller download, simpler build, same + result) + http://people.apache.org/~markt/patches/2010-08-23-ecj-tc6.patch + +1: markt + -1: - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org