DO NOT REPLY [Bug 48501] New: Log rotation for ISAPI Redirector

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48501 Summary: Log rotation for ISAPI Redirector Product: Tomcat Connectors Version: unspecified Platform: PC OS/Version: Mac OS X 10.4 Status: NEW Severity: enhancement

DO NOT REPLY [Bug 48501] Log rotation for ISAPI Redirector

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48501 --- Comment #1 from Tim Whittington tim.whitting...@orionhealth.com 2010-01-07 00:49:51 UTC --- Created an attachment (id=24811) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=24811) PATCH - ISAPI Redirector doc updates --

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Tim Whittington
Sounds interesting - I'd probably go with a similar approach if it was just me. For our user base, IIS tends to equate to unsophisticated smaller IT shops, so I'm aiming at a solution with as little moving parts as possible. cheers tim - Original Message - From: Mladen Turk

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Tim Whittington
I've attached the initial implementation, along with a docs patch, to an issue in Bugzilla. https://issues.apache.org/bugzilla/show_bug.cgi?id=48501 I managed to track down the crashing - I was referencing a jk_file_logger_t that got deallocated when the log rotated, which IIS didn't like at

DO NOT REPLY [Bug 48501] Log rotation for ISAPI Redirector

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48501 --- Comment #2 from Mladen Turk mt...@apache.org 2010-01-07 01:09:27 UTC --- _ftell_nlock does not exist with older MSVC versions. It was introduced with Visual Studio 2005 -- Configure bugmail:

DO NOT REPLY [Bug 48501] Log rotation for ISAPI Redirector

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48501 Tim Whittington tim.whitting...@orionhealth.com changed: What|Removed |Added Attachment #24810|0 |1

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Mladen Turk
On 01/07/2010 09:56 AM, Tim Whittington wrote: I've attached the initial implementation, along with a docs patch, to an issue in Bugzilla. https://issues.apache.org/bugzilla/show_bug.cgi?id=48501 I managed to track down the crashing - I was referencing a jk_file_logger_t that got deallocated

Re: svn commit: r893452 - /tomcat/jk/trunk/native/common/jk_connect.c

2010-01-07 Thread Tim Whittington
This appears to have broken my build on Windows (VC 2005). SHUT_RD is SD_RECEIVE on Windows? cheers tim - Original Message - From: mt...@apache.org To: dev@tomcat.apache.org Sent: Wednesday, 23 December, 2009 11:01:47 PM GMT +12:00 New Zealand Subject: svn commit: r893452 -

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Tim Whittington
That looks better - will incorporate that. On the configuration I went for two properties with the same names as the Httpd rotatelogs params. The rotationtime option is identical in interpretation, and the filesize option doesn't have a trailing M as for rotatelogs (no need in our context,

Re: svn commit: r893452 - /tomcat/jk/trunk/native/common/jk_connect.c

2010-01-07 Thread Tim Whittington
This should fix it Index: jk_connect.c === --- jk_connect.c (revision 896809) +++ jk_connect.c (working copy) @@ -678,6 +678,13 @@ #define SHUT_WR 0x01 #endif #endif +#ifndef SHUT_RD +#ifdef SD_RECEIVE +#define SHUT_RD

DO NOT REPLY [Bug 48503] New: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48503 Summary: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver' Product: Tomcat 5 Version: 5.5.20 Platform: PC OS/Version:

DO NOT REPLY [Bug 48503] org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48503 Ramesh Rao rameshraod@gmail.com changed: What|Removed |Added Attachment #24813|My Server log file getting

DO NOT REPLY [Bug 48504] New: Disabling redirecting System.out and System.err

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48504 Summary: Disabling redirecting System.out and System.err Product: Tomcat 6 Version: 6.0.20 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal

DO NOT REPLY [Bug 48503] org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48503 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED

DO NOT REPLY [Bug 48504] Disabling redirecting System.out and System.err

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48504 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED

Re: [REMIND] Re: [VOTE] Release Apache Tomcat Native 1.1.19

2010-01-07 Thread jean-frederic clere
On 01/07/2010 01:01 PM, Mladen Turk wrote: Apache Tomcat Native 1.1.19 is: I know it's a pickle season, and you guys are all busy digesting Christmas and New Year eve's meals, but can I have some votes here :) Yep, I am still wasted (my stomach at least). +1 I had some problems to get

Re: Tomcat-Lite update

2010-01-07 Thread Konstantin Kolinko
2010/1/6 Mark Thomas ma...@apache.org: On 06/01/2010 00:27, Costin Manolache wrote: Also, I would like to know if other comitters are OK with (temporarily - i.e. until the 7.0 release vote) including lite in the tomcat7 builds, so people can try it out. How about adding it to the extras

svn commit: r896892 - in /tomcat/trunk/java/org/apache/jasper: compiler/Validator.java resources/LocalStrings.properties resources/LocalStrings_es.properties

2010-01-07 Thread markt
Author: markt Date: Thu Jan 7 14:20:30 2010 New Revision: 896892 URL: http://svn.apache.org/viewvc?rev=896892view=rev Log: Update for JSP 2.2 Modified: tomcat/trunk/java/org/apache/jasper/compiler/Validator.java tomcat/trunk/java/org/apache/jasper/resources/LocalStrings.properties

svn commit: r896899 - in /tomcat/tc6.0.x/trunk: ./ RUNNING.txt

2010-01-07 Thread kkolinko
Author: kkolinko Date: Thu Jan 7 15:05:58 2010 New Revision: 896899 URL: http://svn.apache.org/viewvc?rev=896899view=rev Log: Add missing svn:keywords Modified: tomcat/tc6.0.x/trunk/ (props changed) tomcat/tc6.0.x/trunk/RUNNING.txt (contents, props changed) Propchange:

svn commit: r896902 - /tomcat/tc6.0.x/trunk/

2010-01-07 Thread kkolinko
Author: kkolinko Date: Thu Jan 7 15:25:35 2010 New Revision: 896902 URL: http://svn.apache.org/viewvc?rev=896902view=rev Log: mergeinfo change in r896899 was not intentional, undoing it. (removing ,895191,895392 that were added) Modified: tomcat/tc6.0.x/trunk/ (props changed) Propchange:

svn commit: r896913 - in /tomcat/trunk/test: org/apache/el/ org/apache/jasper/ org/apache/jasper/compiler/ webapp/ webapp/WEB-INF/ webapp/WEB-INF/tags/

2010-01-07 Thread markt
Author: markt Date: Thu Jan 7 16:06:45 2010 New Revision: 896913 URL: http://svn.apache.org/viewvc?rev=896913view=rev Log: Add various EL test cases, mostly extracted from local test JSPs I have used for individual issues. Thanks to kkolinko and the numerous bug reporters that provided the

svn commit: r896916 - in /tomcat/trunk/test: org/apache/jasper/compiler/ webapp/ webapp/WEB-INF/tags/

2010-01-07 Thread markt
Author: markt Date: Thu Jan 7 16:22:24 2010 New Revision: 896916 URL: http://svn.apache.org/viewvc?rev=896916view=rev Log: Add missing license headers Modified: tomcat/trunk/test/org/apache/jasper/compiler/TestGenerator.java

Re: Tomcat-Lite update

2010-01-07 Thread Costin Manolache
On Wed, Jan 6, 2010 at 12:13 AM, Mark Thomas ma...@apache.org wrote: On 06/01/2010 00:27, Costin Manolache wrote: Also, I would like to know if other comitters are OK with (temporarily - i.e. until the 7.0 release vote) including lite in the tomcat7 builds, so people can try it out. How

svn commit: r896937 - in /tomcat/trunk/test/webapp: bug45451b.jsp bug45451c.jsp

2010-01-07 Thread markt
Author: markt Date: Thu Jan 7 17:36:27 2010 New Revision: 896937 URL: http://svn.apache.org/viewvc?rev=896937view=rev Log: Add the tag library definition so the tests actually do what they are supposed to. Modified: tomcat/trunk/test/webapp/bug45451b.jsp

DO NOT REPLY [Bug 48501] Log rotation for ISAPI Redirector

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48501 Tim Whittington tim.whitting...@orionhealth.com changed: What|Removed |Added Attachment #24811|0 |1

Re: [PROPOSAL] Log rotation in Tomcat Connector

2010-01-07 Thread Tim Whittington
Not sure why are you using ftell_nolock We already have a problem with ISS logging because multiple processes (IIS 6+) can write to a single log file. Yeah, my bad. Was hoping it would be cheaper than a file size check, but not thinking about multi-process IIS. On the configuration I

DO NOT REPLY [Bug 48069] Log Files not getting updated while using isapi_redirect.properties

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48069 Tim Whittington tim.whitting...@orionhealth.com changed: What|Removed |Added Status|NEW

DO NOT REPLY [Bug 48069] Log Files not getting updated while using isapi_redirect.properties

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48069 --- Comment #8 from David Esposito d...@9summer.com 2010-01-07 13:11:56 UTC --- Ugh ... I was using Notepad, the most intolerant editor out there, and it obviously obscured that detail .. I downloaded a sample isapi_redirect from somewhere

DO NOT REPLY [Bug 38895] Http headers with an underscore _ change into hypen -

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=38895 Tim Whittington tim.whitting...@orionhealth.com changed: What|Removed |Added Status|NEEDINFO

Use of raw HTTP headers by default in ISAPI Redirector

2010-01-07 Thread Tim Whittington
There's a long standing issue in the ISAPI redirector, that by default the HTTP headers are obtained using the CGI style ALL_HTTP variable. The net result of this is that the case of headers is lost, and all underscores in the original header names are converted to dashes. There's code in the

DO NOT REPLY [Bug 48083] IIS7 with Tomcat-Connector

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48083 Tim Whittington tim.whitting...@orionhealth.com changed: What|Removed |Added Status|NEW

DO NOT REPLY [Bug 44571] Limits busy per worker to a threshold

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44571 --- Comment #2 from Tim Whittington tim.whitting...@orionhealth.com 2010-01-07 14:25:45 UTC --- I don't think this approach is the best way anymore. You can use connection_pool_size to limit the business of any given worker, and (since

Re: Tomcat-Lite update

2010-01-07 Thread Henri Gomez
Le 7 janv. 2010 à 17:50, Costin Manolache cos...@gmail.com a écrit : On Wed, Jan 6, 2010 at 12:13 AM, Mark Thomas ma...@apache.org wrote: On 06/01/2010 00:27, Costin Manolache wrote: Also, I would like to know if other comitters are OK with (temporarily - i.e. until the 7.0 release vote)

A bug in tomcat6? MapperListener.registerHost, StandardServer.findService

2010-01-07 Thread Tang Jianyu
Hi, everyone, I am using tomcat6.0.20 and run it in Embedded mode and met a problem. I wrote a class to create Embedded service with below code: final Embedded tomcatService = new Embedded(); tomcatService.setCatalinaHome( catalinaHome ); tomcatService.setName( Embed Catalina );

Re: A bug in tomcat6? MapperListener.registerHost, StandardServer.findService

2010-01-07 Thread Konstantin Kolinko
2010/1/8 Tang Jianyu jianyu...@gmail.com: (...) can't find corresponding service and it will return null, which cause NullPointerException and whole app will be exit. Is there anyone know this? Is it a bug or I missed something? Is there any workaround? Thanks a lot. Tang Jianyu It

svn commit: r897093 - in /tomcat/trunk/java/org/apache/jasper/resources: LocalStrings.properties LocalStrings_es.properties LocalStrings_fr.properties LocalStrings_ja.properties

2010-01-07 Thread kkolinko
Author: kkolinko Date: Fri Jan 8 04:37:23 2010 New Revision: 897093 URL: http://svn.apache.org/viewvc?rev=897093view=rev Log: followup to r896892 Additional message updates for JSP 2.2 Commented-out the untranslated strings in the French file, so that the English ones could be used Modified:

Re: A bug in tomcat6? MapperListener.registerHost, StandardServer.findService

2010-01-07 Thread Tang Jianyu
Thank you! I tried 6.0.22, it's running well. On Fri, Jan 8, 2010 at 11:26 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/1/8 Tang Jianyu jianyu...@gmail.com: (...) can't find corresponding service and it will return null, which cause NullPointerException and whole app will be

DO NOT REPLY [Bug 48391] Logfile goes missing when running on IIS6 in application pool (not in IIS5 isolation mode)

2010-01-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48391 Tim Whittington tim.whitting...@orionhealth.com changed: What|Removed |Added Status|NEW

Re: Tomcat-Lite update

2010-01-07 Thread jean-frederic clere
On 01/07/2010 05:50 PM, Costin Manolache wrote: On Wed, Jan 6, 2010 at 12:13 AM, Mark Thomas ma...@apache.org wrote: On 06/01/2010 00:27, Costin Manolache wrote: Also, I would like to know if other comitters are OK with (temporarily - i.e. until the 7.0 release vote) including lite in the