Re: Embeded Tomcat using a Connector with a random port (port 0)

2011-10-09 Thread Konstantin Kolinko
2011/10/9 Olivier Lamy : > tomcat.getConnector().setPort( 0 ); 1) Look at how TomcatBaseTest assigns subsequent port numbers, starting with 8001. http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/startup/TomcatBaseTest.java?view=markup#l84 2) While the proposed feature may have

Re: buildbot failure in ASF Buildbot on tomcat-trunk

2011-10-09 Thread Konstantin Kolinko
Even though it says "compile_1", it is a testsuite failure. Test org.apache.catalina.tribes.group.interceptors.TestNonBlockingCoordinator FAILED Test org.apache.catalina.tribes.group.interceptors.TestOrderInterceptor FAILED Both tests were run twice (BIO, NIO), but only the second run failed. Be

buildbot failure in ASF Buildbot on tomcat-trunk

2011-10-09 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/2352 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-vm_ubuntu Build Reason: scheduler Build Source St

svn commit: r1180721 [2/2] - in /tomcat/trunk: java/org/apache/catalina/tribes/tipis/ java/org/apache/catalina/tribes/transport/nio/ java/org/apache/catalina/tribes/util/ modules/jdbc-pool/src/main/ja

2011-10-09 Thread markt
Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1180721&r1=1180720&r2=1180721&view=diff ===

Re: Embeded Tomcat using a Connector with a random port (port 0)

2011-10-09 Thread Olivier Lamy
2011/10/9 Mark Thomas : > On 09/10/2011 15:08, Olivier Lamy wrote: >> Hello, >> I'd like to be able to use a random port when using embedded Tomcat in >> unit tests to test servlets. >> Currently it's "locked" by a test in Connector#startInternal. >> Is it intentional ? > > svn blame would have ans

Re: Make the InetAddress object available via ServletRequest?

2011-10-09 Thread Mark Thomas
On 09/10/2011 15:57, Francis Galiegue wrote: > Hello, > > I have my CIDR matching valve/filter ready (still struggling to write > unit tests, but it works in real-world situations), and there is > something I find quite unoptimized: you have getRemoteHost() and > getRemoteAddr() to get the remote

Re: Embeded Tomcat using a Connector with a random port (port 0)

2011-10-09 Thread Mark Thomas
On 09/10/2011 15:08, Olivier Lamy wrote: > Hello, > I'd like to be able to use a random port when using embedded Tomcat in > unit tests to test servlets. > Currently it's "locked" by a test in Connector#startInternal. > Is it intentional ? svn blame would have answered that for you. > I'd like to

DO NOT REPLY [Bug 46264] Shutting down tomcat with large number of contexts is slow

2011-10-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46264 --- Comment #5 from Mark Thomas 2011-10-09 16:31:14 UTC --- A few comments on the patch. 1. Consider allowing the number of threads to be used to be configured (probably as a attribute of the host). 2. Webapp start/stop time can vary wide

Make the InetAddress object available via ServletRequest?

2011-10-09 Thread Francis Galiegue
Hello, I have my CIDR matching valve/filter ready (still struggling to write unit tests, but it works in real-world situations), and there is something I find quite unoptimized: you have getRemoteHost() and getRemoteAddr() to get the remote host name and IP addresses as strings, but why can't you

Embeded Tomcat using a Connector with a random port (port 0)

2011-10-09 Thread Olivier Lamy
Hello, I'd like to be able to use a random port when using embedded Tomcat in unit tests to test servlets. Currently it's "locked" by a test in Connector#startInternal. Is it intentional ? I'd like to be able to do simply something like : Tomcat tomcat = new Tomcat(); tomcat.setBaseDir(System.get

DO NOT REPLY [Bug 51953] Proposal: netmask filtering valve and filter

2011-10-09 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51953 --- Comment #17 from Francis Galiegue 2011-10-09 12:37:21 UTC --- Still waiting for input... -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are th

Maven plugin now support tomcat7 (call for early testers)

2011-10-09 Thread Olivier Lamy
Hi Folks, I have just implemented the support of tomcat7 in the Tomcat Maven Plugin. How to test it it's documented here: http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html In advance thanks for your tests (jira is here https://issues.apache.org/jira/browse/MTOMCAT :-) ). Thank

Bug report for Taglibs [2011/10/09]

2011-10-09 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Bug report for Tomcat 6 [2011/10/09]

2011-10-09 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Bug report for Tomcat Native [2011/10/09]

2011-10-09 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Bug report for Tomcat Modules [2011/10/09]

2011-10-09 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Bug report for Tomcat 5 [2011/10/09]

2011-10-09 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Bug report for Tomcat 7 [2011/10/09]

2011-10-09 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

Bug report for Tomcat Connectors [2011/10/09]

2011-10-09 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned