Bug report for Tomcat 6 [2013/05/12]

2013-05-12 Thread bugzilla
+---+
| 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  |
| |   |   |  |  |
|41679|New|Enh|2007-02-22|SemaphoreValve should be able to filter on url pat|
|41883|Ass|Enh|2007-03-18|use abstract wrapper instead of plain X509Certific|
|43001|New|Enh|2007-07-30|JspC lacks setMappedFile and setDie for use in Ant|
|43400|New|Enh|2007-09-14|enum support for tag libs |
|43548|Opn|Enh|2007-10-04|xml schema for tomcat-users.xml   |
|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|
|43979|New|Enh|2007-11-27|Add abstraction for Java and Classfile output |
|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|
|44294|New|Enh|2008-01-25|Support for EL functions with varargs |
|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|
|45428|New|Enh|2008-07-18|warn if the tomcat stop doesn't complete  |
|45832|New|Enh|2008-09-18|add DIGEST authentication support to Ant tasks|
|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|
|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.xml does not update do|
|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|
|46558|Opn|Enh|2009-01-19|Shutdown port with address binding|
|46727|New|Enh|2009-02-17|DefaultServlet - serving multiple encodings   |
|46902|New|Enh|2009-03-24|LoginValve to bypass restrictions of j_security_ch|
|47214|New|Enh|2009-05-17|Inner classes that are explicitly referenced - sho|
|47242|New|Enh|2009-05-22|request for AJP command line client   |
|47281|New|Enh|2009-05-28|Efficiency of the JDBCStore   |
|47407|New|Enh|2009-06-23|HttpSessionListener doesn't operate in the session|
|47467|New|Enh|2009-07-02|Deployment of the war file by URL when contextpath|
|47834|New|Enh|2009-09-14|TldConfig throws Exception when exploring unpacked|
|47919|New|Enh|2009-09-30|Log Tomcat & Java environment variables in additio|
|48358|Opn|Enh|2009-12-09|JSP-unloading reloaded|
|48543|New|Enh|2010-01-14|[Patch] More flexibility in specifying -Dcatalina.|
|48672|New|Enh|2010-02-03|Tomcat Virtual Host Manager (/host-manager) have b|
|48674|New|Enh|2010-02-03|Tomcat Virtual Host Manager application doesn't pe|
|48743|New|Enh|2010-02-15|Make the SLEEP variable in catalina.sh settable fr|
|48899|New|Enh|2010-03-12|Guess URI charset should solve lot of problems|
|48922|New|Enh|2010-03-16|org.apache.catalina.connector.Request clone static|
|48928|New|Enh|2010-03-17|An alternative solution to preloading classes when|
|49161|New|Enh|2010-04-21|Unknown Publisher when installing tomcat 6.0.26   |
|49176|Opn|Enh|2010-04-23|Jasper in Dev Mode Is Memory Inefficient  |
|49464|New|Enh|2010-06-18|DefaultServlet and CharacterEncoding  |
|49531|New|Enh|2010-06-30|singlesignon failover not working on DeltaManager/|
|49804|New|Enh|2010-08-23|Allow Embedded.redirectStreams value to be configu|
|49939|New|Enh|2010-09-16|Expose a method via JMX which empties the webapp f|
|49943|New|Enh|2010-09-16|Logging (via juli) does not reread configuration c|
|50285|New|Enh|2010-11-17|Standard HTTP and AJP connectors silently ignore a|
|50288|

Bug report for Taglibs [2013/05/12]

2013-05-12 Thread bugzilla
+---+
| 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  |
| |   |   |  |  |
|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|Enh|2007-05-14|[PATCH] Log Taglib enhancements   |
|46052|New|Nor|2008-10-21|SetLocaleSupport is slow to initialize when many l|
|48333|New|Enh|2009-12-02|TLD generator |
+-+---+---+--+--+
| Total5 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Bug report for Tomcat 7 [2013/05/12]

2013-05-12 Thread bugzilla
+---+
| 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  |
| |   |   |  |  |
|16579|New|Enh|2003-01-30|documentation page layout/style breaks wrapping to|
|18500|New|Enh|2003-03-30|Host aliases to match by regular expression   |
|28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn  |
|40728|Inf|Enh|2006-10-11|Catalina MBeans use non-serializable classes  |
|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|
|43866|New|Enh|2007-11-14|add support for session attribute propagation with|
|43925|Opn|Enh|2007-11-21|org.apache.jasper.runtime.BodyContentImpl causing |
|44216|New|Enh|2008-01-11|Don't reuse session ID even if emptySessionPath=tr|
|48550|Inf|Enh|2010-01-14|Update examples and default server.xml to use UTF-|
|49395|New|Enh|2010-06-06|manager.findLeaks : display the date when the leak|
|49589|New|Enh|2010-07-12|Tag handlers with constant attribute values are al|
|49785|New|Enh|2010-08-19|Enabling TLS for JNDIRealm|
|49821|New|Enh|2010-08-25|Tomcat CLI|
|50019|New|Enh|2010-09-28|Adding JNDI "lookup-name" support In XML and Resou|
|50175|New|Enh|2010-10-28|Enhance memory leak detection by selectively apply|
|50234|New|Enh|2010-11-08|JspC use servlet 3.0 features |
|50504|New|Enh|2010-12-21|Allow setting query string character set trough re|
|50670|New|Enh|2011-01-27|Tribes | RpcChannel | Add option to specify extern|
|51195|New|Enh|2011-05-13|"Find leaks" reports a false positive memory/class|
|51294|Opn|Enh|2011-05-30|Since 7.0.12 do not work option unpackWARs=true fo|
|51423|Inf|Enh|2011-06-23|[Patch] to add a path and a version parameters to |
|51463|New|Enh|2011-07-01|Tomcat.setBaseDir  (package org.apache.catalina.st|
|51496|New|Enh|2011-07-11|NSIS - Warn that duplicate service name will resul|
|51526|New|Enh|2011-07-18|Process web application context config with embedd|
|51587|New|Enh|2011-07-29|Implement status and uptime commands  |
|51953|New|Enh|2011-10-04|Proposal: netmask filtering valve and filter  |
|52092|New|Enh|2011-10-26|Please make AsyncFileHandler and OneLineFormatter |
|52235|New|Enh|2011-11-23|Please do a bit of SEO tuning for the web site|
|52323|New|Enh|2011-12-13|Cobertura test code coverage support for build.xml|
|52381|New|Enh|2011-12-22|Please add OSGi metadata  |
|52448|New|Enh|2012-01-11|Cache jar indexes in WebappClassLoader to speed up|
|52489|New|Enh|2012-01-19|Enhancement request for code signing of war files |
|52558|New|Enh|2012-01-30|CometConnectionManagerValve is adding non-serializ|
|52688|New|Enh|2012-02-16|Add ability to remove old access log files|
|52751|Opn|Enh|2012-02-23|Optimized configuration of the system info display|
|52952|New|Enh|2012-03-20|Improve ExtensionValidator handling for embedded s|
|53085|New|Enh|2012-04-16|[perf] [concurrency] DefaultInstanceManager.annota|
|53387|New|Enh|2012-06-08|SSI: Allow to use $1 to get result of regular expr|
|53411|Opn|Enh|2012-06-13|NullPointerException in org.apache.tomcat.util.buf|
|53492|New|Enh|2012-07-01|Make JspC shell multithreaded |
|53553|New|Enh|2012-07-16|[PATCH] Deploy uploaded WAR with context.xml from |
|53602|New|Enh|2012-07-25|Support for HTTP status code 451  |
|53620|New|Enh|2012-07-30|[juli] delay opening a file until something gets l|
|53665|New|Enh|2012-08-06|Minor JNDI Howto document enhancement concerning m|
|53776|New|Enh|2012-08-24|Multitenancy support for JDBCRealm|
|53777|New|Enh|2012-08-24|Ability to bundle JAAS Configuration in Webappp   |
|54013|New|Enh|2012-10-16|Catalina.sh force kill to wait till process exits |
|54083|New|Enh|2012-10-31|Provide jarsToSkip on a per-webapp basis  |
|54330|New|Enh|2012-12-19|Patch with some refactoring of Member.java|
|54499|New|Enh|2013-01-29|Implementation of Extensible EL Interpreter   |
|54618|

Bug report for Tomcat Connectors [2013/05/12]

2013-05-12 Thread bugzilla
+---+
| 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|
|43303|New|Enh|2007-09-04|Versioning under Windows not reported by many conn|
|43968|Inf|Enh|2007-11-26|[patch] support ipv6 with mod_jk  |
|44290|Inf|Nor|2008-01-24|mod_jk/1.2.26: retry is not useful for an importan|
|44349|Inf|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|
|46337|New|Nor|2008-12-04|real worker name is wrong |
|46767|New|Enh|2009-02-25|mod_jk to send DECLINED in case no fail-over tomca|
|47327|New|Enh|2009-06-07|remote_user not logged in apache logfile  |
|47617|Inf|Enh|2009-07-31|include time spent doing ajp_get_endpoint() in err|
|47678|New|Cri|2009-08-11|Unable to allocate shared memory when using isapi_|
|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|
|48460|New|Nor|2009-12-30|mod_proxy_ajp document has three misleading portio|
|48490|New|Nor|2010-01-05|Changing a node to stopped in uriworkermap.propert|
|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|
|48891|Opn|Enh|2010-03-11|Missing EOL-style settings in tomcat/jk/trunk |
|49035|New|Maj|2010-04-01|data lost when post a multipart/form-data form|
|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 |
|49469|New|Enh|2010-06-19|Workers status page has negative number of connect|
|49732|Opn|Nor|2010-08-10|reply_timeout can't wait forever. |
|49822|New|Enh|2010-08-25|Add hash lb worker method |
|49903|New|Enh|2010-09-09|Make workers file reloadable  |
|50186|New|Nor|2010-10-31|Wrong documentation of connection_pool_timeout / c|
|52334|New|Maj|2011-12-14|recover_time is not properly used |
|52483|New|Enh|2012-01-18|Print JkOptions's options in log file and jkstatus|
|52651|New|Nor|2012-02-13|JKSHMFile size limitation |
|53324|Opn|Nor|2012-05-30|Starting with mod_jk 1.2.35 I cannot modify worker|
|53542|New|Min|2012-07-13|Spelling mistake on 503 service unavailable page  |
|53762|New|Nor|2012-08-22|JK status manager: mass nodes handling doesn't wor|
|53883|New|Maj|2012-09-17|isapi_redirect v 1.2.37 crashes w3wp.exe  on the p|
|53977|New|Maj|2012-10-07|32bits isapi connector cannot work in wow64 mode  |
|54027|New|Cri|2012-10-18|isapi send request to outside address instead of i|
|54112|Opn|Blk|2012-11-07|ISAPI redirector not working when IIS recycles|
|54117|New|Maj|2012-11-08|access violation exception in isapi_redirect.dll  |
|54177|New|Nor|2012-11-20|jkmanager generates non-well-formed XML for certai|
|54596|New|Nor|2013-02-22|Relative paths truncates last character of values |
|54621|New|Nor|2013-02-28|[PATCH] custom mod_jk availability checks |
|54646|New|Trv|2013-03-06|socket_keepalive is sometimes 1 or true or True in|
|54923|New|Nor|2013-05-03|nsapi_redirect.so does not work with iPlanet on So|
+-+

Bug report for Tomcat 8 [2013/05/12]

2013-05-12 Thread bugzilla
+---+
| 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  |
| |   |   |  |  |
|51497|New|Enh|2011-07-11|Use canonical IPv6 text representation in logs|
|53737|Opn|Enh|2012-08-18|Use ServletContext.getJspConfigDescriptor() in Jas|
|53930|New|Enh|2012-09-24|allow capture of catalina stdout/stderr to a comma|
|53987|New|Enh|2012-10-09|Log uncovered HTTP methods in combined security co|
|54095|New|Enh|2012-11-03|[patch] support gzipped versions of static resourc|
|54503|New|Enh|2013-01-29|SAML2 based single sign on|
|54522|New|Nor|2013-02-04|Add patch binary as prerequisite in BUILDING.txt  |
|54700|New|Enh|2013-03-15|Improvement: Add support for system property to sp|
|54729|New|Enh|2013-03-20|new HttpParser.parseAuthorizationBasic method |
|54741|New|Enh|2013-03-22|Add org.apache.catalina.startup.Tomcat#addWebapp(S|
|54745|New|Enh|2013-03-22|Tomcat JarScanning does not work when Tomcat start|
|54770|New|Enh|2013-03-29|Add jarsToScan properties to counteract jarsToSkip|
|54899|New|Enh|2013-04-28|Initial support for netbeans ide  |
|54944|New|Enh|2013-05-09|Enhancements to TestFormAuthenticator |
+-+---+---+--+--+
| Total   14 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Bug report for Tomcat Modules [2013/05/12]

2013-05-12 Thread bugzilla
+---+
| 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  |
| |   |   |  |  |
|48240|New|Nor|2009-11-19|Tomcat-Lite missing @Override markers |
|48268|New|Nor|2009-11-23|Patch to fix generics in tomcat-lite  |
|48861|New|Nor|2010-03-04|Files without AL headers  |
|49685|New|Nor|2010-08-02|Unsafe synchronization in class ManagedBean   |
|49686|New|Nor|2010-08-02|Using an instance lock to protect static shared da|
|50571|Inf|Nor|2011-01-11|Tomcat 7 JDBC connection pool exception enhancemen|
|51595|Inf|Nor|2011-08-01|org.apache.tomcat.jdbc.pool.jmx.ConnectionPool sho|
|51879|Inf|Enh|2011-09-22|Improve access to Native Connection Methods   |
|52024|Inf|Enh|2011-10-13|Custom interceptor to support automatic failover o|
|53088|Opn|Min|2012-04-17|Give PoolCleaner TimerTask a better name  |
|53198|New|Cri|2012-05-07|'driverClassName' Data Source Property Being Manda|
|53199|Inf|Enh|2012-05-07|Refactor ConnectionPool to use ScheduledExecutorSe|
|53200|New|Enh|2012-05-07|Be able to use SlowQueryReport without reporting f|
|53770|New|Enh|2012-08-23|tomcat-pool: always log validation query syntax er|
|53853|New|Nor|2012-09-11|Can tomcat-jdbc consider Thread#getContextClassLoa|
|54225|New|Nor|2012-11-30|if initSQL property is set to an empty string a Nu|
|54227|New|Nor|2012-11-30|maxAge should be checked on borrow|
|54235|New|Nor|2012-12-03|tomcat jdbc pool stackoverflow error used with spr|
|54395|New|Nor|2013-01-09|JdbcInterceptor config parameter parsing errors   |
|54437|New|Enh|2013-01-16|Update PoolProperties javadoc for ConnectState int|
|54537|New|Cri|2013-02-07|StatementFinalizer closeInvoked is too slow for la|
|54693|New|Enh|2013-03-13|Add a validationQueryTimeout property |
|54929|New|Nor|2013-05-05|jdbc-pool cannot be used with Java 1.5, "java.lang|
+-+---+---+--+--+
| Total   23 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Bug report for Tomcat Native [2013/05/12]

2013-05-12 Thread bugzilla
+---+
| 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  |
| |   |   |  |  |
|46179|Opn|Maj|2008-11-10|apr ssl client authentication |
|48655|Inf|Nor|2010-02-02|Active multipart downloads prevent tomcat shutdown|
|49038|Inf|Nor|2010-04-02|Crash in tcnative |
|51655|New|Nor|2011-08-12|Index page does not say what native does  |
|51813|New|Cri|2011-09-14|Tomcat randomly crashes with [libtcnative-1.so.1+0|
|52153|New|Maj|2011-11-08|periodic JVM crash (access violation) on buffer fl|
|52231|New|Nor|2011-11-23|Ant Tasks need to reflect changes in manager comma|
|52319|New|Maj|2011-12-12|Tomcat 6 crashes with [libapr-1.so.0+0x196da]  sig|
|52627|New|Min|2012-02-08|Segmentation fault in org.apache.tomcat.jni.File.i|
|53110|New|Cri|2012-04-20|Access Violation Error while creating SHM |
|53605|New|Nor|2012-07-26|use tcnative-1.1.24 Tomcat shutdown still crash   |
|53847|Inf|Nor|2012-09-10|High CPU usage in tomcat native 1.22+ |
|53937|New|Reg|2012-09-26|Double call to apr_pool_destroy() if OCSP checking|
|53940|New|Enh|2012-09-27|Added support for new CRL loading after expiration|
|53952|New|Nor|2012-10-02|Add support for TLS 1.1 and 1.2   |
|54085|New|Nor|2012-11-01|ssl_socket_recv sometimes loops infinitely with no|
|54664|New|Reg|2013-03-11|[1.1.27 branch] Poll.remove incorrectly reports AP|
+-+---+---+--+--+
| Total   17 bugs   |
+---+

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1481490 - in /tomcat/trunk/java/org/apache/tomcat/util: Diagnostics.java LocalStrings.properties

2013-05-12 Thread rjung
Author: rjung
Date: Sun May 12 08:37:24 2013
New Revision: 1481490

URL: http://svn.apache.org/r1481490
Log:
- reduce visibility or one internal method
- reorder some methods
- Fix JavaDocs
- add missing StringManager entries

Modified:
tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java
tomcat/trunk/java/org/apache/tomcat/util/LocalStrings.properties

Modified: tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java?rev=1481490&r1=1481489&r2=1481490&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java Sun May 12 
08:37:24 2013
@@ -223,9 +223,11 @@ public class Diagnostics {
 }
 
 /**
- * Reset peak memory usage data in MemoryPoolMXBean
+ * Set usage threshold in MemoryPoolMXBean
  *
  * @param name name of the MemoryPoolMXBean
+ * @param threshold the threshold to set
+ * @return true if setting the threshold succeeded
  */
 public static boolean setUsageThreshold(String name, long threshold) {
 for (MemoryPoolMXBean mbean: memoryPoolMXBeans) {
@@ -245,9 +247,11 @@ public class Diagnostics {
 }
 
 /**
- * Reset peak memory collection usage data in MemoryPoolMXBean
+ * Set collection usage threshold in MemoryPoolMXBean
  *
  * @param name name of the MemoryPoolMXBean
+ * @param threshold the collection threshold to set
+ * @return true if setting the threshold succeeded
  */
 public static boolean setCollectionUsageThreshold(String name, long 
threshold) {
 for (MemoryPoolMXBean mbean: memoryPoolMXBeans) {
@@ -383,6 +387,14 @@ public class Diagnostics {
 return "";
 }
 
+/**
+ * Retrieve the StringManager for a list of Locales.
+ * The first StringManager found will be returned.
+ *
+ * @param requestedLocales the list of locales
+ * @return the found StringManager or the default
+ * StringManager
+ */
 private static StringManager getStringManager(
 Enumeration requestedLocales) {
 while (requestedLocales.hasMoreElements()) {
@@ -396,17 +408,34 @@ public class Diagnostics {
 return sm;
 }
 
+/**
+ * Retrieves a formatted JVM thread dump.
+ * The default StringManager will be used.
+ *
+ * @return the formatted JVM thread dump
+ */
 public static String getThreadDump() {
 return getThreadDump(sm);
 }
 
+/**
+ * Retrieves a formatted JVM thread dump.
+ * The given list of locales will be used
+ * to retrieve a StringManager.
+ *
+ * @requestedLocales list of locales to use
+ * @return the formatted JVM thread dump
+ */
 public static String getThreadDump(Enumeration requestedLocales) {
 return getThreadDump(getStringManager(requestedLocales));
 }
 
 /**
- * Retrieve a formatted JVM thread dump.
- * @return the thread dump
+ * Retrieve a JVM thread dump formatted
+ * using the given StringManager.
+ *
+ * @requestedSm the StringManager to use
+ * @return the formatted JVM thread dump
  */
 public static String getThreadDump(StringManager requestedSm) {
 StringBuilder sb = new StringBuilder();
@@ -435,19 +464,13 @@ public class Diagnostics {
 return sb.toString();
 }
 
-public static String getVMInfo() {
-return getVMInfo(sm);
-}
-
-public static String getVMInfo(Enumeration requestedLocales) {
-return getVMInfo(getStringManager(requestedLocales));
-}
-
 /**
  * Format contents of a MemoryUsage object.
+ * @param name a text prefix used in formatting
+ * @param usage the MemoryUsage object to format
  * @return the formatted contents
  */
-public static String formatMemoryUsage(String name, MemoryUsage usage) {
+private static String formatMemoryUsage(String name, MemoryUsage usage) {
 if (usage != null) {
 StringBuilder sb = new StringBuilder();
 sb.append(INDENT1 + name + " init: " + usage.getInit() + CRLF);
@@ -460,8 +483,33 @@ public class Diagnostics {
 }
 
 /**
- * Retrieve a formatted JVM thread dump.
- * @return the thread dump
+ * Retrieves a formatted JVM information text.
+ * The default StringManager will be used.
+ *
+ * @return the formatted JVM information text
+ */
+public static String getVMInfo() {
+return getVMInfo(sm);
+}
+
+/**
+ * Retrieves a formatted JVM information text.
+ * The given list of locales will be used
+ * to retrieve a StringManager.
+ *
+ * @requestedLocales list of locales to use
+ * @return the formatted JVM information text
+ */
+public static String getVMInfo(Enumeration requestedLocales

svn commit: r1481492 - /tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java

2013-05-12 Thread rjung
Author: rjung
Date: Sun May 12 08:42:15 2013
New Revision: 1481492

URL: http://svn.apache.org/r1481492
Log:
Replace unusual timestamp format with a more
common and useful one.

Modified:
tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java?rev=1481492&r1=1481491&r2=1481492&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java Sun May 12 
08:42:15 2013
@@ -77,7 +77,7 @@ public class Diagnostics {
 org.apache.juli.logging.LogFactory.getLog(Diagnostics.class);
 
 private static final SimpleDateFormat timeformat =
-new SimpleDateFormat("-MM-DD HH:mm:ss.SSS");
+new SimpleDateFormat("-MM-dd HH:mm:ss.SSS");
 
 /* Some platform MBeans */
 private static final ClassLoadingMXBean classLoadingMXBean =



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1481495 - /tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java

2013-05-12 Thread rjung
Author: rjung
Date: Sun May 12 08:50:36 2013
New Revision: 1481495

URL: http://svn.apache.org/r1481495
Log:
Fix Javadoc fixes.

Modified:
tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java?rev=1481495&r1=1481494&r2=1481495&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java Sun May 12 
08:50:36 2013
@@ -423,7 +423,7 @@ public class Diagnostics {
  * The given list of locales will be used
  * to retrieve a StringManager.
  *
- * @requestedLocales list of locales to use
+ * @param requestedLocales list of locales to use
  * @return the formatted JVM thread dump
  */
 public static String getThreadDump(Enumeration requestedLocales) {
@@ -434,7 +434,7 @@ public class Diagnostics {
  * Retrieve a JVM thread dump formatted
  * using the given StringManager.
  *
- * @requestedSm the StringManager to use
+ * @param requestedSm the StringManager to use
  * @return the formatted JVM thread dump
  */
 public static String getThreadDump(StringManager requestedSm) {
@@ -497,7 +497,7 @@ public class Diagnostics {
  * The given list of locales will be used
  * to retrieve a StringManager.
  *
- * @requestedLocales list of locales to use
+ * @param requestedLocales list of locales to use
  * @return the formatted JVM information text
  */
 public static String getVMInfo(Enumeration requestedLocales) {
@@ -508,7 +508,7 @@ public class Diagnostics {
  * Retrieve a JVM information text formatted
  * using the given StringManager.
  *
- * @requestedSm the StringManager to use
+ * @param requestedSm the StringManager to use
  * @return the formatted JVM information text
  */
 public static String getVMInfo(StringManager requestedSm) {



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1481288 - /tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java

2013-05-12 Thread Rainer Jung
Thanks for this and the other mail. Should be all fixed now.
Concerning the StringManager: I had simply forgotten to
commit the changes :(

Regards,

Rainer

On 11.05.2013 20:02, Konstantin Kolinko wrote:
> 2013/5/11  :
>> Author: rjung
>> Date: Sat May 11 10:48:33 2013
>> New Revision: 1481288
>>
>> URL: http://svn.apache.org/r1481288
>> Log:
>> Make remaining MXBean methods that trigger
>> an action or change data available in
>> Diagnostics API.
>>
>> Modified:
>> tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java
>>
>> Modified: tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java
>> URL: 
>> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java?rev=1481288&r1=1481287&r2=1481288&view=diff
>> ==
>> --- tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java (original)
>> +++ tomcat/trunk/java/org/apache/tomcat/util/Diagnostics.java Sat May 11 
>> 10:48:33 2013
>> @@ -19,13 +19,18 @@
>>  // XXX TODO: More JavaDoc
>>  // XXX Optional: Add support for com.sun.management specific mbean
>>  //   
>> (http://docs.oracle.com/javase/7/docs/jre/api/management/extension/index.html)
>> -// XXX Optional: Wire setters to the manager:
>> -//   log level setter, verbose class loading setter,
>> -//   setVerbose() and gc() in MemoryMXBean,
>> -//   resetPeakUsage(), setUsageThreshold() and
>> -//   setCollectionUsageThreshold() in MemoryPoolMXBean,
>> -//   and threadMXBean setters, probably even for
>> -//   com.sun.management like HotSpotDiagnosticMXBean.
>> +// XXX Optional: Wire additional public static methods implemented here
>> +//   to the manager (think about manager access roles!)
>> +// setLoggerLevel(),
>> +// setVerboseClassLoading(),
>> +// setThreadContentionMonitoringEnabled(),
>> +// setThreadCpuTimeEnabled(),
>> +// resetPeakThreadCount(),
>> +// setVerboseGarbageCollection()
>> +// gc(),
>> +// resetPeakUsage(),
>> +// setUsageThreshold(),
>> +// setCollectionUsageThreshold()
>>
>>  package org.apache.tomcat.util;
>>
>> @@ -184,6 +189,84 @@ public class Diagnostics {
>>  }
>>
>>  /**
>> + * Set verbose garbage collection logging
>> + *
>> + * @param verbose whether to enable verbose gc logging
>> + */
>> +public static void setVerboseGarbageCollection(boolean verbose) {
>> +memoryMXBean.setVerbose(verbose);
>> +boolean checkValue = memoryMXBean.isVerbose();
>> +if (verbose != checkValue) {
>> +log.error("Could not set verbose garbage collection logging to 
>> " + verbose +
>> +  ", got " + checkValue + " instead");
>> +}
>> +}
>> +
>> +/**
>> + * Initiate garbage collection via MX Bean
>> + */
>> +public static void gc() {
>> +memoryMXBean.gc();
>> +}
>> +
>> +/**
>> + * Reset peak memory usage data in MemoryPoolMXBean
>> + *
>> + * @param name name of the MemoryPoolMXBean or "all"
>> + */
>> +public static void resetPeakUsage(String name) {
>> +for (MemoryPoolMXBean mbean: memoryPoolMXBeans) {
>> +if (name.equals("all") || name.equals(mbean.getName())) {
>> +mbean.resetPeakUsage();
>> +}
>> +}
>> +}
>> +
>> +/**
>> + * Reset peak memory usage data in MemoryPoolMXBean
> 
> The above Javadoc is wrong (it is the same as for the previous method).
> 
>> + *
>> + * @param name name of the MemoryPoolMXBean
>> + */
>> +public static boolean setUsageThreshold(String name, long threshold) {
>> +for (MemoryPoolMXBean mbean: memoryPoolMXBeans) {
>> +if (name.equals(mbean.getName())) {
>> +try {
>> +mbean.setUsageThreshold(threshold);
>> +return true;
>> +} catch (IllegalArgumentException ex) {
>> +// IGNORE
>> +} catch (UnsupportedOperationException ex) {
>> +// IGNORE
>> +}
>> +return false;
>> +}
>> +}
>> +return false;
>> +}
>> +
>> +/**
>> + * Reset peak memory collection usage data in MemoryPoolMXBean
>> + *
> 
> The same here.
> 
>> + * @param name name of the MemoryPoolMXBean
>> + */
>> +public static boolean setCollectionUsageThreshold(String name, long 
>> threshold) {
>> +for (MemoryPoolMXBean mbean: memoryPoolMXBeans) {
>> +if (name.equals(mbean.getName())) {
>> +try {
>> +mbean.setCollectionUsageThreshold(threshold);
>> +return true;
>> +} catch (IllegalArgumentException ex)

[Bug 54947] Http11NioProtocol generates HTTP 505 responses on valid requests if request is split across multiple packets

2013-05-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54947

--- Comment #1 from Konstantin Preißer  ---
Created attachment 30272
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30272&action=edit
Patch for trunk

Hi,

I can reproduce the issue with current trunk and Tomcat 7.0.40.

Attached is a patch against trunk that fixes the issue for me by resolving a
logic error in InternalNioInputBuffer ("end = 0" was set twice: when starting
to read the HTTP version up to \r, and after the \n has been received; which
meant "end" was set to the position of "\n" instead of "\r", causing the
version string to be "HTTP/1.1\r" instead of "HTTP/1.1").

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



[Bug 54947] Http11NioProtocol generates HTTP 505 responses on valid requests if request is split across multiple packets

2013-05-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54947

Konstantin Preißer  changed:

   What|Removed |Added

  Component|Connectors  |Connectors
Version|6.0.36  |7.0.40
Product|Tomcat 6|Tomcat 7
   Target Milestone|default |---

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



[Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2013-05-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

--- Comment #19 from Charlie Hubbard  ---
The problem is deploying to ROOT context has only a handful of options and
these options are difficult to use.  And this is the most common context to
deploy to.  What we want is the ability to copy our war file up to a directory
without manually manipulating it (ie renaming it, unpacking it, etc), copy a
file to a path to map it to a context without having to modify a file owned by
TC, and let tomcat unpack it for us.

The only options we have right now are:

   1. Rename our war file to ROOT.war and put it in the webapps folder.
   2. Put the war file external to webapps, and put an application context
descriptor file under Catalina/localhost to point to the external war mapping
it to the root context.  
   3. The final option is to modify server.xml file to add the context mapping
and put the external war file in there.

Well the first option sucks and really the only one that works now because we
can't keep our name and version information intact.  No build process out there
outputs ROOT.war so that's a manual step we have to perform to make this work. 
And you have do several steps on the server to make it work.  You can't just
use scp to copy the file up and restart.

The second option sucks because TC will let you set the ROOT context using a
file under Catalina/localhost, but it refuses to extract the war file because
its an external war file.

The third option sucks because you can't automate easily, but also suffers from
external war file unpacking problem.  And this is in bold to not do in the TC
docs.

What is left writing lots of specialized deployment code to force us to
manually extract the war files ourselves.  Why not just make the whole process
straight forward?  What are all of these features not uniform and straight
forward?  I don't think the problem is external vs internal unpacking.  It's
the whole freaking process of deploying a war file and mapping that onto a URL
of our choosing without modifying the internals of TC or changing our output.

What would be super straight forward and simple is.  Copy the war file up to a
folder (maybe webapps, any folder, etc), and deploy a config file (like a
context file) that can map the war file to a URL including ROOT path, specify
if a war file should be unpacked or not, redeploy, etc.  Something like this:



Or relative to webapps



It just so straight forward it makes me want to cry that TC right now is so
confusing with all of these terrible options we have.  If you make the process
straight forward the code will clean itself up because it's simple.  I think TC
has so many options for deployment that are worthless it made the code complex.
 It's just you took away one of the useful features for bad reasons.

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



[Bug 51294] Since 7.0.12 do not work option unpackWARs=true for WARs outside appBase

2013-05-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51294

--- Comment #20 from Charlie Hubbard  ---
Why didn't you just clean up the docs and make the docs match the code instead
of changing the code to match the docs?  Seems like a lot less work to type in
a paragraph in the docs than change code!  Look at how much more typing
everyone on the internet has now done in response to this change!  The rest of
the reasons for changing code that I read didn't make a compelling reason to
change it other than it might have simplified the code.  Well of course it did
a feature was removed.  It's not like it was refactored.  Code was just
deleted.

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



[Bug 54955] New: Mapping to application context root returns 404 after reload

2013-05-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54955

Bug ID: 54955
   Summary: Mapping to application context root returns 404 after
reload
   Product: Tomcat 7
   Version: 7.0.40
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: Servlet & JSP API
  Assignee: dev@tomcat.apache.org
  Reporter: zhengyan...@gmail.com
Classification: Unclassified

Created attachment 30273
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30273&action=edit
A minimum war file to reproduce the bug with sources attached

URL mapping specified as ""(empty string) maps a servlet to the context root
according to servlet specification. This feature is working when an application
is deployed, but broken when it's reloaded. A reload will result in 404 error.
(Other url mappings are OK, only "")

Steps to reproduce:

1) Create a servlet with URL mapping as empty string, you can either use
@WebServlet("") annotation or  in web.xml

2) If you deploy it in Tomcat 7.0.40, it will work. (e.g.
http://localhost:8080/myapp/) 

3) But if you reload the app (say using the manager app),
http://localhost:8080/myapp/ will give 404 error. Servlet in step 1 is never
called this time.

Actual Results: 404 Not Found

Expected Results: Show the context root page.

Env: Tomcat 7.0.40, Java 7, Windows 8

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



[Bug 54955] Mapping to application context root returns 404 after reload

2013-05-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=54955

Zheng Yang  changed:

   What|Removed |Added

 CC||zhengyan...@gmail.com
 OS||All

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