Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Commit

Permalink
Remove redundant output of error message from
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerjung committed Jul 16, 2012
1 parent cfc4a72 commit f79caae
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 138 deletions.
2 changes: 1 addition & 1 deletion java/org/apache/catalina/valves/ErrorReportValve.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ protected void report(Request request, Response response,
// Do nothing if there is no report for the specified status code
String report = null;
try {
report = sm.getString("http." + statusCode, message);
report = sm.getString("http." + statusCode);
} catch (Throwable t) {
ExceptionUtils.handleThrowable(t);
}
Expand Down
110 changes: 55 additions & 55 deletions java/org/apache/catalina/valves/LocalStrings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -55,59 +55,59 @@ stuckThreadDetectionValve.notifyStuckThreadCompleted=Thread "{0}" (id={3}) was p
# http://www.iana.org/assignments/http-status-codes/http-status-codes.xml
# The list might be kept in sync with the one in
# org/apache/tomcat/util/http/res/LocalStrings.properties.
http.100=The client may continue ({0}).
http.101=The server is switching protocols according to the "Upgrade" header ({0}).
http.102=The server has accepted the complete request, but has not yet completed it ({0}).
http.201=The request succeeded and a new resource ({0}) has been created on the server.
http.202=This request was accepted for processing, but has not been completed ({0}).
http.203=The meta information presented by the client did not originate from the server ({0}).
http.204=The request succeeded but there is no information to return ({0}).
http.205=The client should reset the document view which caused this request to be sent ({0}).
http.206=The server has fulfilled a partial GET request for this resource ({0}).
http.207=Multiple status values have been returned ({0}).
http.208=This collection binding was already reported ({0}).
http.226=The response is a representation of the result of one or more instance-manipulations applied to the current instance ({0}).
http.300=The requested resource ({0}) corresponds to any one of a set of representations, each with its own specific location.
http.301=The requested resource ({0}) has moved permanently to a new location.
http.302=The requested resource ({0}) has moved temporarily to a new location.
http.303=The response to this request can be found under a different URI ({0}).
http.304=The requested resource ({0}) is available and has not been modified.
http.305=The requested resource ({0}) must be accessed through the proxy given by the "Location" header.
http.307=The requested resource resides temporarily under a different URI ({0}).
http.308=The target resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs ({0}).
http.400=The request sent by the client was syntactically incorrect ({0}).
http.401=This request requires HTTP authentication ({0}).
http.402=Payment is required for access to this resource ({0}).
http.403=Access to the specified resource ({0}) has been forbidden.
http.404=The requested resource ({0}) is not available.
http.405=The specified HTTP method is not allowed for the requested resource ({0}).
http.406=The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers ({0}).
http.407=The client must first authenticate itself with the proxy ({0}).
http.408=The client did not produce a request within the time that the server was prepared to wait ({0}).
http.409=The request could not be completed due to a conflict with the current state of the resource ({0}).
http.410=The requested resource ({0}) is no longer available, and no forwarding address is known.
http.411=This request cannot be handled without a defined content length ({0}).
http.412=A specified precondition has failed for this request ({0}).
http.100=The client may continue.
http.101=The server is switching protocols according to the "Upgrade" header.
http.102=The server has accepted the complete request, but has not yet completed it.
http.201=The request succeeded and a new resource has been created on the server.
http.202=This request was accepted for processing, but has not been completed.
http.203=The meta information presented by the client did not originate from the server.
http.204=The request succeeded but there is no information to return.
http.205=The client should reset the document view which caused this request to be sent.
http.206=The server has fulfilled a partial GET request for this resource.
http.207=Multiple status values have been returned.
http.208=This collection binding was already reported.
http.226=The response is a representation of the result of one or more instance-manipulations applied to the current instance.
http.300=The requested resource corresponds to any one of a set of representations, each with its own specific location.
http.301=The requested resource has moved permanently to a new location.
http.302=The requested resource has moved temporarily to a new location.
http.303=The response to this request can be found under a different URI.
http.304=The requested resource is available and has not been modified.
http.305=The requested resource must be accessed through the proxy given by the "Location" header.
http.307=The requested resource resides temporarily under a different URI.
http.308=The target resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs.
http.400=The request sent by the client was syntactically incorrect.
http.401=This request requires HTTP authentication.
http.402=Payment is required for access to this resource.
http.403=Access to the specified resource has been forbidden.
http.404=The requested resource is not available.
http.405=The specified HTTP method is not allowed for the requested resource.
http.406=The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers.
http.407=The client must first authenticate itself with the proxy.
http.408=The client did not produce a request within the time that the server was prepared to wait.
http.409=The request could not be completed due to a conflict with the current state of the resource.
http.410=The requested resource is no longer available, and no forwarding address is known.
http.411=This request cannot be handled without a defined content length.
http.412=A specified precondition has failed for this request.
http.413=The request entity is larger than the server is willing or able to process.
http.414=The server refused this request because the request URI was too long ({0}).
http.415=The server refused this request because the request entity is in a format not supported by the requested resource for the requested method ({0}).
http.416=The requested byte range cannot be satisfied ({0}).
http.417=The expectation given in the "Expect" request header ({0}) could not be fulfilled.
http.422=The server understood the content type and syntax of the request but was unable to process the contained instructions ({0}).
http.423=The source or destination resource of a method is locked ({0}).
http.424=The method could not be performed on the resource because the requested action depended on another action and that action failed ({0}).
http.426=The request can only be completed after a protocol upgrade ({0}).
http.428=The request is required to be conditional ({0}).
http.429=The user has sent too many requests in a given amount of time ({0}).
http.431=The server refused this request because the request header fields are too large ({0}).
http.500=The server encountered an internal error ({0}) that prevented it from fulfilling this request.
http.501=The server does not support the functionality needed to fulfill this request ({0}).
http.502=This server received an invalid response from a server it consulted when acting as a proxy or gateway ({0}).
http.503=The requested service ({0}) is not currently available.
http.504=The server received a timeout from an upstream server while acting as a gateway or proxy ({0}).
http.505=The server does not support the requested HTTP protocol version ({0}).
http.506=The chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process ({0}).
http.507=The resource does not have sufficient space to record the state of the resource after execution of this method ({0}).
http.508=The server terminated an operation because it encountered an infinite loop ({0}).
http.510=The policy for accessing the resource has not been met in the request ({0}).
http.511=The client needs to authenticate to gain network access ({0}).
http.414=The server refused this request because the request URI was too long.
http.415=The server refused this request because the request entity is in a format not supported by the requested resource for the requested method.
http.416=The requested byte range cannot be satisfied.
http.417=The expectation given in the "Expect" request header could not be fulfilled.
http.422=The server understood the content type and syntax of the request but was unable to process the contained instructions.
http.423=The source or destination resource of a method is locked.
http.424=The method could not be performed on the resource because the requested action depended on another action and that action failed.
http.426=The request can only be completed after a protocol upgrade.
http.428=The request is required to be conditional.
http.429=The user has sent too many requests in a given amount of time.
http.431=The server refused this request because the request header fields are too large.
http.500=The server encountered an internal error that prevented it from fulfilling this request.
http.501=The server does not support the functionality needed to fulfill this request.
http.502=This server received an invalid response from a server it consulted when acting as a proxy or gateway.
http.503=The requested service is not currently available.
http.504=The server received a timeout from an upstream server while acting as a gateway or proxy.
http.505=The server does not support the requested HTTP protocol version.
http.506=The chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.
http.507=The resource does not have sufficient space to record the state of the resource after execution of this method.
http.508=The server terminated an operation because it encountered an infinite loop.
http.510=The policy for accessing the resource has not been met in the request.
http.511=The client needs to authenticate to gain network access.
82 changes: 41 additions & 41 deletions java/org/apache/catalina/valves/LocalStrings_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,45 +35,45 @@ sslValve.invalidProvider = El proveedor de SSL especificado en el conecto asocia
stuckThreadDetectionValve.notifyStuckThreadDetected = El hilo "{0}" (id={6}) ha estado activo durante {1} miilisegundos (desde {2}) para servir el mismo requerimiento para {4} y puede estar atascado (el umbral configurado para este StuckThreadDetectionValve es de {5} segundos). Hay {3} hilo(s) en total que son monitorizados por esta V\u00E1lvula y pueden estar atascados.
stuckThreadDetectionValve.notifyStuckThreadCompleted = El hilo "{0}" (id={3}), que previamente se report\u00F3 como atascado, se ha completado. Estuvo activo por aproximadamente {1} milisegundos. {2, choice,0\#|0< Hay a\u00FAn {2} hilo(s) que son monitorizados por esta V\u00E1lvula y pueden estar atascados.}
# HTTP status reports
http.100 = El cliente puede continuar ({0}).
http.101 = El servidor est\u00E1 conmutando protocolos con arreglo a la cabecera "Upgrade" ({0}).
http.201 = El requerimiento tuvo \u00E9xito y un nuevo recurso ({0}) ha sido creado en el servidor.
http.202 = Este requerimiento ha sido aceptado para ser procesado, pero no ha sido completado ({0}).
http.203 = La informaci\u00F3n meta presentada por el cliente no se origin\u00F3 desde el servidor ({0}).
http.204 = El requerimiento tuvo \u00E9xito pero no hay informaci\u00F3n que devolver ({0}).
http.205 = El cliente no deber\u00EDa de limpiar la vista del documento que caus\u00F3 que este requerimiento fuera enviado ({0}).
http.206 = El servidor ha rellenado paci\u00E1lmente un requerimiento GET para este recurso ({0}).
http.207 = Se han devuelto valores m\u00FAltiples de estado ({0}).
http.300 = El recurso requerido ({0}) corresponde a una cualquiera de un conjunto de representaciones, cada una con su propia localizaci\u00F3n espec\u00EDfica.
http.301 = El recurso requerido ({0}) ha sido movido perman\u00E9ntemente a una nueva localizaci\u00F3n.
http.302 = El recurso requerido ({0}) ha sido movido tempor\u00E1lmente a una nueva localizaci\u00F3n.
http.303 = La respuesta a este requerimiento se puede hallar bajo una URI diferente ({0}).
http.304 = El recurso requerido ({0}) est\u00E1 disponible y no ha sido modificado.
http.305 = El recurso requerido ({0}) debe de ser accedido a trav\u00E9s del apoderado (proxy) dado mediante la cabecera "Location".
http.400 = El requerimiento enviado por el cliente era sint\u00E1cticamente incorrecto ({0}).
http.401 = Este requerimiento requiere autenticaci\u00F3n HTTP ({0}).
http.402 = Se requiere pago para acceder a este recurso ({0}).
http.403 = El acceso al recurso especificado ({0}) ha sido prohibido.
http.404 = El recurso requerido ({0}) no est\u00E1 disponible.
http.405 = El m\u00E9todo HTTP especificado no est\u00E1 permitido para el recurso requerido ({0}).
http.406 = El recurso identificado por este requerimiento s\u00F3lo es capaz de generar respuestas con caracter\u00EDsticas no aceptables con arreglo a las cabeceras "accept" de requerimiento ({0}).
http.407 = El cliente debe de ser primero autenticado en el apoderado ({0}).
http.408 = El cliente no produjo un requerimiento dentro del tiempo en que el servidor estaba preparado esperando ({0}).
http.409 = El requerimiento no pudo ser completado debido a un conflicto con el estado actual del recurso ({0}).
http.410 = El recurso requerido ({0}) ya no est\u00E1 disponible y no se conoce direcci\u00F3n de reenv\u00EDo.
http.411 = Este requerimiento no puede ser manejado sin un tama\u00F1o definido de contenido ({0}).
http.412 = Una precondici\u00F3n especificada ha fallado para este requerimiento ({0}).
http.100 = El cliente puede continuar.
http.101 = El servidor est\u00E1 conmutando protocolos con arreglo a la cabecera "Upgrade".
http.201 = El requerimiento tuvo \u00E9xito y un nuevo recurso ha sido creado en el servidor.
http.202 = Este requerimiento ha sido aceptado para ser procesado, pero no ha sido completado.
http.203 = La informaci\u00F3n meta presentada por el cliente no se origin\u00F3 desde el servidor.
http.204 = El requerimiento tuvo \u00E9xito pero no hay informaci\u00F3n que devolver.
http.205 = El cliente no deber\u00EDa de limpiar la vista del documento que caus\u00F3 que este requerimiento fuera enviado.
http.206 = El servidor ha rellenado paci\u00E1lmente un requerimiento GET para este recurso.
http.207 = Se han devuelto valores m\u00FAltiples de estado.
http.300 = El recurso requerido corresponde a una cualquiera de un conjunto de representaciones, cada una con su propia localizaci\u00F3n espec\u00EDfica.
http.301 = El recurso requerido ha sido movido perman\u00E9ntemente a una nueva localizaci\u00F3n.
http.302 = El recurso requerido ha sido movido tempor\u00E1lmente a una nueva localizaci\u00F3n.
http.303 = La respuesta a este requerimiento se puede hallar bajo una URI diferente.
http.304 = El recurso requerido est\u00E1 disponible y no ha sido modificado.
http.305 = El recurso requerido debe de ser accedido a trav\u00E9s del apoderado (proxy) dado mediante la cabecera "Location".
http.400 = El requerimiento enviado por el cliente era sint\u00E1cticamente incorrecto.
http.401 = Este requerimiento requiere autenticaci\u00F3n HTTP.
http.402 = Se requiere pago para acceder a este recurso.
http.403 = El acceso al recurso especificado ha sido prohibido.
http.404 = El recurso requerido no est\u00E1 disponible.
http.405 = El m\u00E9todo HTTP especificado no est\u00E1 permitido para el recurso requerido.
http.406 = El recurso identificado por este requerimiento s\u00F3lo es capaz de generar respuestas con caracter\u00EDsticas no aceptables con arreglo a las cabeceras "accept" de requerimiento.
http.407 = El cliente debe de ser primero autenticado en el apoderado.
http.408 = El cliente no produjo un requerimiento dentro del tiempo en que el servidor estaba preparado esperando.
http.409 = El requerimiento no pudo ser completado debido a un conflicto con el estado actual del recurso.
http.410 = El recurso requerido ya no est\u00E1 disponible y no se conoce direcci\u00F3n de reenv\u00EDo.
http.411 = Este requerimiento no puede ser manejado sin un tama\u00F1o definido de contenido.
http.412 = Una precondici\u00F3n especificada ha fallado para este requerimiento.
http.413 = La entidad de requerimiento es mayor de lo que el servidor quiere o puede procesar.
http.414 = El servidor rechaz\u00F3 este requerimiento porque la URI requerida era demasiado larga ({0}).
http.415 = El servidor rechaz\u00F3 este requerimiento porque la entidad requerida se encuentra en un formato no soportado por el recurso requerido para el m\u00E9todo requerido ({0}).
http.416 = El rango de byte requerido no puede ser satisfecho ({0}).
http.417 = Lo que se espera dado por la cabecera "Expect" de requerimiento ({0}) no pudo ser completado.
http.422 = El servidor entendi\u00F3 el tipo de contenido y la sint\u00E1xis del requerimiento pero no pudo procesar las instrucciones contenidas ({0}).
http.423 = La fuente o recurso de destino de un m\u00E9todo est\u00E1 bloqueada ({0}).
http.500 = El servidor encontr\u00F3 un error interno ({0}) que hizo que no pudiera rellenar este requerimiento.
http.501 = El servidor no soporta la funcionalidad necesaria para rellenar este requerimiento ({0}).
http.502 = Este servidor recibi\u00F3 una respuesta inv\u00E1lida desde un servidor que consult\u00F3 cuando actuaba como apoderado o pasarela ({0}).
http.503 = El servicio requerido ({0}) no est\u00E1 disponible en este momento.
http.504 = El servidor recibi\u00F3 un Tiempo Agotado desde un servidor superior cuando actuaba como pasarela o apoderado ({0}).
http.505 = El servidor no soporta la versi\u00F3n de protocolo HTTP requerida ({0}).
http.507 = El recurso no tiene espacio suficiente para registrar el estado del recurso tras la ejecuci\u00F3n de este m\u00E9todo ({0}).
http.414 = El servidor rechaz\u00F3 este requerimiento porque la URI requerida era demasiado larga.
http.415 = El servidor rechaz\u00F3 este requerimiento porque la entidad requerida se encuentra en un formato no soportado por el recurso requerido para el m\u00E9todo requerido.
http.416 = El rango de byte requerido no puede ser satisfecho.
http.417 = Lo que se espera dado por la cabecera "Expect" de requerimiento no pudo ser completado.
http.422 = El servidor entendi\u00F3 el tipo de contenido y la sint\u00E1xis del requerimiento pero no pudo procesar las instrucciones contenidas.
http.423 = La fuente o recurso de destino de un m\u00E9todo est\u00E1 bloqueada.
http.500 = El servidor encontr\u00F3 un error interno que hizo que no pudiera rellenar este requerimiento.
http.501 = El servidor no soporta la funcionalidad necesaria para rellenar este requerimiento.
http.502 = Este servidor recibi\u00F3 una respuesta inv\u00E1lida desde un servidor que consult\u00F3 cuando actuaba como apoderado o pasarela.
http.503 = El servicio requerido no est\u00E1 disponible en este momento.
http.504 = El servidor recibi\u00F3 un Tiempo Agotado desde un servidor superior cuando actuaba como pasarela o apoderado.
http.505 = El servidor no soporta la versi\u00F3n de protocolo HTTP requerida.
http.507 = El recurso no tiene espacio suficiente para registrar el estado del recurso tras la ejecuci\u00F3n de este m\u00E9todo.
Loading

0 comments on commit f79caae

Please sign in to comment.