DO NOT REPLY [Bug 47583] New: Fix occasional test failure in TestConcurrency

2009-07-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47583

   Summary: Fix occasional test failure in TestConcurrency
   Product: Tomcat 7
   Version: trunk
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: Modules: jdbc-pool
AssignedTo: dev@tomcat.apache.org
ReportedBy: s...@apache.org


Created an attachment (id=24039)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24039)
Sample test run showing failures

TestConcurrency exhibits occasional failures - about 10% in my tests - which
appear to be due to a startup timing issue.

This can be fixed by replacing:

assertEquals("Size comparison:",10, ds.getPool().getSize());
by
assertTrue("Size comparison(less than 11):",ds.getPool().getSize()<=10);

in the testSimple() method (as has been done for the other test methods in the
class).

See attached files for some sample failures.

N.B. the test output indicates either no failures or two failures.
This suggests that the failure in testSimple() may be affecting a subsequent
test, i.e. there may be a problem with the test cleanup.
Perhaps Driver.reset(); should be done after ds.close() - or even after
super.tearDown()?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



DO NOT REPLY [Bug 47583] Fix occasional test failure in TestConcurrency

2009-07-26 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47583





--- Comment #1 from Sebb   2009-07-26 06:55:22 PST ---
A further test shows that the tearDown() code is wrong.

I changed the assertEquals() check in testSimple() to cause a failure every
time, and this causes a failure in testBrutal().

Driver.reset() needs to be after ds.close().

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



Re: jdbc-pool 1.0.7 release candidate

2009-07-26 Thread sebb
The build files suggest that the code can be compiled and run using Java 1.5.

However, Java 1.5 cannot be used to compile the ConnectionPool class,
which uses @Override for interface implementations. The annotations
could be removed to allow the code to compile under 1.5.

==

The AbstractCreateStatementInterceptor class has two public static
String arrays.

The entries are supposed to be constants, but it's trivial for an
external class to accidentally or deliberately change one of the
entries. The code is also rather fragile, as the order and number of
entries is relied upon by other classes, but this is not documented.

==

There are also some outstanding bugs:

https://issues.apache.org/bugzilla/show_bug.cgi?id=47452
https://issues.apache.org/bugzilla/show_bug.cgi?id=47576
https://issues.apache.org/bugzilla/show_bug.cgi?id=47577
https://issues.apache.org/bugzilla/show_bug.cgi?id=47583

On 25/07/2009, Filip Hanik - Dev Lists  wrote:
> http://people.apache.org/~fhanik/jdbc-pool/v1.0.7/
>
>  Same thing here, if all checks out well, plan a vote mid next week
>
>  Filip
>
>
>
> -
>  To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>  For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

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



svn commit: r797958 - in /tomcat/connectors/branches/native/1.1.x: STATUS.txt jni/STATUS.txt

2009-07-26 Thread rjung
Author: rjung
Date: Sun Jul 26 17:23:45 2009
New Revision: 797958

URL: http://svn.apache.org/viewvc?rev=797958&view=rev
Log:
Merge the two STATUS files for the tcnative branch.

Removed:
tomcat/connectors/branches/native/1.1.x/jni/STATUS.txt
Modified:
tomcat/connectors/branches/native/1.1.x/STATUS.txt

Modified: tomcat/connectors/branches/native/1.1.x/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/branches/native/1.1.x/STATUS.txt?rev=797958&r1=797957&r2=797958&view=diff
==
--- tomcat/connectors/branches/native/1.1.x/STATUS.txt (original)
+++ tomcat/connectors/branches/native/1.1.x/STATUS.txt Sun Jul 26 17:23:45 2009
@@ -63,3 +63,11 @@
   http://people.apache.org/~rjung/patches/jni.patch
   +1: rjung
   -1:
+
+* Sync native and Java methods. Patch available at
+  http://people.apache.org/~rjung/patches/tcnative-sync.patch
+  Partial backport of
+  http://svn.apache.org/viewvc?view=rev&revision=730523
+  +1: rjung, mturk
+   0: 
+  -1: 



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



Re: Correct location of STATUS.txt for tcnative?

2009-07-26 Thread Rainer Jung
On 20.07.2009 10:39, Rainer Jung wrote:
> Hi,
> 
> at the moment there are 2 STATUS.txt files for tcnative, one in the top
> level connectors directory of the tcnative 1.1.x branch, one in the sub
> directory named jni.
> 
> I added the jni/STATUS.txt on January 1st, and Mladen the top level one
> on February 2nd. So we have time until August 8th to reorganize :)
> 
> I actually don't care which one we use.
> 
> Any preferences?

I merged both files into the top level one in r797958.

It would be nice if there were a coupe of votes added. Most proposals
are pretty trivial to review.

Thanks and regards,

Rainer

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



Bug report for Tomcat Connectors [2009/07/26]

2009-07-26 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  |
| |   |   |  |  |
|24427|New|Enh|2003-11-05|Tomcat mod_jk - Excludes in Redirection   |
|34526|Opn|Nor|2005-04-19|Truncated content in decompressed requests from mo|
|35959|Opn|Enh|2005-08-01|mod_jk not independant of UseCanonicalName|
|36155|Opn|Nor|2005-08-12|tomcat chooses wrong host if using mod_jk |
|36169|New|Enh|2005-08-12|[PATCH] Enable chunked encoding for requests in II|
|38895|Inf|Nor|2006-03-08|Http headers with an underscore "_" change into hy|
|39967|Inf|Nor|2006-07-05|mod_jk gives segmentation fault when apache is sta|
|40208|Inf|Nor|2006-08-08|Request-Dump when ErrorDocument in httpd.conf is a|
|41170|Inf|Nor|2006-12-13|single crlf in header termination crashes app.|
|41430|New|Reg|2007-01-22|JkOptions +ForwardDirectories with Apache's Direct|
|41695|New|Maj|2007-02-24|mod_jk with httpd 2.0.58 on Solaris-10 11/06 dumpi|
|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|
|43821|New|Enh|2007-11-08|provide client AJP IP address |
|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|
|45182|New|Enh|2008-06-10|Add functionality to automate the jkmanager disabl|
|45313|New|Nor|2008-06-30|mod_jk 1.2.26 & apache 2.2.9 static compiled on so|
|45357|Opn|Enh|2008-07-07|Add property to specify custom maintenance page wh|
|45395|New|Min|2008-07-14|MsgAjp dump method does not dump packet when being|
|45610|New|Nor|2008-08-11|status-worker: Bug in request parameter parsing fo|
|46337|New|Nor|2008-12-04|real worker name is wrong |
|46406|New|Enh|2008-12-16|Supporting relative paths in isapi_redirect.proper|
|46503|New|Nor|2009-01-09|Garbage characters in cluster domain field|
|46632|New|Nor|2009-01-29|mod_jk's sockets close prematurely when the server|
|46676|New|Enh|2009-02-09|Configurable test request for Watchdog thread |
|46763|New|Enh|2009-02-24|Improve treatment of jk_log_lock. |
|46767|New|Enh|2009-02-25|mod_jk to send DECLINED in case no fail-over tomca|
|46862|New|Nor|2009-03-16|Status worker Properties output format (worker.wlb|
|46893|New|Nor|2009-03-23|mod_jk statically compiled always outputs warning |
|47038|New|Enh|2009-04-15|USE_FLOCK_LK redefined compiler warning when using|
|47222|New|Nor|2009-05-19|Changes made to ping_timeout via Status Worker not|
|47224|New|Nor|2009-05-19|Hostname and Port Changes from Status Worker do no|
|47327|New|Enh|2009-06-07|remote_user not logged in apache logfile  |
+-+---+---+--+--+
| Total   41 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 [2009/07/26]

2009-07-26 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  |
| |   |   |  |  |
|47566|New|Enh|2009-07-23|Update to NSIS 2.45   |
|47567|New|Enh|2009-07-23|Add description for default build target  |
|47568|New|Trv|2009-07-23|TestTomcat fails to delete work directory |
|47569|New|Min|2009-07-23|Test cases do not clear up afterwards |
|47576|New|Nor|2009-07-24|Javadoc errors - Exception name misspelt  |
|47577|New|Min|2009-07-24|Unused imports and other compilation warnings |
|47583|New|Nor|2009-07-26|Fix occasional test failure in TestConcurrency|
+-+---+---+--+--+
| 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 Native [2009/07/26]

2009-07-26 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  |
| |   |   |  |  |
|38372|Inf|Cri|2006-01-25|tcnative-1.dll response overflow corruption, parti|
|41361|New|Nor|2007-01-14|Content lost when read by a slow client.  |
|42090|New|Cri|2007-04-11|tcnative badly handles some OpenSSL disconnections|
|45392|New|Nor|2008-07-14|No OCSP support for client SSL verification   |
|46041|New|Cri|2008-10-20|Tomcat service is terminated unexpectedly (tcnativ|
|46179|New|Maj|2008-11-10|apr ssl client authentication |
|46457|New|Maj|2008-12-31|Typos in multicast.c  |
|46571|New|Nor|2009-01-21|read timeout while reading response   |
|47319|New|Nor|2009-06-05|With APR, getRemoteHost() returns NULL for unknown|
+-+---+---+--+--+
| Total9 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 [2009/07/26]

2009-07-26 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  |
| |   |   |  |  |
|39661|Opn|Enh|2006-05-25|Please document JULI FileHandler configuration pro|
|41128|Inf|Enh|2006-12-07|Reference to java Thread name from RequestProcesso|
|41679|New|Enh|2007-02-22|SemaphoreValve should be able to filter on url pat|
|41791|New|Enh|2007-03-07|Tomcat behaves inconsistently concerning flush-pac|
|41883|Ass|Enh|2007-03-18|use abstract wrapper instead of plain X509Certific|
|41944|New|Enh|2007-03-25|Start running the RAT tool to see where we're miss|
|41992|New|Enh|2007-03-30|Need ability to set OS process title  |
|42463|New|Enh|2007-05-20|"crossContext" and classloader issues - pls amend |
|42996|Inf|Nor|2007-07-29|POST with nio connector results in missing variabl|
|43001|New|Enh|2007-07-30|JspC lacks setMappedFile and setDie for use in Ant|
|43003|New|Enh|2007-07-30|Separate dependent component download and build ta|
|43154|New|Enh|2007-08-17|forward port from 5.5.x to 6.x about AccessLogValv|
|43400|New|Enh|2007-09-14|enum support for tag libs |
|43497|New|Enh|2007-09-26|Add ability to escape rendered output of JSP expre|
|43548|Opn|Enh|2007-10-04|xml schema for tomcat-users.xml   |
|43642|New|Enh|2007-10-17|Add prestartminSpareThreads attribute for Executor|
|43682|New|Enh|2007-10-23|JULI: web-inf/classes/logging.properties to suppor|
|43742|New|Enh|2007-10-30|.tag compiles  performed one at a time -- extremel|
|43790|Ass|Enh|2007-11-03|concurrent access issue on TagHandlerPool |
|43979|New|Enh|2007-11-27|Add abstraction for Java and Classfile output |
|44047|New|Enh|2007-12-10|Provide a way for Tomcat to serve up error pages w|
|44106|New|Enh|2007-12-19|autodeploy configures directories which do not con|
|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|
|44265|New|Enh|2008-01-18|Improve JspWriterImpl performance with "inline" su|
|44284|New|Enh|2008-01-23|Support java.lang.Iterable in c:forEach tag   |
|44294|New|Enh|2008-01-25|Support for EL functions with varargs |
|44299|New|Enh|2008-01-26|Provider manager app with a log out button|
|44312|New|Enh|2008-01-28|Warn when overwritting docBase of the default Host|
|44409|New|Enh|2008-02-13|Tomcat does not support Windows-My Provider   |
|44598|New|Enh|2008-03-13|JAASRealm is suppressing Exceptions   |
|44645|New|Enh|2008-03-20|[Patch] JNDIRealm - Doesn't support JNDI "java.nam|
|44787|New|Enh|2008-04-09|provide more error context on "java.lang.IllegalSt|
|44818|New|Enh|2008-04-13|tomcat hangs with GET when content-length is defin|
|45014|New|Enh|2008-05-15|Request and Response classes should have wrappers |
|45255|New|Enh|2008-06-23|support disable jsessionid from url against sessio|
|45282|New|Enh|2008-06-25|NioReceiver doesn't close cleanly, leaving sockets|
|45283|Opn|Enh|2008-06-25|Allow multiple authenticators to be added to pipel|
|45403|New|Nor|2008-07-15|Tomcat does not reload application|
|45428|New|Enh|2008-07-18|warn if the tomcat stop doesn't complete  |
|45654|New|Enh|2008-08-19|use static methods and attributes in a direct way!|
|45731|New|Enh|2008-09-02|Enhancement request : pluggable httpsession cache |
|45785|Opn|Nor|2008-09-11|ClassCastException if directory ending with .jar e|
|45794|New|Enh|2008-09-12|Patch causes JNDIRealm to bind with user entered c|
|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|

Bug report for Tomcat 5 [2009/07/26]

2009-07-26 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  |
|29494|Inf|Enh|2004-06-10|No way to set PATH when running as a service on Wi|
|33262|Inf|Enh|2005-01-27|Service Manager autostart should check for adminis|
|33453|Opn|Enh|2005-02-08|Jasper should recompile JSP files whose datestamps|
|33671|Opn|Enh|2005-02-21|Manual Windows service installation with custom na|
|34801|New|Enh|2005-05-08|PATCH: CGIServlet does not terminate child after a|
|34805|Ass|Enh|2005-05-08|warn about invalid security constraint url pattern|
|34868|Ass|Enh|2005-05-11|allow to register a trust store for a session that|
|35054|Inf|Enh|2005-05-25|warn if appBase is not existing as a File or direc|
|36133|Inf|Enh|2005-08-10|Support JSS SSL implementation|
|36362|New|Enh|2005-08-25|missing check for Java reserved keywords in tag fi|
|36569|Inf|Enh|2005-09-09|Redirects produce illegal URL's   |
|36837|Inf|Enh|2005-09-28|Looking for ProxyHandler implementation of Http re|
|36922|Inf|Enh|2005-10-04|setup.sh file mis-advertised and missing  |
|37018|Ass|Enh|2005-10-11|Document how to use tomcat-SSL with a pkcs11 token|
|37334|Inf|Enh|2005-11-02|Realm digest property not aligned with the adminis|
|37449|Opn|Enh|2005-11-10|Two UserDatabaseRealm break manager user  |
|37485|Inf|Enh|2005-11-14|I'd like to run init SQL after JDBC Connection cre|
|37847|Ass|Enh|2005-12-09|Allow User To Optionally Specify Catalina Output F|
|38216|Inf|Enh|2006-01-10|Extend Jmxproxy to allow call of MBean Operations |
|38217|Ver|Enh|2006-01-10|mention that private key password and keystore pas|
|38268|Inf|Enh|2006-01-13|User friendly: Need submit button on adding/deleti|
|38360|Inf|Enh|2006-01-24|Domain for session cookies|
|38546|Inf|Enh|2006-02-07|Google bot sends invalid If-Modifed-Since Header, |
|38577|Inf|Enh|2006-02-08|Enhance logging of security failures  |
|38743|New|Min|2006-02-21|when using APR, JKS options are silently ignored  |
|38916|Inf|Enh|2006-03-10|HttpServletRequest cannot handle multipart request|
|39053|Inf|Enh|2006-03-21|include Tomcat embedded sample|
|39231|New|Nor|2006-04-06|The JAAS contract for LoginModule is broken   |
|39309|Opn|Enh|2006-04-14|tomcat can't compile big jsp, hitting a compiler l|
|39740|New|Enh|2006-06-07|semi-colon ; isn't allowed as a query argument sep|
|39832|Inf|Enh|2006-06-17|HTML Manager improvements |
|39844|New|Nor|2006-06-20|non-HTTP forward will alway result NullPointerExce|
|39862|Inf|Enh|2006-06-22|provide support for protocol-independent GenericSe|
|40001|Inf|Enh|2006-07-10|HTML pages should not use GET to restart web-apps.|
|40211|Inf|Enh|2006-08-08|Compiled JSP don't indent HTML code   |
|40218|New|Enh|2006-08-08|JNDI realm - recursive group/role matching|
|40222|Inf|Enh|2006-08-09|Default Tomcat configuration alows easy session hi|
|40402|New|Enh|2006-09-03|Manager should display Exceptions |
|40510|New|Enh|2006-09-14|installer does not create shortcuts for all users |
|40712|New|Enh|2006-10-10|Realm admin error.|
|40728|Inf|Enh|2006-10-11|Catalina MBeans use non-serializable classes  |
|40766|New|Enh|2006-10-16|Using an unsecure jsessionid with mod_proxy_ajp ov|
|40881|Opn|Enh|2006-11-02|Unable to receive message through  TCP channel -> |
|41007|Opn|Enh|2006-11-20|Can't define customized 503 error page|
|41179|New|Enh|2006-12-15|400 Bad Request response during auto re-deployment|
|41227|Opn|Enh|2006-12-21|When the jasper compiler fails to compile a JSP, i|
|41337|Opn|Enh|2007-01-10|Display an error page if no cert is available on C|
|41496|New|Enh|2007-01-30|set a security provider for jsse in a connector co|
|41498|New|Enh|2007-01-30|allRolesMode Realm configuration option not docume|
|41539|