[Bug 53251] Windows service HOW-TO mentions a Commons Daemons bug that's been fixed
https://issues.apache.org/bugzilla/show_bug.cgi?id=53251 --- Comment #2 from Juanal juanal2...@gmail.com --- I wasn't aware of that. Thanks! -- You are receiving this mail because: You are the assignee for the bug.
[Bug 53257] New: getLastModified() of compilation context returns negative number
https://issues.apache.org/bugzilla/show_bug.cgi?id=53257 Priority: P2 Bug ID: 53257 Assignee: dev@tomcat.apache.org Summary: getLastModified() of compilation context returns negative number Severity: normal Classification: Unclassified OS: Windows Server 2003 Reporter: andreas.etzlstor...@ibees.at Hardware: PC Status: NEW Version: 7.0.27 Component: Jasper Product: Tomcat 7 Created attachment 28802 -- https://issues.apache.org/bugzilla/attachment.cgi?id=28802action=edit full stacktrace Jasper Compiler has an issue on compiling JSPs if they are contained in a folder like the following example: /a+b/test.jsp. The plus charachter seems to break the org.apache.jasper.JspCompilationContext#getLastModified() method, because it returns -1 every time: java.lang.IllegalArgumentException: Negative time java.io.File.setLastModified(File.java:1258) org.apache.jasper.compiler.Compiler.compile(Compiler.java:376) org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:644) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) *** *** net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:81) net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:92) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) Some details: - First I suspected URIEncoding=utf-8 in the Connector, but removing the configuration didn't fix the bug - The same bug occurs on my developing machine (Windows 7, NTFS, Apache Tomcat 7.0.22) - On a other customer machine the same example as above worked fine! (Any Linux Distribution, Apache Tomcat 7.0.19) - By the way I also tried the right URI-Encoding: http://.../a%2Bb/test.jsp Please find attached the full stack trace Best Regards A. Etzlstorfer -- You are receiving this mail because: You are the assignee for the bug.
[Bug 53257] getLastModified() of compilation context returns negative number
https://issues.apache.org/bugzilla/show_bug.cgi?id=53257 --- Comment #1 from Konstantin Kolinko knst.koli...@gmail.com --- Confirmed, with 7.0.x built 2012-05-13. E.g. in examples webapp rename webapps\examples\jsp\jsp2\el\basic-arithmetic.jsp into webapps\examples\jsp\jsp2\el\basic+arithmetic.jsp Trying to access it fails http://localhost:8080/examples/jsp/jsp2/el/basic+arithmetic.jsp [[[ java.lang.IllegalArgumentException: Negative time java.io.File.setLastModified(File.java:1258) org.apache.jasper.compiler.Compiler.compile(Compiler.java:376) ]]] -- You are receiving this mail because: You are the assignee for the bug.
[Bug 53257] getLastModified() of compilation context returns negative number
https://issues.apache.org/bugzilla/show_bug.cgi?id=53257 --- Comment #2 from Konstantin Kolinko knst.koli...@gmail.com --- To determine the file date Compiler class calls JspCompilationContext#getLastModified(String resource) where in my example the resource value is '/jsp/jsp2/el/basic+arithmetic.jsp' It calls some method that converts it into URL, 'jndi:/localhost/examples/jsp/jsp2/el/basic+arithmetic.jsp' It opens url connection from this URL (implemented by DirContextUrlConnection), then calls methods on it, which result in calling DirContextUrlConnection#connect(). The problem is in the following line in o.a.naming.resource.DirContextUrlConnection#connect(): 160path = URLDecoder.decode(path, UTF-8); This call was added in r1152593 to address bug 51584. There are two problems with the line 160 here. 1) The JRE method called here decodes '+' as ' '. That would be correct in a query string or in POST body, but here (in a path) it is not correct. 2) The decode call itself here is wrong. To demonstrate, create one more copy of that sample jsp under the following name: basic%abarithmetic.jsp Now let's try accessing http://localhost:8080/examples/jsp/jsp2/el/basic%2Barithmetic.jsp http://localhost:8080/examples/jsp/jsp2/el/basic%25abarithmetic.jsp In JspContext#getLastModified(String resource) the value of resource argument will be '/jsp/jsp2/el/basic+arithmetic.jsp' '/jsp/jsp2/el/basic%abarithmetic.jsp' The URLDecoder.decode() call will decode the above paths one more time, which is wrong. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 53257] getLastModified() of compilation context returns negative number
https://issues.apache.org/bugzilla/show_bug.cgi?id=53257 --- Comment #3 from Konstantin Kolinko knst.koli...@gmail.com --- Conversion of string - URL is performed via a call to ServletContext.getResource(path). I have some trouble understanding whether ServletContext API operates on urlencoded on non-urlencoded paths. My point of view is that argument of ServletContext.getResource() and the paths returned by ServletContext.getResourcePaths() are just file system paths and they should not be urlencoded. From the above it follows that method o.a.catalina.core.ApplicationContext#getResource(String) that returns return new URL (jndi, , 0, getJNDIUri(hostName, fullPath), new DirContextURLStreamHandler(resources)); is responsible to perform urlencoding of the path. The docs for java.net.URL say that The URL class does not itself encode or decode any URL components according to the escaping mechanism defined in RFC2396. So it should urlencode the path before constructing the URL. Maybe use new URI(.,.,.,.,.,.,).toURL(); here, as URI class handles encoding. I think that JspCompilationContext methods such as #getResource(String), #getLastModified(String) should also operate on non-urlencoded strings, like ServletContext does. (That is what they already do today. I am just clarifying my point of view). There is method DirContextURLConnection#list(). I do not see it called anywhere besides o.a.c.startup.ContextConfig#processAnnotationsJndi(), so it is like our internal API. It returns url-encoded paths (as modified by 1152593). It looks OK with the only place where it is used (and this API is not related to ServletContext.getResourcePaths()), but needs to be documented. (- BTW, in JspContext#getResource(String) there is 306 result = context.getResource(canonicalURI(res)); The canonicalURI(res) call does not hurt, but it seems excessive because ApplicationContext#getResource(String) will call RequestUtil.normalize() on its argument, which does effectively the same. ) -- You are receiving this mail because: You are the assignee for the bug.
[Bug 51584] Crash (infinite loop) when files starting with '#' are in the library tree
https://issues.apache.org/bugzilla/show_bug.cgi?id=51584 --- Comment #3 from Konstantin Kolinko knst.koli...@gmail.com --- Just noting that the fix for this issue (r1152593) was incomplete and caused regression - bug 53257. See further discussion there. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 53240] [tomcat jdbc connection pool] Open x-times database sessions than expected
https://issues.apache.org/bugzilla/show_bug.cgi?id=53240 --- Comment #2 from Filip Hanik fha...@apache.org --- misconfiguration. conf/context.xml will create one pool per webapp. global pools are configured in server.xml -- You are receiving this mail because: You are the assignee for the bug.
svn commit: r1340133 - in /tomcat/tc7.0.x/trunk: modules/ webapps/docs/changelog.xml
Author: fhanik Date: Fri May 18 15:38:22 2012 New Revision: 1340133 URL: http://svn.apache.org/viewvc?rev=1340133view=rev Log: When a connection is disconnected, make sure we reset the cached values. This can happen during a failed validation when reconnect() is called. Modified: tomcat/tc7.0.x/trunk/modules/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Propchange: tomcat/tc7.0.x/trunk/modules/ -- --- svn:externals (original) +++ svn:externals Fri May 18 15:38:22 2012 @@ -1 +1 @@ -^/tomcat/trunk/modules/jdbc-pool@1311844 jdbc-pool +^/tomcat/trunk/modules/jdbc-pool@1335546 jdbc-pool Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1340133r1=1340132r2=1340133view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Fri May 18 15:38:22 2012 @@ -182,6 +182,11 @@ /subsection subsection name=jdbc-pool changelog + update + When a connection is reconnected due to failed validation + make sure the ConnectionState is reset or it will assume + incorrect values (fhanik) + /update fix bug50864/bug (rev1311844/rev): JMX enable most pool properties (fhanik) - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
buildbot failure in ASF Buildbot on tomcat-7-trunk
The Buildbot has detected a new failure on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/573 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1340133 Blamelist: fhanik BUILD FAILED: failed compile_1 sincerely, -The Buildbot
svn commit: r1340160 - in /tomcat/trunk/modules/jdbc-pool/src: main/java/org/apache/tomcat/jdbc/pool/ main/java/org/apache/tomcat/jdbc/pool/jmx/ test/java/org/apache/tomcat/jdbc/test/
Author: fhanik Date: Fri May 18 16:28:33 2012 New Revision: 1340160 URL: http://svn.apache.org/viewvc?rev=1340160view=rev Log: Add in ability to purge the pool https://issues.apache.org/bugzilla/show_bug.cgi?id=53254 Added: tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/PoolPurgeTest.java (with props) Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/DataSourceProxy.java tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPoolMBean.java Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java?rev=1340160r1=1340159r2=1340160view=diff == --- tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java (original) +++ tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java Fri May 18 16:28:33 2012 @@ -39,6 +39,7 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; import org.apache.juli.logging.Log; import org.apache.juli.logging.LogFactory; @@ -120,6 +121,8 @@ public class ConnectionPool { */ private AtomicInteger waitcount = new AtomicInteger(0); +private AtomicLong poolVersion = new AtomicLong(Long.MIN_VALUE); + //=== // PUBLIC METHODS //=== @@ -438,6 +441,8 @@ public class ConnectionPool { if (properties.isFairQueue()) { idle = new FairBlockingQueuePooledConnection(); //idle = new MultiLockFairBlockingQueuePooledConnection(); +//idle = new LinkedTransferQueuePooledConnection(); +//idle = new ArrayBlockingQueuePooledConnection(properties.getMaxActive(),false); } else { idle = new ArrayBlockingQueuePooledConnection(properties.getMaxActive(),properties.isFairQueue()); } @@ -836,6 +841,7 @@ public class ConnectionPool { * @return true if the connection should be closed */ protected boolean shouldClose(PooledConnection con, int action) { +if (con.getConnectionVersion() getPoolVersion()) return true; if (con.isDiscarded()) return true; if (isClosed()) return true; if (!con.validate(action)) return true; @@ -954,11 +960,16 @@ public class ConnectionPool { * {@link PoolProperties#maxIdle}, {@link PoolProperties#minIdle}, {@link PoolProperties#minEvictableIdleTimeMillis} */ public void checkIdle() { +checkIdle(false); +} + +public void checkIdle(boolean ignoreMinSize) { + try { if (idle.size()==0) return; long now = System.currentTimeMillis(); IteratorPooledConnection unlocked = idle.iterator(); -while ( (idle.size()=getPoolProperties().getMinIdle()) unlocked.hasNext()) { +while ( (ignoreMinSize || (idle.size()=getPoolProperties().getMinIdle())) unlocked.hasNext()) { PooledConnection con = unlocked.next(); boolean setToNull = false; try { @@ -967,7 +978,7 @@ public class ConnectionPool { if (busy.contains(con)) continue; long time = con.getTimestamp(); -if ((con.getReleaseTime()0) ((now - time) con.getReleaseTime()) (getSize()getPoolProperties().getMinIdle())) { +if (shouldReleaseIdle(now, con, time)) { release(con); idle.remove(con); setToNull = true; @@ -988,6 +999,12 @@ public class ConnectionPool { } + +protected boolean shouldReleaseIdle(long now, PooledConnection con, long time) { +if (con.getConnectionVersion() getPoolVersion()) return true; +else return (con.getReleaseTime()0) ((now - time) con.getReleaseTime()) (getSize()getPoolProperties().getMinIdle()); +} + /** * Forces a validation of all idle connections if {@link PoolProperties#testWhileIdle} is set. */ @@ -1058,6 +1075,27 @@ public class ConnectionPool { } /** + * Purges all connections in the
svn commit: r1340164 - in /tomcat/tc7.0.x/trunk: modules/ webapps/docs/changelog.xml
Author: fhanik Date: Fri May 18 16:37:29 2012 New Revision: 1340164 URL: http://svn.apache.org/viewvc?rev=1340164view=rev Log: Add in ability to purge the pool https://issues.apache.org/bugzilla/show_bug.cgi?id=53254 Modified: tomcat/tc7.0.x/trunk/modules/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Propchange: tomcat/tc7.0.x/trunk/modules/ -- --- svn:externals (original) +++ svn:externals Fri May 18 16:37:29 2012 @@ -1 +1 @@ -^/tomcat/trunk/modules/jdbc-pool@1335546 jdbc-pool +^/tomcat/trunk/modules/jdbc-pool@1340160 jdbc-pool Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1340164r1=1340163r2=1340164view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Fri May 18 16:37:29 2012 @@ -182,6 +182,10 @@ /subsection subsection name=jdbc-pool changelog + fix +bug53254/bug (rev1340160/rev): +Add in the ability to purge connections from the pool (fhanik) + /fix update When a connection is reconnected due to failed validation make sure the ConnectionState is reset or it will assume - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53254] Support for purging connection pool
https://issues.apache.org/bugzilla/show_bug.cgi?id=53254 Filip Hanik fha...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED OS||All --- Comment #1 from Filip Hanik fha...@apache.org --- Fixed in trunk in r1340160 Fixed in 7.0.x in r1340164 -- You are receiving this mail because: You are the assignee for the bug.
[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed
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-tc7.0.x-test has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-tc7.0.x-test : Tomcat 7.x, a web server implementing Java Servlet 3.0, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp-src.jar. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.native.src.tgz. -DEBUG- Dependency on commons-daemon exists, no need to add for property tomcat-native.tar.gz. -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build failed -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-7.0.x/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build) Work ended in a state of : Failed Elapsed: 21 mins 53 secs 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 -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-18052012.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-18052012-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-18052012-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-18052012.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/ srv/gump/public/workspace/commons-dbcp-1.x -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-18052012.jar test [Working Directory: /srv/gump/public/workspace/tomcat-7.0.x] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses:/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/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-18052012.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-18052012.jar:/srv/gump/ public/workspace/junit/dist/junit-18052012.jar - [junit] May 18, 2012 4:45:37 PM
[Bug 53225] IllegalStateException zip file closed with resource from webfragment jar if JreMemoryLeakPreventionListener is removed
https://issues.apache.org/bugzilla/show_bug.cgi?id=53225 Violeta Georgieva violet...@apache.org changed: What|Removed |Added CC||violet...@apache.org -- You are receiving this mail because: You are the assignee for the bug.
[Bug 53090] Servlet superclass injection targets are ignored
https://issues.apache.org/bugzilla/show_bug.cgi?id=53090 Violeta Georgieva violet...@apache.org changed: What|Removed |Added CC||violet...@apache.org -- You are receiving this mail because: You are the assignee for the bug.
[Bug 52746] Classloader closed in middle of webapp deployment
https://issues.apache.org/bugzilla/show_bug.cgi?id=52746 --- Comment #2 from Igor Mihalik igor.miha...@gmail.com --- There's a workaround for this issue to use: Listener className=org.apache.catalina.core.JreMemoryLeakPreventionListener urlCacheProtection=true/ which is used by default in default server.xml configuration file, but if you removed the listener completely you can encounter this problem. It is very likely it was introduced by this improvement: https://issues.apache.org/bugzilla/show_bug.cgi?id=51276 svn revision: r1130497 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 52746] Classloader closed in middle of webapp deployment
https://issues.apache.org/bugzilla/show_bug.cgi?id=52746 Igor Mihalik igor.miha...@gmail.com changed: What|Removed |Added CC||igor.miha...@gmail.com -- You are receiving this mail because: You are the assignee for the bug.
[Bug 53254] Support for purging connection pool
https://issues.apache.org/bugzilla/show_bug.cgi?id=53254 --- Comment #2 from Mike Youngstrom you...@gmail.com --- Nice! Thanks Filip! For laughs here is the workaround implementation I created yesterday. :) public void purge() throws Exception { long oldMaxAge = dataSource.getMaxAge(); int oldMaxIdle = dataSource.getMaxIdle(); int oldMaxActive = dataSource.getMaxActive(); int oldMinEvictTime = dataSource.getMinEvictableIdleTimeMillis(); PooledConnection connection = dataSource.getPooledConnection(); IllegalStateException error = null; try { dataSource.setMaxActive(1); dataSource.setMaxIdle(1); dataSource.setMaxAge(1); dataSource.setMinEvictableIdleTimeMillis(1); int sec = 0; Thread.sleep(1001); while(dataSource.getActive() 1 sec 29) { Thread.sleep(1000); sec++; } dataSource.checkIdle(); if(dataSource.getActive() 1) { error = new IllegalStateException(Closed all but +(dataSource.getActive()-1)+ connection(s) after 30 sec. Try again.); } connection.close(); } finally { dataSource.setMaxAge(oldMaxAge); dataSource.setMaxActive(oldMaxActive); dataSource.setMaxIdle(oldMaxIdle); dataSource.setMinEvictableIdleTimeMillis(oldMinEvictTime); if(error != null) { throw error; } } } -- You are receiving this mail because: You are the assignee for the bug.
svn commit: r1340215 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
Author: fhanik Date: Fri May 18 19:23:12 2012 New Revision: 1340215 URL: http://svn.apache.org/viewvc?rev=1340215view=rev Log: https://issues.apache.org/bugzilla/show_bug.cgi?id=52858 https://issues.apache.org/bugzilla/show_bug.cgi?id=53138 Fix broken NIO sendfile download Fix high CPU usage due to registered OP_READ for sendfile processes Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1340215r1=1340214r2=1340215view=diff == --- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original) +++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Fri May 18 19:23:12 2012 @@ -1278,9 +1278,13 @@ public class NioEndpoint extends Abstrac public boolean processSendfile(SelectionKey sk, KeyAttachment attachment, boolean reg, boolean event) { NioChannel sc = null; +if (log.isTraceEnabled()) { +log.trace([+new java.sql.Date(System.currentTimeMillis()).toGMTString()+] Processing send file. [+sk+] ); +} try { unreg(sk, attachment, sk.readyOps()); SendfileData sd = attachment.getSendfileData(); +//setup the file channel if ( sd.fchannel == null ) { File f = new File(sd.fileName); if ( !f.exists() ) { @@ -1289,10 +1293,14 @@ public class NioEndpoint extends Abstrac } sd.fchannel = new FileInputStream(f).getChannel(); } + +//configure output channel sc = attachment.getChannel(); sc.setSendFile(true); +//ssl channel is slightly different WritableByteChannel wc = ((sc instanceof SecureNioChannel)?sc:sc.getIOChannel()); +//we still have data in the buffer if (sc.getOutboundRemaining()0) { if (sc.flushOutbound()) { attachment.access(); @@ -1322,7 +1330,6 @@ public class NioEndpoint extends Abstrac } catch (Exception ignore) { } if ( sd.keepAlive ) { -if (reg) { if (log.isDebugEnabled()) { log.debug(Connection is keep alive, registering back for OP_READ); } @@ -1331,7 +1338,6 @@ public class NioEndpoint extends Abstrac } else { reg(sk,attachment,SelectionKey.OP_READ); } -} } else { if (log.isDebugEnabled()) { log.debug(Send file connection is being closed); @@ -1339,7 +1345,7 @@ public class NioEndpoint extends Abstrac cancelledKey(sk,SocketStatus.STOP); return false; } -} else if ( attachment.interestOps() == 0 reg ) { +} else { //if ( attachment.interestOps() == 0 reg ) { if (log.isDebugEnabled()) { log.debug(OP_WRITE for sendilfe:+sd.fileName); } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1340218 - in /tomcat/tc7.0.x/trunk: java/org/apache/tomcat/util/net/NioEndpoint.java webapps/docs/changelog.xml
Author: fhanik Date: Fri May 18 19:28:30 2012 New Revision: 1340218 URL: http://svn.apache.org/viewvc?rev=1340218view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53138 https://issues.apache.org/bugzilla/show_bug.cgi?id=52858 Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1340218r1=1340217r2=1340218view=diff == --- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Fri May 18 19:28:30 2012 @@ -1278,9 +1278,13 @@ public class NioEndpoint extends Abstrac public boolean processSendfile(SelectionKey sk, KeyAttachment attachment, boolean reg, boolean event) { NioChannel sc = null; +if (log.isTraceEnabled()) { +log.trace([+new java.sql.Date(System.currentTimeMillis()).toGMTString()+] Processing send file. [+sk+] ); +} try { unreg(sk, attachment, sk.readyOps()); SendfileData sd = attachment.getSendfileData(); +//setup the file channel if ( sd.fchannel == null ) { File f = new File(sd.fileName); if ( !f.exists() ) { @@ -1289,10 +1293,14 @@ public class NioEndpoint extends Abstrac } sd.fchannel = new FileInputStream(f).getChannel(); } + +//configure output channel sc = attachment.getChannel(); sc.setSendFile(true); +//ssl channel is slightly different WritableByteChannel wc = ((sc instanceof SecureNioChannel)?sc:sc.getIOChannel()); +//we still have data in the buffer if (sc.getOutboundRemaining()0) { if (sc.flushOutbound()) { attachment.access(); @@ -1322,7 +1330,6 @@ public class NioEndpoint extends Abstrac } catch (Exception ignore) { } if ( sd.keepAlive ) { -if (reg) { if (log.isDebugEnabled()) { log.debug(Connection is keep alive, registering back for OP_READ); } @@ -1331,7 +1338,6 @@ public class NioEndpoint extends Abstrac } else { reg(sk,attachment,SelectionKey.OP_READ); } -} } else { if (log.isDebugEnabled()) { log.debug(Send file connection is being closed); @@ -1339,7 +1345,7 @@ public class NioEndpoint extends Abstrac cancelledKey(sk,SocketStatus.STOP,false); return false; } -} else if ( attachment.interestOps() == 0 reg ) { +} else { //if ( attachment.interestOps() == 0 reg ) { if (log.isDebugEnabled()) { log.debug(OP_WRITE for sendilfe:+sd.fileName); } Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1340218r1=1340217r2=1340218view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Fri May 18 19:28:30 2012 @@ -117,6 +117,14 @@ subsection name=Coyote changelog fix +bug52858/bug: Correct fix for high CPU load +(fhanik) + /fix + fix +bug53138/bug: Broken Sendfile on SSL introduced in 7.0.27 +(fhanik) + /fix + fix bug52055/bug: Additional fix required to ensure that codeInputFilter/codes are recycled between requests. (markt) /fix - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 53138] Not able to download a file size of 740KB using NIO connector in tomcat version 7.0.27. But with the same configuration I was able to download that in tomcat 7.0.26.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53138 Filip Hanik fha...@apache.org changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|--- |FIXED --- Comment #12 from Filip Hanik fha...@apache.org --- Fixed in trunk in r1340215 Fixed in 7.0.x in r1340218 Will be available in 7.0.28 -- You are receiving this mail because: You are the assignee for the bug.
[Bug 52858] High CPU load in the NIO connector, when a client breaks connection unexpectedly
https://issues.apache.org/bugzilla/show_bug.cgi?id=52858 Filip Hanik fha...@apache.org changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--- |FIXED --- Comment #3 from Filip Hanik fha...@apache.org --- Fixed in trunk in r1340215 Fixed in 7.0.x in r1340218 Will be available in 7.0.28 -- You are receiving this mail because: You are the assignee for the bug.
[GUMP@vmgump]: Project tomcat-trunk-validate (in module tomcat-trunk) failed
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-validate has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 29 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-trunk-validate : Tomcat 8.x, a web server implementing Java Servlet 3.1, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on checkstyle exists, no need to add for property checkstyle.jar. -INFO- Failed with reason build failed The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-validate/gump_work/build_tomcat-trunk_tomcat-trunk-validate.html Work Name: build_tomcat-trunk_tomcat-trunk-validate (Type: Build) Work ended in a state of : Failed Elapsed: 30 secs 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 -Dcheckstyle.jar=/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar -Dexecute.validate=true validate [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/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-19052012.jar:/srv/gump/public/workspace/apache-commons/cli/target/commons-cli-1.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/exec/target/commons-exec-1.1.1-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/validator/dist/commons-validator-19052012.jar:/srv/gump/public/workspace/junit/dist/junit-19052012.jar:/srv/gump /public/workspace/junit/dist/junit-dep-19052012.jar:/srv/gump/public/workspace/google-guava/guava/target/guava-12.0-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-19052012.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-19052012.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/packages/antlr/antlr-3.1.3.jar:/srv/gump/public/workspace/jdom/build/jdom.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-19052012.jar:/srv/gump/public/workspace/velocity-engine/bin/velocity-19052012-dep.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar - Buildfile: /srv/gump/public/workspace/tomcat-trunk/build.xml download-validate: proxyflags: setproxy: testexist: [echo] Testing for /srv/gump/public/workspace/checkstyle/target/checkstyle-5.6-SNAPSHOT.jar downloadzip: validate: [mkdir] Created dir: /srv/gump/public/workspace/tomcat-trunk/output/res/checkstyle [checkstyle] Running Checkstyle 5.6-SNAPSHOT on 2268 files [checkstyle] /srv/gump/public/workspace/tomcat-trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/PoolPurgeTest.java:19:8: Unused import - java.sql.Connection. [checkstyle] /srv/gump/public/workspace/tomcat-trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/PoolPurgeTest.java:20:8: Unused import - java.sql.ResultSet. [checkstyle] /srv/gump/public/workspace/tomcat-trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/PoolPurgeTest.java:21:8: Unused import - java.sql.Statement. [checkstyle] /srv/gump/public/workspace/tomcat-trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/PoolPurgeTest.java:22:8: Unused import - java.util.concurrent.CountDownLatch. [checkstyle] /srv/gump/public/workspace/tomcat-trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/PoolPurgeTest.java:23:8: Unused import - java.util.concurrent.Future. [checkstyle] /srv/gump/public/workspace/tomcat-trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/PoolPurgeTest.java:24:8: Unused import - java.util.concurrent.TimeUnit. [checkstyle]
[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed
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-tc7.0.x-test has an issue affecting its community integration. This issue affects 1 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - tomcat-tc7.0.x-test : Tomcat 7.x, a web server implementing Java Servlet 3.0, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp-src.jar. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.native.src.tgz. -DEBUG- Dependency on commons-daemon exists, no need to add for property tomcat-native.tar.gz. -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build failed -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-7.0.x/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build) Work ended in a state of : Failed Elapsed: 22 mins 23 secs 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 -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-19052012.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-19052012-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-19052012-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-19052012.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/ srv/gump/public/workspace/commons-dbcp-1.x -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-19052012.jar test [Working Directory: /srv/gump/public/workspace/tomcat-7.0.x] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses:/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/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-19052012.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-19052012.jar:/srv/gump/ public/workspace/junit/dist/junit-19052012.jar - [junit] May 19, 2012 4:53:53 AM
[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
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-test has an issue affecting its community integration. This issue affects 1 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-test : Tomcat 8.x, a web server implementing Java Servlet 3.1, ... Full details are available at: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property tomcat-dbcp-src.jar. -DEBUG- Dependency on commons-daemon exists, no need to add for property commons-daemon.native.src.tgz. -DEBUG- Dependency on commons-daemon exists, no need to add for property tomcat-native.tar.gz. -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property tomcat-dbcp.home. -INFO- Failed with reason build failed -INFO- Project Reports in: /srv/gump/public/workspace/tomcat-trunk/output/build/logs The following work was performed: http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build) Work ended in a state of : Failed Elapsed: 22 mins 57 secs 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 -Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-19052012.jar -Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-19052012-native-src.tar.gz -Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-19052012-native-src.tar.gz -Dexamples.sources.skip=true -Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps -Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar -Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-19052012.jar -Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-src.jar -Dtest.accesslog=true -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x -Dcommons-dbcp.home=/ srv/gump/public/workspace/commons-dbcp-1.x -Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-19052012.jar test [Working Directory: /srv/gump/public/workspace/tomcat-trunk] CLASSPATH: /usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/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/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-trunk/outp ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org