Bug report for Taglibs [2011/05/08]

2011-05-08 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 |
|50825|New|Nor|2011-02-24|Site still has links to Jakarta for mailing lists |
+-+---+---+--+--+
| Total6 bugs   |
+---+

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



Bug report for Tomcat Connectors [2011/05/08]

2011-05-08 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|
|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|
|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|Cri|2009-08-11|Unable to allocate shared memory when using isapi_|
|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|
|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|
|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|
|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|
|50233|New|Cri|2010-11-08|support long URLs (more than 2048)|
|50385|New|Trv|2010-11-30|There's a Spanish Inquisition error in the documen|
|50511|Inf|Nor|2010-12-22|WARNING about Internal Dummy Connection of Apache |
|50694|New|Nor|2011-01-31|ModJK NSAPI inserted headers case sensitivity issu|
|50839|

Bug report for Tomcat 5 [2011/05/08]

2011-05-08 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  |
| |   |   |  |  |
|27122|Opn|Enh|2004-02-20|IE plugins cannot access components through Tomcat|
|28039|Opn|Enh|2004-03-30|Cluster Support for SingleSignOn  |
|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|
|35054|Inf|Enh|2005-05-25|warn if appBase is not existing as a File or direc|
|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|
|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|
|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|
|38546|Inf|Enh|2006-02-07|Google bot sends invalid If-Modifed-Since Header, |
|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|New|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|
|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|
|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|New|Enh|2007-11-14|add support for session attribute propagation with|
|43925|Opn|Enh|2007-11-21|org.apache.jasper.runtime.BodyContentImpl causing |
|43991|New|Enh|2007-11-29|Contributing a URLResourceFactory |
|44216|New|Enh|2008-01-11|Don't reuse session ID even if emptySessionPath=tr|
|44904|New|Enh|2008-04-29|Provide warning message when DataSource's maxActiv|
|45052|New|Enh|2008-05-21|Provide read only access for certain role in Manag|
|45882|New|Enh|2008-09-24|Ensure all jars have full manifests and N & L file|
|46221|New|Enh|2008-11-17|Leak WebappClassLoader with commons-logging and lo|
|46252|New|Enh|2008-11-20|Tomcat access log doesn't support Unicode |
|47203|New|Enh|2009-05-15|Make JMXAdaptorLifecycleListener Java 1.4 compatib|
|48717|Opn|Reg|2010-02-09|Session listeners not called on cluster node start|
|48997|New|Enh|2010-03-26|enhance ssl-howto documentation   |
|50744|Opn|Maj|2011-02-09|When Tomcat was updated from version 5.5.27 to 5.5|
|51042|New|Nor|2011-04-08|HttpSessionListener.sessionCreated() is called a s|
|51073|New|Maj|2011-04-16|Misconfigured SSLProtocol with an AprEndpoint sile|
+-+---+---+--+--+
| Total   46 bugs   |
+---+

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

Bug report for Tomcat 7 [2011/05/08]

2011-05-08 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  |
| |   |   |  |  |
|10021|New|Enh|2002-06-19|Include upgrade option in installer   |
|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 (trivi|
|39740|Opn|Enh|2006-06-07|semi-colon ; isn't allowed as a query argument sep|
|48358|Opn|Enh|2009-12-09|JSP-unloading reloaded|
|48550|Inf|Enh|2010-01-14|Update examples and default server.xml to use UTF-|
|48892|New|Enh|2010-03-11|Use URIEncoding from server.xml for decoding post |
|49122|Opn|Enh|2010-04-14|Update of ROOT application index.html |
|49165|New|Enh|2010-04-21|Enhancement - Allow %{TIME_FORMAT}t As Configurati|
|49290|New|Enh|2010-05-14|Using a JarScanner with scanAllDirectories=true ca|
|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|
|49591|New|Enh|2010-07-13|Custom error page always uses Transfer-Encoding: c|
|49683|New|Nor|2010-08-01|Separate keep-alive and connection timeout with AP|
|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 |
|50353|New|Enh|2010-11-27|Calling asyncContext.getResponse() returns null af|
|50504|New|Enh|2010-12-21|Allow setting query string character set trough re|
|50570|New|Enh|2011-01-11|Allow explicit use of FIPS mode in APR lifecycle l|
|50670|New|Enh|2011-01-27|Tribes | RpcChannel | Add option to specify extern|
|50677|New|Enh|2011-01-27|Allow system property variables in catalina.proper|
|50923|New|Enh|2011-03-13|Difficult to pick out valid values from config des|
|50949|New|Enh|2011-03-20|Allow configuration of service name, AJP port, ser|
|51145|New|Enh|2011-05-03|Need a NIO-based AJP connector|
+-+---+---+--+--+
| Total   27 bugs   |
+---+

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



Bug report for Tomcat 6 [2011/05/08]

2011-05-08 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|
|43790|Ass|Enh|2007-11-03|concurrent access issue on TagHandlerPool |
|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|
|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 |
|44312|New|Enh|2008-01-28|Warn when overwritting docBase of the default Host|
|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|Provide a JSR196 implementation   |
|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!|
|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  |
|46497|New|Enh|2009-01-08|Install Tomcat Deployer/ANT on Windows Platform   |
|46655|New|Enh|2009-02-03|keystore's password handler   |
|46727|New|Enh|2009-02-17|DefaultServlet - serving multiple encodings   |
|46902|New|Enh|2009-03-24|LoginValve to bypass restrictions of j_security_ch|
|47061|New|Enh|2009-04-21|JDBCStore for saving sessions doesn't support data|
|47214|New|Enh|2009-05-17|Inner classes that are explicitly referenced - sho|
|47230|New|Enh|2009-05-21|Include sample cert attributes for SSL connectors |
|47242|New|Enh|2009-05-22|request for AJP command line client   |
|47281|New|Enh|2009-05-28|Efficiency of the JDBCStore   |
|47371|Opn|Blk|2009-06-16|EL expression parser error when getter methed retu|
|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|
|47785|Opn|Enh|2009-09-04|Cluster MBean not registered  |
|47834|New|Enh|2009-09-14|TldConfig throws Exception when exploring unpacked|
|47880|New|Enh|2009-09-20|Lack of +x permissions on script files results cry|
|47919|New|Enh|2009-09-30|Log Tomcat & Java environment variables in additio|
|48208|

Bug report for Tomcat Native [2011/05/08]

2011-05-08 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  |
| |   |   |  |  |
|45392|New|Nor|2008-07-14|No OCSP support for client SSL verification   |
|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 |
|49595|New|Cri|2010-07-15|Tomcat crashes in tcnative-1.dll frequently   |
|50394|Opn|Nor|2010-12-01|InternalAprInputBuffer.fill() doesn't deal correct|
|51056|New|Nor|2011-04-13|Disable / drop support for SSLv2  |
+-+---+---+--+--+
| Total7 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 [2011/05/08]

2011-05-08 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|
|49953|Opn|Nor|2010-09-17|Missing @Override annotations |
|50565|New|Min|2011-01-10|Static variables should be accessed in a static wa|
|50566|New|Nor|2011-01-10|Duplicate assignment to connection variable   |
|50567|New|Enh|2011-01-10|Classpath does not need to reference tomcat-dbcp.j|
|50571|Inf|Nor|2011-01-11|Tomcat 7 JDBC connection pool exception enhancemen|
|50660|New|Min|2011-01-26|Improve validationQuery error handling|
|50860|New|Nor|2011-03-03|In case of invalid or empty slqQuery connection ar|
|50864|New|Nor|2011-03-03|Reconfigure pool on the fly using JMX |
|51139|New|Nor|2011-05-01|Possible bug in code related to "validatorClassNam|
+-+---+---+--+--+
| Total   14 bugs   |
+---+

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



Re: svn commit: r1099032 - in /tomcat/trunk/res/scripts: ./ check-mime.pl

2011-05-08 Thread Felix Schumacher
Hi Rainer,

Am Dienstag, den 03.05.2011, 12:12 + schrieb rj...@apache.org:
> Author: rjung
> Date: Tue May  3 12:12:35 2011
> New Revision: 1099032
> 
> URL: http://svn.apache.org/viewvc?rev=1099032&view=rev
> Log:
> Add a script to check web.xml and httpd mime.types
> for differences.
> 
> Added:
> tomcat/trunk/res/scripts/
> tomcat/trunk/res/scripts/check-mime.pl   (with props)
> 
> Added: tomcat/trunk/res/scripts/check-mime.pl
> URL: 
> http://svn.apache.org/viewvc/tomcat/trunk/res/scripts/check-mime.pl?rev=1099032&view=auto
> ==
> --- tomcat/trunk/res/scripts/check-mime.pl (added)
> +++ tomcat/trunk/res/scripts/check-mime.pl Tue May  3 12:12:35 2011
> @@ -0,0 +1,410 @@
> +#!/usr/bin/perl
> +
...
> +# Script version, printed via getopts with "--version"
> +$main::VERSION = '1.0';
Any reason for not using 'our' like
our $VERSION = '1.0'; ?

> +
...
> +
> +# Parse arguments:
> +# -m: mime.types file (httpd) to use
> +# -i: input web.xml file to check
> +# -o: output web.xml file (gets generated and overwritten)
> +
> +$Getopt::Std::STANDARD_HELP_VERSION = 1;
> +our($opt_m, $opt_i, $opt_o);
Why should those options be visible by everyone outside this package?
'my' should be enough:
my ($opt_m, $opt_i, $opt_o);

> +getopts('m:i:o:');
> +
> +
> +# Check whether mandatory arguments are given
> +if ($opt_m eq '' || $opt_i eq '' || $opt_o eq '') {
> +HELP_MESSAGE(*STDOUT);
> +exit 1;
> +}
> +
> +
> +# Switch locale for alphabetical ordering
> +setlocale(LC_COLLATE, $LOCALE);
> +
> +# Read and parse httpd mime.types, build up hash extension->mime-type
> +open(MIMETYPES, "<$opt_m") or die "Could not open file '$opt_m' for read - 
> Aborting!";
You could use three param open and use lexical filehandles like
open my $mimetpyes_fh, '<', $opt_m or die "...";

> +while () {
> +chomp($_);
> +$line = $_;
while (my $line = <$mimetypes_fh>) {
  chomp($line);
> +$line =~ s/#.*//;
> +$line =~ s/^\s+//;
> +if ($line ne '') {
> +@cols = split(/\s+/, $line);
> +if ($#cols > 0) {
> +for ($i=1; $i <= $#cols; $i++) {
> +$httpd{$cols[$i]} = $cols[0];
> +}
> +} else {
> +print STDERR "WARN mime.types line ignored: $_\n";
> +}
> +}
> +}
> +close(MIMETYPES);
>

($mimetype, @endings) = split(/\s+/, $line); 
if (@endings > 0) {
   for my $ending (@endings) {
 $httpd{$ending} = $mimetype;
   }
} else {
   print STDERR "WARN mime.types line ignored: $_\n";
}
close $mimetypes_fh;

 would be possible also.
> +
> +# Read and parse web.xml, build up hash extension->mime-type
> +# and store the file parts form before and after mime mappings.
> +open(WEBXML, "<$opt_i") or die "Could not open file '$opt_i' for read - 
> Aborting!";
three-params open could be used again.

> +
> +# Skip and record all lines before the first mime type definition.
> +# Because of comment handling we need to read one line ahead.
> +$line = '';
> +while () {
> +if ($_ !~ //) {
> +$tomcat_pre .= $line;
> +} else {
> +last;
> +}
> +$line = $_;
> +}
> +
> +$commented = 0;
> +# If the previous line was start of a comment
> +# set marker, else add it to pre.
> +if ($line =~ /^\s*\s*$/) {
> +$comment = $1;
> +$_ = ;
> +chomp($_);
> +}
> +if ($_ =~ /^\s*([^<]*)<\/extension>\s*$/ ) {
> +$extension = $1;
> +$extension =~ s/^\s+//;
> +$extension =~ s/\s+$//;
> +} else {
> +print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\n";
> +print STDERR "ERROR Expected ...', got '$_' - 
> Aborting!\n";
> +close(WEBXML);
> +exit 2;
> +}
> +$_ = ;
> +chomp($_);
> +if ($_ =~ /^\s*([^<]*)<\/mime-type>\s*$/ ) {
> +$type = $1;
> +$type =~ s/^\s+//;
> +$type =~ s/\s+$//;
> +if (exists($tomcat{$extension}) && $tomcat{$extension} ne $type) {
> +print STDERR "WARN MIME mapping redefinition detected!\n";
> +print STDERR "WARN Kept '$extension' -> '$tomcat{$extension}'\n";
> +print STDERR "WARN Ignored '$extension' -> '$type'\n";
> +} else {
> +$tomcat{$extension} = $type;
> +if ($comment ne '') {
> +$tomcat_comments{$extension} = $comment;
> +}
> +if ($commented) {
> +$tomcat_commented{$extension} = 1;
> +}
> +push(@tomcat_extensions, $extension);
> +}
> +} else {
> +print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\n";
> +print STDERR "ERROR Expected ...', got '$_' - 
> Aborting!\n";
> +close(WEBXML);
> +exit 3;
> +}
> +$_ = ;
> +chomp($_);
> +if ($_ !~ /^\s*<\/mime-mapping>\s*$/) {
> +print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\n";
> +print STDERR "ERROR Expect

svn commit: r1100724 - in /tomcat/trunk: res/scripts/check-mime.pl webapps/docs/changelog.xml

2011-05-08 Thread rjung
Author: rjung
Date: Sun May  8 12:20:33 2011
New Revision: 1100724

URL: http://svn.apache.org/viewvc?rev=1100724&view=rev
Log:
Stylistic improvements to MIME type sync script.
Based on a patch provided by Felix Schumacher.

Modified:
tomcat/trunk/res/scripts/check-mime.pl
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/res/scripts/check-mime.pl
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/scripts/check-mime.pl?rev=1100724&r1=1100723&r2=1100724&view=diff
==
--- tomcat/trunk/res/scripts/check-mime.pl (original)
+++ tomcat/trunk/res/scripts/check-mime.pl Sun May  8 12:20:33 2011
@@ -60,7 +60,7 @@ use Getopt::Std;
 ### BEGIN VARIABLES WHICH MUST BE MAINTAINED 
#
 
 # Script version, printed via getopts with "--version"
-$main::VERSION = '1.0';
+our $VERSION = '1.1';
 
 # Locale used via LC_COLLATE when sorting extensions
 my $LOCALE  = 'en.UTF-8';
@@ -137,13 +137,19 @@ my $tomcat_pre; my $tomcat_post;
 # Helper variables
 my $i;
 my $line;
-my @cols;
+my $mimetype;
+my @extensions;
 my $extension;
 my $type;
 my $comment;
 my $commented;
-my $check;
 my $msg;
+my $previous;
+my $current;
+# File handles
+my $mimetypes_fh;
+my $webxml_fh;
+my $output_fh;
 
 
 # Usage/Help
@@ -163,7 +169,7 @@ sub HELP_MESSAGE {
 # -o: output web.xml file (gets generated and overwritten)
 
 $Getopt::Std::STANDARD_HELP_VERSION = 1;
-our($opt_m, $opt_i, $opt_o);
+our ($opt_m, $opt_i, $opt_o);
 getopts('m:i:o:');
 
 
@@ -178,33 +184,33 @@ if ($opt_m eq '' || $opt_i eq '' || $opt
 setlocale(LC_COLLATE, $LOCALE);
 
 # Read and parse httpd mime.types, build up hash extension->mime-type
-open(MIMETYPES, "<$opt_m") or die "Could not open file '$opt_m' for read - 
Aborting!";
-while () {
+open($mimetypes_fh, '<', $opt_m) or die "Could not open file '$opt_m' for read 
- Aborting!";
+while (<$mimetypes_fh>) {
 chomp($_);
 $line = $_;
 $line =~ s/#.*//;
 $line =~ s/^\s+//;
 if ($line ne '') {
-@cols = split(/\s+/, $line);
-if ($#cols > 0) {
-for ($i=1; $i <= $#cols; $i++) {
-$httpd{$cols[$i]} = $cols[0];
+($mimetype, @extensions) = split(/\s+/, $line);
+if (@extensions > 0) {
+for $extension (@extensions) {
+$httpd{$extension} = $mimetype;
 }
 } else {
 print STDERR "WARN mime.types line ignored: $_\n";
 }
 }
 }
-close(MIMETYPES);
+close($mimetypes_fh);
 
 # Read and parse web.xml, build up hash extension->mime-type
 # and store the file parts form before and after mime mappings.
-open(WEBXML, "<$opt_i") or die "Could not open file '$opt_i' for read - 
Aborting!";
+open($webxml_fh, '<', $opt_i) or die "Could not open file '$opt_i' for read - 
Aborting!";
 
 # Skip and record all lines before the first mime type definition.
 # Because of comment handling we need to read one line ahead.
 $line = '';
-while () {
+while (<$webxml_fh>) {
 if ($_ !~ //) {
 $tomcat_pre .= $line;
 } else {
@@ -231,12 +237,12 @@ if ($line =~ /^\s*\s*$/) {
 $comment = $1;
-$_ = ;
+$_ = <$webxml_fh>;
 chomp($_);
 }
 if ($_ =~ /^\s*([^<]*)<\/extension>\s*$/ ) {
@@ -246,10 +252,10 @@ while ($_ =~ /^\s*\s*$/) {
 } else {
 print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\n";
 print STDERR "ERROR Expected ...', got '$_' - 
Aborting!\n";
-close(WEBXML);
+close($webxml_fh);
 exit 2;
 }
-$_ = ;
+$_ = <$webxml_fh>;
 chomp($_);
 if ($_ =~ /^\s*([^<]*)<\/mime-type>\s*$/ ) {
 $type = $1;
@@ -272,28 +278,28 @@ while ($_ =~ /^\s*\s*$/) {
 } else {
 print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\n";
 print STDERR "ERROR Expected ...', got '$_' - 
Aborting!\n";
-close(WEBXML);
+close($webxml_fh);
 exit 3;
 }
-$_ = ;
+$_ = <$webxml_fh>;
 chomp($_);
 if ($_ !~ /^\s*<\/mime-mapping>\s*$/) {
 print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\n";
 print STDERR "ERROR Expected '', got '$_' - 
Aborting!\n";
-close(WEBXML);
+close($webxml_fh);
 exit 4;
 }
-$_ = ;
+$_ = <$webxml_fh>;
 # Check for comment closure
 if ($commented && $_ =~ /^[^<]*-->\s*$/) {
 $commented = 0;
-$_ = ;
+$_ = <$webxml_fh>;
 }
 # Check for comment opening
 if ($_ =~ /^\s*\n";
+print $output_fh "\n";
 }
-print NEW "$extension\n";
-print NEW "$httpd{$extension}\n";
-print NEW "\n";
+print $output_fh "$extension\n";
+print $output_fh "$httpd{$extension}\n";
+print $output_fh "\n";
 if (exists($tomcat_commented{$extension})) {
-print NEW "-->\n";
+print $output_fh "-->\n";
 }
 }
-print NEW $to

Re: svn commit: r1099032 - in /tomcat/trunk/res/scripts: ./ check-mime.pl

2011-05-08 Thread Rainer Jung

Hi Felix,

TMTOWTDI. For standalone scripts I don't care very much about style. 
Let's see below ...


On 08.05.2011 13:17, Felix Schumacher wrote:

Hi Rainer,

Am Dienstag, den 03.05.2011, 12:12 + schrieb rj...@apache.org:

Author: rjung
Date: Tue May  3 12:12:35 2011
New Revision: 1099032

URL: http://svn.apache.org/viewvc?rev=1099032&view=rev
Log:
Add a script to check web.xml and httpd mime.types
for differences.

Added:
 tomcat/trunk/res/scripts/
 tomcat/trunk/res/scripts/check-mime.pl   (with props)

Added: tomcat/trunk/res/scripts/check-mime.pl
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/scripts/check-mime.pl?rev=1099032&view=auto
==
--- tomcat/trunk/res/scripts/check-mime.pl (added)
+++ tomcat/trunk/res/scripts/check-mime.pl Tue May  3 12:12:35 2011
@@ -0,0 +1,410 @@
+#!/usr/bin/perl
+

...

+# Script version, printed via getopts with "--version"
+$main::VERSION = '1.0';

Any reason for not using 'our' like
our $VERSION = '1.0'; ?


Done.


+

...

+
+# Parse arguments:
+# -m: mime.types file (httpd) to use
+# -i: input web.xml file to check
+# -o: output web.xml file (gets generated and overwritten)
+
+$Getopt::Std::STANDARD_HELP_VERSION = 1;
+our($opt_m, $opt_i, $opt_o);

Why should those options be visible by everyone outside this package?
'my' should be enough:
my ($opt_m, $opt_i, $opt_o);


Doesn't work. Seems getopts needs "our".


+getopts('m:i:o:');
+
+
+# Check whether mandatory arguments are given
+if ($opt_m eq '' || $opt_i eq '' || $opt_o eq '') {
+HELP_MESSAGE(*STDOUT);
+exit 1;
+}
+
+
+# Switch locale for alphabetical ordering
+setlocale(LC_COLLATE, $LOCALE);
+
+# Read and parse httpd mime.types, build up hash extension->mime-type
+open(MIMETYPES, "<$opt_m") or die "Could not open file '$opt_m' for read - 
Aborting!";

You could use three param open and use lexical filehandles like
open my $mimetpyes_fh, '<', $opt_m or die "...";


DONE


+while () {
+chomp($_);
+$line = $_;

while (my $line =<$mimetypes_fh>) {
   chomp($line);


Keep as is, because I used the original line in the below WARN message.


+$line =~ s/#.*//;
+$line =~ s/^\s+//;
+if ($line ne '') {
+@cols = split(/\s+/, $line);
+if ($#cols>  0) {
+for ($i=1; $i<= $#cols; $i++) {
+$httpd{$cols[$i]} = $cols[0];
+}
+} else {
+print STDERR "WARN mime.types line ignored: $_\n";
+}
+}
+}
+close(MIMETYPES);



($mimetype, @endings) = split(/\s+/, $line);
if (@endings>  0) {
for my $ending (@endings) {
  $httpd{$ending} = $mimetype;
}
} else {
print STDERR "WARN mime.types line ignored: $_\n";
}
close $mimetypes_fh;

  would be possible also.


DONE


+
+# Read and parse web.xml, build up hash extension->mime-type
+# and store the file parts form before and after mime mappings.
+open(WEBXML, "<$opt_i") or die "Could not open file '$opt_i' for read - 
Aborting!";

three-params open could be used again.


+
+# Skip and record all lines before the first mime type definition.
+# Because of comment handling we need to read one line ahead.
+$line = '';
+while () {
+if ($_ !~ //) {
+$tomcat_pre .= $line;
+} else {
+last;
+}
+$line = $_;
+}
+
+$commented = 0;
+# If the previous line was start of a comment
+# set marker, else add it to pre.
+if ($line =~ /^\s*\s*$/) {
+$comment = $1;
+$_ =;
+chomp($_);
+}
+if ($_ =~ /^\s*([^<]*)<\/extension>\s*$/ ) {
+$extension = $1;
+$extension =~ s/^\s+//;
+$extension =~ s/\s+$//;
+} else {
+print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\n";
+print STDERR "ERROR Expected...', got '$_' - 
Aborting!\n";
+close(WEBXML);
+exit 2;
+}
+$_ =;
+chomp($_);
+if ($_ =~ /^\s*([^<]*)<\/mime-type>\s*$/ ) {
+$type = $1;
+$type =~ s/^\s+//;
+$type =~ s/\s+$//;
+if (exists($tomcat{$extension})&&  $tomcat{$extension} ne $type) {
+print STDERR "WARN MIME mapping redefinition detected!\n";
+print STDERR "WARN Kept '$extension' ->  '$tomcat{$extension}'\n";
+print STDERR "WARN Ignored '$extension' ->  '$type'\n";
+} else {
+$tomcat{$extension} = $type;
+if ($comment ne '') {
+$tomcat_comments{$extension} = $comment;
+}
+if ($commented) {
+$tomcat_commented{$extension} = 1;
+}
+push(@tomcat_extensions, $extension);
+}
+} else {
+print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\n";
+print STDERR "ERROR Expected...', got '$_' - 
Aborting!\n";
+close(WEBXML);
+exit 3;
+}
+$_ =;
+chomp($_);
+if ($_ !~ /^\s*<\/mime-mapping>\s*$/) {
+print STDERR "ERROR Parse error in Tomcat mime-mapping line $.\

Re: svn commit: r1099032 - in /tomcat/trunk/res/scripts: ./ check-mime.pl

2011-05-08 Thread Felix Schumacher
Hi Rainer,

Am Sonntag, den 08.05.2011, 14:20 +0200 schrieb Rainer Jung:
> Hi Felix,
> 
> TMTOWTDI. For standalone scripts I don't care very much about style. 
right :)
> Let's see below ...
> 
> On 08.05.2011 13:17, Felix Schumacher wrote:
> > Hi Rainer,
> >
> >> +
> >> +# Parse arguments:
> >> +# -m: mime.types file (httpd) to use
> >> +# -i: input web.xml file to check
> >> +# -o: output web.xml file (gets generated and overwritten)
> >> +
> >> +$Getopt::Std::STANDARD_HELP_VERSION = 1;
> >> +our($opt_m, $opt_i, $opt_o);
> > Why should those options be visible by everyone outside this package?
> > 'my' should be enough:
> > my ($opt_m, $opt_i, $opt_o);
> 
> Doesn't work. Seems getopts needs "our".
I tried it and I thougt it works, but you are right. In my tests it eats
$opt_m if used with my, the other parameters are set though :( I usually
use getopt with a hash reference...

But enough of those bagatelles.

Regards
 Felix



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



svn commit: r1100822 - in /tomcat/trunk: java/org/apache/catalina/valves/SSLValve.java webapps/docs/changelog.xml

2011-05-08 Thread markt
Author: markt
Date: Sun May  8 21:35:28 2011
New Revision: 1100822

URL: http://svn.apache.org/viewvc?rev=1100822&view=rev
Log:
Fix TCK failure with mod_proxy_http and HTTP-BIO connector as SSL key size is 
not readable

Modified:
tomcat/trunk/java/org/apache/catalina/valves/SSLValve.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/valves/SSLValve.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/SSLValve.java?rev=1100822&r1=1100821&r2=1100822&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/valves/SSLValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/valves/SSLValve.java Sun May  8 
21:35:28 2011
@@ -126,7 +126,8 @@ public class SSLValve extends ValveBase 
 }
 strcert0 = mygetHeader(request, "ssl_cipher_usekeysize");
 if (strcert0 != null) {
-request.setAttribute(Globals.KEY_SIZE_ATTR, strcert0);
+request.setAttribute(Globals.KEY_SIZE_ATTR,
+Integer.valueOf(strcert0));
 }
 getNext().invoke(request, response);
 }

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1100822&r1=1100821&r2=1100822&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sun May  8 21:35:28 2011
@@ -49,6 +49,10 @@
 Stylistic improvements to MIME type sync script.
 Based on a patch provided by Felix Schumacher. (rjung)
   
+  
+Ensure that the SSLValve provides the SSL key size as an Integer rather
+than a String. (markt)
+  
 
   
 



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



svn commit: r1100825 - in /tomcat/trunk: java/org/apache/catalina/valves/RemoteIpValve.java webapps/docs/changelog.xml

2011-05-08 Thread markt
Author: markt
Date: Sun May  8 22:11:19 2011
New Revision: 1100825

URL: http://svn.apache.org/viewvc?rev=1100825&view=rev
Log:
Fix Servlet TCK failures with using the RemoteIpValve

Modified:
tomcat/trunk/java/org/apache/catalina/valves/RemoteIpValve.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/valves/RemoteIpValve.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/RemoteIpValve.java?rev=1100825&r1=1100824&r2=1100825&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/valves/RemoteIpValve.java (original)
+++ tomcat/trunk/java/org/apache/catalina/valves/RemoteIpValve.java Sun May  8 
22:11:19 2011
@@ -442,6 +442,17 @@ public class RemoteIpValve extends Valve
  */
 private Pattern trustedProxies = null;
 
+
+/**
+ * Default constructor that ensures {@link ValveBase#ValveBase(boolean)} is
+ * called with true.
+ */
+public RemoteIpValve() {
+// Async requests are supported with this valve
+super(true);
+}
+
+
 public int getHttpsServerPort() {
 return httpsServerPort;
 }

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1100825&r1=1100824&r2=1100825&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sun May  8 22:11:19 2011
@@ -53,6 +53,10 @@
 Ensure that the SSLValve provides the SSL key size as an Integer rather
 than a String. (markt)
   
+  
+Ensure that the RemoteIpValve works correctly with Servlet 3.0
+asynchronous requests. (markt)
+  
 
   
 



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



svn commit: r1100826 - /tomcat/tc6.0.x/trunk/STATUS.txt

2011-05-08 Thread markt
Author: markt
Date: Sun May  8 22:24:13 2011
New Revision: 1100826

URL: http://svn.apache.org/viewvc?rev=1100826&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=1100826&r1=1100825&r2=1100826&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Sun May  8 22:24:13 2011
@@ -213,4 +213,8 @@ PATCHES PROPOSED TO BACKPORT:
   +1: markt
   -1: 
 
-  
\ No newline at end of file
+* Fix SSLValve so it returns key size as an Integer rather than a String
+  http://svn.apache.org/viewvc?rev=1100822&view=rev
+  +1: markt
+  -1: 
+ 
\ No newline at end of file



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



svn commit: r1100829 - in /tomcat/trunk: java/org/apache/catalina/connector/MapperListener.java webapps/docs/changelog.xml

2011-05-08 Thread markt
Author: markt
Date: Sun May  8 22:38:07 2011
New Revision: 1100829

URL: http://svn.apache.org/viewvc?rev=1100829&view=rev
Log:
Improve robustness. Custom components may use their own strings for event type.

Modified:
tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java?rev=1100829&r1=1100828&r2=1100829&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java Sun May 
 8 22:38:07 2011
@@ -140,7 +140,7 @@ public class MapperListener extends Life
 @Override
 public void containerEvent(ContainerEvent event) {
 
-if (event.getType() == Container.ADD_CHILD_EVENT) {
+if (event.getType().equals(Container.ADD_CHILD_EVENT)) {
 Container child = (Container) event.getData();
 addListeners(child);
 // If child is started then it is too late for life-cycle listener
@@ -154,19 +154,19 @@ public class MapperListener extends Life
 registerWrapper((Wrapper) child);
 }
 }
-} else if (event.getType() == Container.REMOVE_CHILD_EVENT) {
+} else if (event.getType().equals(Container.REMOVE_CHILD_EVENT)) {
 Container child = (Container) event.getData();
 removeListeners(child);
 // No need to unregister - life-cycle listener will handle this 
when
 // the child stops
-} else if (event.getType() == Host.ADD_ALIAS_EVENT) {
+} else if (event.getType().equals(Host.ADD_ALIAS_EVENT)) {
 // Handle dynamically adding host aliases
 mapper.addHostAlias(((Host) event.getSource()).getName(),
 event.getData().toString());
-} else if (event.getType() == Host.REMOVE_ALIAS_EVENT) {
+} else if (event.getType().equals(Host.REMOVE_ALIAS_EVENT)) {
 // Handle dynamically removing host aliases
 mapper.removeHostAlias(event.getData().toString());
-} else if (event.getType() == Wrapper.ADD_MAPPING_EVENT) {
+} else if (event.getType().equals(Wrapper.ADD_MAPPING_EVENT)) {
 // Handle dynamically adding wrappers
 Wrapper wrapper = (Wrapper) event.getSource();
 Context context = (Context) wrapper.getParent();
@@ -182,7 +182,7 @@ public class MapperListener extends Life
 && mapping.endsWith("/*"));
 mapper.addWrapper(hostName, contextPath, version, mapping, wrapper,
 jspWildCard, context.isResourceOnlyServlet(wrapperName));
-} else if (event.getType() == Wrapper.REMOVE_MAPPING_EVENT) {
+} else if (event.getType().equals(Wrapper.REMOVE_MAPPING_EVENT)) {
 // Handle dynamically removing wrappers
 Wrapper wrapper = (Wrapper) event.getSource();
 
@@ -196,7 +196,7 @@ public class MapperListener extends Life
 String mapping = (String) event.getData();
 
 mapper.removeWrapper(hostName, contextPath, version, mapping);
-} else if (event.getType() == Context.ADD_WELCOME_FILE_EVENT) {
+} else if (event.getType().equals(Context.ADD_WELCOME_FILE_EVENT)) {
 // Handle dynamically adding welcome files
 Context context = (Context) event.getSource();
 
@@ -211,7 +211,7 @@ public class MapperListener extends Life
 
 mapper.addWelcomeFile(hostName, contextPath,
 context.getWebappVersion(), welcomeFile);
-} else if (event.getType() == Context.REMOVE_WELCOME_FILE_EVENT) {
+} else if (event.getType().equals(Context.REMOVE_WELCOME_FILE_EVENT)) {
 // Handle dynamically removing welcome files
 Context context = (Context) event.getSource();
 
@@ -226,7 +226,7 @@ public class MapperListener extends Life
 
 mapper.removeWelcomeFile(hostName, contextPath,
 context.getWebappVersion(), welcomeFile);
-} else if (event.getType() == Context.CLEAR_WELCOME_FILES_EVENT) {
+} else if (event.getType().equals(Context.CLEAR_WELCOME_FILES_EVENT)) {
 // Handle dynamically clearing welcome files
 Context context = (Context) event.getSource();
 
@@ -428,7 +428,7 @@ public class MapperListener extends Life
 
 @Override
 public void lifecycleEvent(LifecycleEvent event) {
-if (event.getType() == Lifecycle.AFTER_START_EVENT) {
+if (event.getType().equals(Lifecycle.AFTER_START_EVENT)) {
 Object obj = event.getSource();
 if (obj instanceof Wrapper) {
 

Re: [VOTE] Release Apache Tomcat 7.0.13

2011-05-08 Thread Mark Thomas
On 06/05/2011 16:37, Mark Thomas wrote:
> The proposed Apache Tomcat 7.0.13 release is now available for voting.
> 
> It can be obtained from:
> http://people.apache.org/~markt/dev/tomcat-7/v7.0.13/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_13/
> 
> The proposed 7.0.13 release is:
> 
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 7.0.13 Alpha
> [X] Beta   - go ahead and release as 7.0.13 Beta
> [ ] Stable - go ahead and release as 7.0.13 Stable

I am extending my Servlet TCK testing to cover the following reverse
proxy scenarios:
mod_jk + AJP-BIO
mod_jk + AJP-APR
mod_proxy_ajp + AJP-BIO
mod_proxy_ajp + AJP-APR
mod_proxy_http + HTTP-BIO
mod_proxy_http + HTTP-NIO
mod_proxy_http + HTTP-APR

The tests have identified a couple of bugs that trigger TCK failures. I
have fixed the bugs and am currently re-running the tests.

Although previous versions of 7.0.x have been released with these bugs
(so they are not regressions) now I know about them, I would rather
cancel the 7.0.13 release, ensure the Servlet TCK passes in all the
above scenarios and then start a 7.0.14 release.

I should be in a position to tag 7.0.14 later on Monday.

Mark



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



svn commit: r1100831 - /tomcat/trunk/webapps/docs/changelog.xml

2011-05-08 Thread markt
Author: markt
Date: Sun May  8 22:47:28 2011
New Revision: 1100831

URL: http://svn.apache.org/viewvc?rev=1100831&view=rev
Log:
The 7.0.13 release was cancelled.

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=1100831&r1=1100830&r2=1100831&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sun May  8 22:47:28 2011
@@ -64,7 +64,7 @@
 
   
 
-
+
   
 
   



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



[VOTE][RESULT] Release Apache Tomcat 7.0.13

2011-05-08 Thread Mark Thomas
Although there were enough votes for this to pass, the release has been
cancelled due to TCK failures discovered when running in some reverse
proxy scenarios.

A 7.0.14 tag will be generated shortly, followed by a new release vote.

Mark



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



svn commit: r1100832 - in /tomcat/trunk: java/org/apache/catalina/core/StandardWrapper.java webapps/docs/changelog.xml

2011-05-08 Thread markt
Author: markt
Date: Sun May  8 22:53:32 2011
New Revision: 1100832

URL: http://svn.apache.org/viewvc?rev=1100832&view=rev
Log:
Use the correct classloader

Modified:
tomcat/trunk/java/org/apache/catalina/core/StandardWrapper.java
tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardWrapper.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardWrapper.java?rev=1100832&r1=1100831&r2=1100832&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/StandardWrapper.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardWrapper.java Sun May  8 
22:53:32 2011
@@ -1136,7 +1136,8 @@ public class StandardWrapper extends Con
 if (getServlet() == null) {
 Class clazz = null;
 try {
-clazz = getParentClassLoader().loadClass(getServletClass());
+clazz = getParent().getLoader().getClassLoader().loadClass(
+getServletClass());
 processServletSecurityAnnotation(clazz);
 } catch (ClassNotFoundException e) {
 // Safe to ignore. No class means no annotations to process

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1100832&r1=1100831&r2=1100832&view=diff
==
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Sun May  8 22:53:32 2011
@@ -61,6 +61,10 @@
 Use safe equality test when determining event type in the
 MapperListener. (markt)
   
+  
+Use correct class loader when loading Servlet classes in
+StandardWrapper. (markt)
+  
 
   
 



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



svn commit: r1100834 - /tomcat/tc6.0.x/trunk/STATUS.txt

2011-05-08 Thread kkolinko
Author: kkolinko
Date: Sun May  8 23:04:14 2011
New Revision: 1100834

URL: http://svn.apache.org/viewvc?rev=1100834&view=rev
Log:
vote

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=1100834&r1=1100833&r2=1100834&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Sun May  8 23:04:14 2011
@@ -204,17 +204,17 @@ PATCHES PROPOSED TO BACKPORT:
   arithmetic.
   Patch provided by gbt.
   http://svn.apache.org/viewvc?rev=1099789&view=rev
-  +1: markt
+  +1: markt, kkolinko
   -1: 
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51156
   Expose session expiration option for apps defined in server.xml 
   http://svn.apache.org/viewvc?rev=1100145&view=rev
-  +1: markt
+  +1: markt, kkolinko
   -1: 
 
 * Fix SSLValve so it returns key size as an Integer rather than a String
   http://svn.apache.org/viewvc?rev=1100822&view=rev
-  +1: markt
+  +1: markt, kkolinko
   -1: 
  
\ No newline at end of file



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



svn commit: r1100836 - /tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java

2011-05-08 Thread kkolinko
Author: kkolinko
Date: Sun May  8 23:13:04 2011
New Revision: 1100836

URL: http://svn.apache.org/viewvc?rev=1100836&view=rev
Log:
Followup to r1100829
It's better to have constants at the left side of ".equals" call.

Modified:
tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java?rev=1100836&r1=1100835&r2=1100836&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java Sun May 
 8 23:13:04 2011
@@ -140,7 +140,7 @@ public class MapperListener extends Life
 @Override
 public void containerEvent(ContainerEvent event) {
 
-if (event.getType().equals(Container.ADD_CHILD_EVENT)) {
+if (Container.ADD_CHILD_EVENT.equals(event.getType())) {
 Container child = (Container) event.getData();
 addListeners(child);
 // If child is started then it is too late for life-cycle listener
@@ -154,19 +154,19 @@ public class MapperListener extends Life
 registerWrapper((Wrapper) child);
 }
 }
-} else if (event.getType().equals(Container.REMOVE_CHILD_EVENT)) {
+} else if (Container.REMOVE_CHILD_EVENT.equals(event.getType())) {
 Container child = (Container) event.getData();
 removeListeners(child);
 // No need to unregister - life-cycle listener will handle this 
when
 // the child stops
-} else if (event.getType().equals(Host.ADD_ALIAS_EVENT)) {
+} else if (Host.ADD_ALIAS_EVENT.equals(event.getType())) {
 // Handle dynamically adding host aliases
 mapper.addHostAlias(((Host) event.getSource()).getName(),
 event.getData().toString());
-} else if (event.getType().equals(Host.REMOVE_ALIAS_EVENT)) {
+} else if (Host.REMOVE_ALIAS_EVENT.equals(event.getType())) {
 // Handle dynamically removing host aliases
 mapper.removeHostAlias(event.getData().toString());
-} else if (event.getType().equals(Wrapper.ADD_MAPPING_EVENT)) {
+} else if (Wrapper.ADD_MAPPING_EVENT.equals(event.getType())) {
 // Handle dynamically adding wrappers
 Wrapper wrapper = (Wrapper) event.getSource();
 Context context = (Context) wrapper.getParent();
@@ -182,7 +182,7 @@ public class MapperListener extends Life
 && mapping.endsWith("/*"));
 mapper.addWrapper(hostName, contextPath, version, mapping, wrapper,
 jspWildCard, context.isResourceOnlyServlet(wrapperName));
-} else if (event.getType().equals(Wrapper.REMOVE_MAPPING_EVENT)) {
+} else if (Wrapper.REMOVE_MAPPING_EVENT.equals(event.getType())) {
 // Handle dynamically removing wrappers
 Wrapper wrapper = (Wrapper) event.getSource();
 
@@ -196,7 +196,7 @@ public class MapperListener extends Life
 String mapping = (String) event.getData();
 
 mapper.removeWrapper(hostName, contextPath, version, mapping);
-} else if (event.getType().equals(Context.ADD_WELCOME_FILE_EVENT)) {
+} else if (Context.ADD_WELCOME_FILE_EVENT.equals(event.getType())) {
 // Handle dynamically adding welcome files
 Context context = (Context) event.getSource();
 
@@ -211,7 +211,7 @@ public class MapperListener extends Life
 
 mapper.addWelcomeFile(hostName, contextPath,
 context.getWebappVersion(), welcomeFile);
-} else if (event.getType().equals(Context.REMOVE_WELCOME_FILE_EVENT)) {
+} else if (Context.REMOVE_WELCOME_FILE_EVENT.equals(event.getType())) {
 // Handle dynamically removing welcome files
 Context context = (Context) event.getSource();
 
@@ -226,7 +226,7 @@ public class MapperListener extends Life
 
 mapper.removeWelcomeFile(hostName, contextPath,
 context.getWebappVersion(), welcomeFile);
-} else if (event.getType().equals(Context.CLEAR_WELCOME_FILES_EVENT)) {
+} else if (Context.CLEAR_WELCOME_FILES_EVENT.equals(event.getType())) {
 // Handle dynamically clearing welcome files
 Context context = (Context) event.getSource();
 



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



Re: Why AstValue (part of EL) coerces set value to the target type

2011-05-08 Thread Konstantin Kolinko
2011/5/7 Fedd Kraft :
> Hi,
>
> I think I have problems in my software because the implementation of EL
> works so that the set value is coerced to the target type.
>
> I am talking about lines 153-157 of the class org.apache.el.parser
> .AstValue.
> I guess it makes sence all the time except if the 'base' is the Map. I seem
> that once I put a String into the Map, I lose the ability to put, say, an
> array or a Collection there through the setValue method of the
> ValueExpression.
>
> The ValueExpressioni s a property of the Map, like this ${map.key}. If this
> expression is String, I can't setValue a Collection there, my collection
> becomes a String through toString method, because the resolver.getType
> method returns the Class of what is currently kept under this key.
>
> Please tell me whether this is an intended/unavoidable behaviour, or a bug?
>

I think you can file a bug, but please provide a working example that
reproduces the issue.


If I see it correctly, reading "expression_language-2_2-mrel-spec.pdf"
1) ch.1.2.1.1 says
"In the case of lvalues, the expected type is ignored and the provided value is
coerced to the actual type of the property the expression points to, before that
property is set."

2) assigning of a value to a map entry should be handled by
MapELResolver, which Javadoc is in ch.2.15. The getType() call there
is documented to return Object.class.

Implementation of javax.el.ELResolver#getType() in trunk performs a
bit differently.

BTW, a workaround in your case might be to do assignment in two steps:
 first assign null, and then assign the actual value.

Best regards,
Konstantin Kolinko

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



svn commit: r1100843 - /tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties

2011-05-08 Thread kkolinko
Author: kkolinko
Date: Mon May  9 00:04:10 2011
New Revision: 1100843

URL: http://svn.apache.org/viewvc?rev=1100843&view=rev
Log:
Followup to r1095686: add missing colon in the message text

Modified:
tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties

Modified: tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties?rev=1100843&r1=1100842&r2=1100843&view=diff
==
--- tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties 
(original)
+++ tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties Mon 
May  9 00:04:10 2011
@@ -336,7 +336,7 @@ jsp.error.needAlternateJavaEncoding=Defa
 jsp.error.single.line.number=An error occurred at line: {0} in the jsp file: 
{1}
 jsp.error.multiple.line.number=\n\nAn error occurred between lines: {0} and 
{1} in the jsp file: {2}\n\n
 jsp.error.java.line.number=An error occurred at line: {0} in the generated 
java file
-jsp.error.location=line: {0}, column {1}
+jsp.error.location=line: {0}, column: {1}
 jsp.error.corresponding.servlet=Generated servlet error:\n
 jsp.error.empty.body.not.allowed=Empty body not allowed for {0}
 jsp.error.jspbody.required=Must use jsp:body to specify tag body for {0} if 
jsp:attribute is used.



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



Re: svn commit: r1095686 - in /tomcat/trunk/java/org/apache/jasper: compiler/DefaultErrorHandler.java resources/LocalStrings.properties

2011-05-08 Thread Konstantin Kolinko
2011/4/22 Konstantin Kolinko :
> 2011/4/21  :
>> Author: markt
>> Date: Thu Apr 21 12:50:40 2011
>> New Revision: 1095686
>>
>> URL: http://svn.apache.org/viewvc?rev=1095686&view=rev
>> Log:
>> i18n for r1090763
>>
>> Modified:
>>    tomcat/trunk/java/org/apache/jasper/compiler/DefaultErrorHandler.java
>>    tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties
>>
>
>> --- tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties 
>> (original)
>> +++ tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties 
>> Thu Apr

>> +jsp.error.location=line: {0}, column {1}
>
> Maybe
> jsp.error.location=line: {0,number,0}, column: {1,number,0}
>
> 1) missing second ':'
> 2) numbers by default are formatted with thousands separator, e.g. "1

Fixed 1).
The 2) is not an issue. I didn't notice that the arguments there are
already strings, by Integer.toString(line). Sorry for the noise.

Best regards,
Konstantin Kolinko

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



[GUMP@vmgump]: Project jakarta-tomcat-dbcp (in module jakarta-tomcat-5) failed

2011-05-08 Thread bobh
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project jakarta-tomcat-dbcp has an issue affecting its community integration.
This issue affects 3 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- jakarta-tomcat-catalina :  Servlet 2.4 Reference Implementation
- jakarta-tomcat-dbcp :  Servlet 2.4 and JSP 2.0 Reference Implementation
- jakarta-tomcat-jk :  Connectors to various web servers


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole jar output [naming-factory-dbcp.jar] identifier set to project 
name
 -INFO- Made directory [/srv/gump/public/workspace/jakarta-tomcat-5/tomcat-deps]
 -INFO- Failed with reason build failed
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/gump_work/build_jakarta-tomcat-5_jakarta-tomcat-dbcp.html
Work Name: build_jakarta-tomcat-5_jakarta-tomcat-dbcp (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 sec
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/jakarta-tomcat-5/tomcat-deps 
-Dcommons-dbcp.version=09052011 
-Dcommons-collections.home=/srv/gump/public/workspace/commons-collections-3.x/collections
 -Dcommons-dbcp.home=/srv/gump/public/workspace/commons-dbcp-1.x/dbcp 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcompile.source=1.5 build-tomcat-dbcp 
[Working Directory: /srv/gump/public/workspace/jakarta-tomcat-5]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar
-
Buildfile: /srv/gump/public/workspace/jakarta-tomcat-5/build.xml

build-tomcat-dbcp:

-build-tomcat-dbcp:

BUILD FAILED
/srv/gump/public/workspace/jakarta-tomcat-5/build.xml:739: The following error 
occurred while executing this line:
/srv/gump/public/workspace/jakarta-tomcat-5/build.xml:745: 
/srv/gump/public/workspace/commons-dbcp-1.x/dbcp does not exist.

Total time: 1 second
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/jakarta-tomcat-5/jakarta-tomcat-dbcp/atom.xml

== Gump Tracking Only ===
Produced by Apache Gump(TM) version 2.3.
Gump Run 1009052011, vmgump.apache.org:vmgump:1009052011
Gump E-mail Identifier (unique within run) #4.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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



[GUMP@vmgump]: Project tomcat-trunk-dbcp (in module tomcat-trunk) failed

2011-05-08 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-trunk-dbcp has an issue affecting its community integration.
This issue affects 3 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk :  Tomcat 7.x, a web server implementing Java Servlet 3.0,
...
- tomcat-trunk-dbcp :  Tomcat 7.x, a web server implementing Java Servlet 
3.0,
...
- tomcat-trunk-test :  Tomcat 7.x, a web server implementing Java Servlet 
3.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Made directory [/srv/gump/public/workspace/tomcat-trunk/tomcat-deps]
 -INFO- Failed with reason build failed
 -DEBUG- Extracted fallback artifacts from Gump Repository



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/gump_work/build_tomcat-trunk_tomcat-trunk-dbcp.html
Work Name: build_tomcat-trunk_tomcat-trunk-dbcp (Type: Build)
Work ended in a state of : Failed
Elapsed: 1 sec
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/srv/gump/public/workspace/commons-dbcp-1.x/dbcp 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-09052011.jar
 -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps 
build-tomcat-dbcp 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/packages/junit3.8.1/junit.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/packages/jta-spec1_0_1/jta-spec1_0_1.jar
-
Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml

build-prepare:
[mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/classes
[mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/build
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/build/bin
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/build/conf
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/build/lib
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/build/logs
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/build/temp
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/build/webapps

build-manifests:
[mkdir] Created dir: 
/srv/gump/public/workspace/tomcat-trunk/output/manifests
 [copy] Copying 12 files to 
/srv/gump/public/workspace/tomcat-trunk/output/manifests

build-tomcat-dbcp:

BUILD FAILED
/srv/gump/public/workspace/tomcat-trunk/build.xml:2225: 
/srv/gump/public/workspace/commons-dbcp-1.x/dbcp does not exist.

Total time: 1 second
-

To subscribe to this information via syndicated feeds:
- RSS: 
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/rss.xml
- Atom: 
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-dbcp/atom.xml

== Gump Tracking Only ===
Produced by Apache Gump(TM) version 2.3.
Gump Run 1009052011, vmgump.apache.org:vmgump:1009052011
Gump E-mail Identifier (unique within run) #6.

--
Apache Gump
http://gump.apache.org/ [Instance: vmgump]

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