[Bug 57863] New: Can't get the matched pattern in RewriteValve

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57863 Bug ID: 57863 Summary: Can't get the matched pattern in RewriteValve Product: Tomcat 8 Version: trunk Hardware: All OS: All Status: NEW Severity: normal

[GUMP@vmgump]: Project tomcat-tc8.0.x-test-apr (in module tomcat-8.0.x) failed

2015-04-27 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-tc8.0.x-test-apr has an issue affecting its community integration.

[Bug 57830] Add support for ProxyProtocol

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57830 --- Comment #7 from Bill Barker --- (In reply to Christopher Schultz from comment #6) > (In reply to Bill Barker from comment #5) > > Ok, so I miss read the spec. After reading the spec again, I have lost all > > interest in this issue. > > I

buildbot exception in ASF Buildbot on tomcat-8-trunk

2015-04-27 Thread buildbot
The Buildbot has detected a build exception on builder tomcat-8-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-8-trunk/builds/224 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranc

buildbot success in ASF Buildbot on tomcat-8-trunk

2015-04-27 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-8-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-8-trunk/builds/223 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranch

buildbot success in ASF Buildbot on tomcat-7-trunk

2015-04-27 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/636 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranch

svn commit: r1676395 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 23:03:37 2015 New Revision: 1676395 URL: http://svn.apache.org/r1676395 Log: Add some comments to clarify behaviour. Review by schultz re object allocation Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/el/parser/AstVa

svn commit: r1676394 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 23:01:47 2015 New Revision: 1676394 URL: http://svn.apache.org/r1676394 Log: Add some comments to clarify behaviour. Review by schultz re object allocation Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/java/org/apache/el/parser/AstVa

svn commit: r1676393 - in /tomcat/trunk: java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 23:01:16 2015 New Revision: 1676393 URL: http://svn.apache.org/r1676393 Log: Add some comments to clarify behaviour. Review by schultz re object allocation Modified: tomcat/trunk/java/org/apache/el/parser/AstValue.java tomcat/trunk/test/org/apache/el/TestMet

Re: svn commit: r1676381 - in /tomcat/trunk: java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java test/org/apache/el/TesterBeanB.java

2015-04-27 Thread Mark Thomas
On 27/04/2015 23:10, Christopher Schultz wrote: > Konstantin, > > On 4/27/15 6:06 PM, Konstantin Kolinko wrote: >> 2015-04-28 0:43 GMT+03:00 : >>> Author: markt >>> Date: Mon Apr 27 21:43:22 2015 >>> New Revision: 1676381 >>> >>> URL: http://svn.apache.org/r1676381 >>> Log: >>> Further fix for ht

buildbot exception in ASF Buildbot on tomcat-7-trunk

2015-04-27 Thread buildbot
The Buildbot has detected a build exception on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/635 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranc

Re: svn commit: r1676381 - in /tomcat/trunk: java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java test/org/apache/el/TesterBeanB.java

2015-04-27 Thread Christopher Schultz
Konstantin, On 4/27/15 6:06 PM, Konstantin Kolinko wrote: > 2015-04-28 0:43 GMT+03:00 : >> Author: markt >> Date: Mon Apr 27 21:43:22 2015 >> New Revision: 1676381 >> >> URL: http://svn.apache.org/r1676381 >> Log: >> Further fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 >> Follow-u

Re: svn commit: r1676381 - in /tomcat/trunk: java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java test/org/apache/el/TesterBeanB.java

2015-04-27 Thread Konstantin Kolinko
2015-04-28 0:43 GMT+03:00 : > Author: markt > Date: Mon Apr 27 21:43:22 2015 > New Revision: 1676381 > > URL: http://svn.apache.org/r1676381 > Log: > Further fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 > Follow-up to r1676231 > Handle case where null is passed to a method with a s

svn commit: r1676386 - /tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestExpiresFilter.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 21:59:42 2015 New Revision: 1676386 URL: http://svn.apache.org/r1676386 Log: Fix IDE warning Modified: tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestExpiresFilter.java Modified: tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestExpiresFilte

svn commit: r1676385 - /tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestRemoteIpFilter.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 21:51:54 2015 New Revision: 1676385 URL: http://svn.apache.org/r1676385 Log: Follow-up to r1676372 Slightly different set-up needed to unit test in 7.0.x Modified: tomcat/tc7.0.x/trunk/test/org/apache/catalina/filters/TestRemoteIpFilter.java Modified: tomcat/

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Mark Thomas changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

svn commit: r1676383 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java test/org/apache/el/TesterBeanB.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 21:45:08 2015 New Revision: 1676383 URL: http://svn.apache.org/r1676383 Log: Further fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Follow-up to r1676234 Handle case where null is passed to a method with a single varargs parameter Modified: tomcat/

svn commit: r1676382 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java test/org/apache/el/TesterBeanB.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 21:44:23 2015 New Revision: 1676382 URL: http://svn.apache.org/r1676382 Log: Further fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Follow-up to r1676232 Handle case where null is passed to a method with a single varargs parameter Modified: tomcat/

svn commit: r1676381 - in /tomcat/trunk: java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java test/org/apache/el/TesterBeanB.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 21:43:22 2015 New Revision: 1676381 URL: http://svn.apache.org/r1676381 Log: Further fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Follow-up to r1676231 Handle case where null is passed to a method with a single varargs parameter Modified: tomcat/

buildbot failure in ASF Buildbot on tomcat-7-trunk

2015-04-27 Thread buildbot
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/633 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchSch

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 --- Comment #8 from Mark Thomas --- The spec is unclear exactly what the required behaviour here is so (ignoring Konstantin's issue one above) I'm happy that this is an improvement. IAE with a decent error message is much better than AIOOB or N

[Bug 57856] RemoteIpFilter does not replace Request within Response

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57856 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

buildbot exception in ASF Buildbot on tomcat-8-trunk

2015-04-27 Thread buildbot
The Buildbot has detected a build exception on builder tomcat-8-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-8-trunk/builds/222 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranc

svn commit: r1676372 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/filters/ test/org/apache/catalina/connector/ test/org/apache/catalina/filters/ webapps/docs/

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 20:31:54 2015 New Revision: 1676372 URL: http://svn.apache.org/r1676372 Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57856 Ensure that any scheme/port changes implemented by the RemoteIpFilter also affect HttpServletResponse.sendRedirect() Modified:

svn commit: r1676371 - in /tomcat/tc7.0.x/trunk: ./ test/org/apache/catalina/connector/TesterResponse.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 20:29:58 2015 New Revision: 1676371 URL: http://svn.apache.org/r1676371 Log: Implement a few more methods (will be required by some new tests for the RemoteIpFilter) Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/test/org/apache/cata

svn commit: r1676370 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/connector/Response.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 20:29:07 2015 New Revision: 1676370 URL: http://svn.apache.org/r1676370 Log: Use getter to access coyoteResponse to make it easier to sub-class. Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/catalina/connector/Respons

svn commit: r1676369 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/filters/ test/org/apache/catalina/connector/ test/org/apache/catalina/filters/ webapps/docs/

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 20:26:55 2015 New Revision: 1676369 URL: http://svn.apache.org/r1676369 Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57856 Ensure that any scheme/port changes implemented by the RemoteIpFilter also affect HttpServletResponse.sendRedirect() Modified:

svn commit: r1676368 - in /tomcat/tc8.0.x/trunk: ./ test/org/apache/catalina/connector/TesterResponse.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 20:24:08 2015 New Revision: 1676368 URL: http://svn.apache.org/r1676368 Log: Implement a few more methods (will be required by some new tests for the RemoteIpFilter) Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/test/org/apache/cata

svn commit: r1676367 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/catalina/connector/Response.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 20:23:37 2015 New Revision: 1676367 URL: http://svn.apache.org/r1676367 Log: Use getter to access coyoteResponse to make it easier to sub-class. Modified: tomcat/tc8.0.x/trunk/ (props changed) tomcat/tc8.0.x/trunk/java/org/apache/catalina/connector/Respons

buildbot exception in ASF Buildbot on tomcat-trunk

2015-04-27 Thread buildbot
The Buildbot has detected a build exception on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/1154 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchSc

svn commit: r1676364 - in /tomcat/trunk: java/org/apache/catalina/filters/ test/org/apache/catalina/connector/ test/org/apache/catalina/filters/

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 20:13:05 2015 New Revision: 1676364 URL: http://svn.apache.org/r1676364 Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57856 Ensure that any scheme/port changes implemented by the RemoteIpFilter also affect HttpServletResponse.sendRedirect() Modified:

[Bug 57823] Server hangs if there is a colon on the start of the class path

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57823 --- Comment #3 from Christopher Schultz --- (In reply to gregh from comment #2) > This was the entry in the /etc/rc.d/init.d script that I have used for many > years, 5,6,7. This only happens in 8. > > CLASSPATH="$CLASSPATH":"$CATALINA_HOME"/

[Bug 57830] Add support for ProxyProtocol

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57830 --- Comment #6 from Christopher Schultz --- (In reply to Bill Barker from comment #5) > Ok, so I miss read the spec. After reading the spec again, I have lost all > interest in this issue. I'm curious: does this simply not interest you, or do

[Bug 57556] getServletContext().getRealPath("/") returns path not ending with /

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57556 --- Comment #7 from Chuck Caldarale --- (In reply to Christopher Schultz from comment #6) > But my position is that this method should unconditionally return null. +1 on that. Anyone using this method for anything other than debugging is fool

[Bug 57556] getServletContext().getRealPath("/") returns path not ending with /

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57556 --- Comment #6 from Christopher Schultz --- (In reply to Matt from comment #5) > Tomcat 6 only returned a path with an ending slash when asking for "/", any > other directory path does not end in a slash. So this is actually breaking > backward

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 --- Comment #7 from Christian Strebel --- (In reply to Konstantin Kolinko from comment #5) > I think MethodExpression.invoke() shall wrap IllegalArgumentException into > an ELException. > > > It is documented that java.lang.reflect.Method.inv

[Bug 57856] RemoteIpFilter does not replace Request within Response

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57856 Mark Thomas changed: What|Removed |Added OS||All --- Comment #1 from Mark Thomas ---

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 --- Comment #6 from Konstantin Kolinko --- (In reply to Mark Thomas from comment #4) > (In reply to Konstantin Kolinko from comment #3) > > Reviewing r1676234 > > > > 2) It looks that the message in AstValue.java prints "The method [{0}] was >

svn commit: r1676251 - /tomcat/trunk/test/org/apache/catalina/connector/TesterResponse.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 13:11:41 2015 New Revision: 1676251 URL: http://svn.apache.org/r1676251 Log: Implement a few more methods (will be required by some new tests for the RemoteIpFilter) Modified: tomcat/trunk/test/org/apache/catalina/connector/TesterResponse.java Modified: tomcat

svn commit: r1676250 - /tomcat/trunk/java/org/apache/catalina/connector/Response.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 13:10:36 2015 New Revision: 1676250 URL: http://svn.apache.org/r1676250 Log: Use getter to access coyoteResponse to make it easier to sub-class. Modified: tomcat/trunk/java/org/apache/catalina/connector/Response.java Modified: tomcat/trunk/java/org/apache/catal

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 --- Comment #5 from Konstantin Kolinko --- I think MethodExpression.invoke() shall wrap IllegalArgumentException into an ELException. It is documented that java.lang.reflect.Method.invoke() throws IllegalArgumentException when "if the number

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 --- Comment #4 from Mark Thomas --- (In reply to Konstantin Kolinko from comment #3) > Reviewing r1676234 > > Apparently "null" src is equivalent to "no argument" or a zero-length array. > [1] > > 1) When null is passed it should support both

buildbot success in ASF Buildbot on tomcat-7-trunk

2015-04-27 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-7-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-7-trunk/builds/632 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranch

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Konstantin Kolinko changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug 57859] APIs are inaccessible in SoapUI, after migrating to 8.0.21 from 8.0.14

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57859 Mark Thomas changed: What|Removed |Added Resolution|--- |INVALID OS|

[Bug 57860] use mina with apr/tomcat native and it crashs

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57860 Mark Thomas changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug 57860] New: use mina with apr/tomcat native and it crashs

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57860 Bug ID: 57860 Summary: use mina with apr/tomcat native and it crashs Product: Tomcat Native Version: 1.1.33 Hardware: PC OS: Linux Status: NEW Severity:

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Mark Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

svn commit: r1676234 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/el/Messages.properties java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java webapps/docs/changel

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 09:51:04 2015 New Revision: 1676234 URL: http://svn.apache.org/r1676234 Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Explicitly handle the case where a MethodExpression is invoked with null or the wrong number of parameters. Rather than failing with

svn commit: r1676232 - in /tomcat/tc8.0.x/trunk: ./ java/org/apache/el/Messages.properties java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java webapps/docs/changel

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 09:49:23 2015 New Revision: 1676232 URL: http://svn.apache.org/r1676232 Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Explicitly handle the case where a MethodExpression is invoked with null or the wrong number of parameters. Rather than failing with

svn commit: r1676231 - in /tomcat/trunk: java/org/apache/el/Messages.properties java/org/apache/el/parser/AstValue.java test/org/apache/el/TestMethodExpressionImpl.java

2015-04-27 Thread markt
Author: markt Date: Mon Apr 27 09:45:12 2015 New Revision: 1676231 URL: http://svn.apache.org/r1676231 Log: Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 Explicitly handle the case where a MethodExpression is invoked with null or the wrong number of parameters. Rather than failing with

[Bug 57855] Invoke MethodExpression with wrong pram count results in ArrayIndexOutOfBoundsException

2015-04-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=57855 --- Comment #1 from Mark Thomas --- I've looked through the EL specification and I don't see the expected behaviour defined for any of these cases. I don't think MethodNotFoundException is the right exception in this case since the method has