Issue 2004: commit-message-length-validator plugin causes all requests to return 404
Status:  Duplicate
Merged:  issue 1966
Owner: ----
Closed:  Jul 2013
Reported by dan...@gmail.com, Jul 9, 2013
Affected Version: 2.6.1

What steps will reproduce the problem?
1. upgrade from 2.5.3 to 2.6.1 (or probably just do a fresh install of 2.6.1)
2. say yes when prompted to install the commit-message-length-validator plugin

What is the expected output? What do you see instead?
All application URLs return 404, except for web resources such as /Documentation.

Please provide any additional information below.
The Gerrit instance is served at / by a lighttpd reverse proxy, so I have the following in gerrit.config:

[httpd]
        listenUrl = proxy-http://*:8080/

I'm guessing something goes wrong with the URL matching for the commit-message-length-validator plugin when used with this configuration, and all requests are being sent to that plugin (which doesn't actually serve anything).

Removing commit-message-length-validator.jar fixes the problem.
Jul 10, 2013
Project Member #1 david.pu...@sonymobile.com
Are you using tomcat?

If so this might be the same as  issue 1966 .

Jul 10, 2013
#2 dan...@gmail.com
Yes I'm using Tomcat, and it does indeed sound like  issue 1966 .

I never noticed  issue 1966  when I was searching because that issue does not mention "404" or "not found" which is the actual visible symptom of the problem...
Jul 11, 2013
Project Member #3 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 1966