[Bug 64017] Apache http server 2.4.41 - Issue with transfer-encoding

2020-10-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64017

--- Comment #11 from msms...@gmail.com ---
Hi, this ticket has been resolved as INVALID because it's an httpd issue, but
there's no related Apache httpd ticket where I could follow up (or I don't see
it).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 64862] New: Improve LibreSSL support

2020-10-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64862

Bug ID: 64862
   Summary: Improve LibreSSL support
   Product: Tomcat Native
   Version: 1.2.23
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Library
  Assignee: dev@tomcat.apache.org
  Reporter: micha...@apache.org
  Target Milestone: ---

Some time ago I started analyzing ifdefs and looking up the OpenBSD repo what
version of LibreSSL supports that particular feature.
A non-exhaustive list of my findings:
> sslinfo.c:
> #if defined(LIBRESSL_VERSION_NUMBER)
> value = tcn_new_string(e, "UNKNOWN");
> #else
> nid = X509_get_signature_nid(xs);
> if (nid == NID_undef)
> value = tcn_new_string(e, "UNKNOWN");
> else
> value = tcn_new_string(e, OBJ_nid2ln(nid));
> #endif
> $ git tag --contains e1dc6f25d8
> OPENBSD_6_3_BASE
> libressl-v2.7.0
> 
> #if defined(LIBRESSL_VERSION_NUMBER)
> value = tcn_new_string(e, "UNKNOWN");
> #else
> nid = X509_get_signature_nid(xs);
> if (nid == NID_undef)
> value = tcn_new_string(e, "UNKNOWN");
> else
> value = tcn_new_string(e, OBJ_nid2ln(nid));
> #endif
> 
> $ git tag --contains 2191533b47
> OPENBSD_6_3_BASE
> libressl-v2.7.0
> 
> ssl.c:
> #if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
> /* OpenSSL Pre-1.1.0 compatibility */
> /* Taken from OpenSSL 1.1.0 snapshot 20160410 */
> int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
> {
> /* q is optional */
> if (p == NULL || g == NULL)
> return 0;
> BN_free(dh->p);
> BN_free(dh->q);
> BN_free(dh->g);
> dh->p = p;
> dh->q = q;
> dh->g = g;
> 
> if (q != NULL) {
> dh->length = BN_num_bits(q);
> }
> 
> return 1;
> }
> #endif
> 
> $ git tag --contains 830713debd
> OPENBSD_6_3_BASE
> libressl-v2.7.0
> 
> 
> #if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
> static BIO_METHOD jbs_methods = {
> BIO_TYPE_FILE,
> "Java Callback",
> jbs_write,
> jbs_read,
> jbs_puts,
> jbs_gets,
> jbs_ctrl,
> jbs_new,
> jbs_free,
> NULL
> };
> #else
> static BIO_METHOD *jbs_methods = NULL;
> 
> static void init_bio_methods(void)
> {
> jbs_methods = BIO_meth_new(BIO_TYPE_FILE, "Java Callback");
> BIO_meth_set_write(jbs_methods, &jbs_write);
> BIO_meth_set_read(jbs_methods, &jbs_read);
> BIO_meth_set_puts(jbs_methods, &jbs_puts);
> BIO_meth_set_gets(jbs_methods, &jbs_gets);
> BIO_meth_set_ctrl(jbs_methods, &jbs_ctrl);
> BIO_meth_set_create(jbs_methods, &jbs_new);
> BIO_meth_set_destroy(jbs_methods, &jbs_free);
> }
> 
> static void free_bio_methods(void)
> {
> BIO_meth_free(jbs_methods);
> }
> #endif
> #if OPENSSL_VERSION_NUMBER < 0x1010L || defined(LIBRESSL_VERSION_NUMBER)
> return(&jbs_methods);
> #else
> return jbs_methods;
> #endif
> 
> 
> 6e0e12de58
> b08b825ace
>  
> 
> OPENBSD_6_3_BASE
> libressl-v2.7.0

This is intended to be an umbrella ticket to collect/coordinate all ifdefs to
bring it on par with OpenSSL. Maybe others want to pick up the work I have done
so far.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] 01/04: Import updates to French translations from poeditor.com

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 947104843b04a711bd0c406f47d676f809381edb
Author: Mark Thomas 
AuthorDate: Fri Oct 30 09:47:30 2020 +

Import updates to French translations from poeditor.com
---
 .../apache/catalina/authenticator/jaspic/LocalStrings_fr.properties  | 2 ++
 java/org/apache/catalina/loader/LocalStrings_fr.properties   | 1 +
 java/org/apache/catalina/session/LocalStrings_fr.properties  | 1 +
 java/org/apache/catalina/startup/LocalStrings_fr.properties  | 1 +
 java/org/apache/coyote/http2/LocalStrings_fr.properties  | 1 +
 webapps/docs/changelog.xml   | 5 +
 6 files changed, 11 insertions(+)

diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
index 53fac21..0b3335d 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
@@ -19,7 +19,9 @@ authConfigFactoryImpl.registerInstance=Enregistrement de 
l''instance de type [{0
 authConfigFactoryImpl.zeroLengthAppContext=Un nom de contexte vide n'est pas 
valide
 authConfigFactoryImpl.zeroLengthMessageLayer=Un message vide de nom de couche 
est invalide
 
+callbackHandlerImpl.containerMissing=Le rappel (callback) JASPIC de type [{0}] 
a un conteneur manquant et a été ignoré
 callbackHandlerImpl.jaspicCallbackMissing=Le rappel (callback) JASPIC de type 
[{0}] reçu n''est pas supporté et a été ignoré
+callbackHandlerImpl.realmMissing=Le rappel (callback) JASPIC de type [{0}] 
reçu n''a pas de royaume (realm) et a été ignoré
 
 jaspicAuthenticator.authenticate=Authentification de la requête pour [{0}] 
avec JASPIC
 
diff --git a/java/org/apache/catalina/loader/LocalStrings_fr.properties 
b/java/org/apache/catalina/loader/LocalStrings_fr.properties
index e23c9f2..7f29901 100644
--- a/java/org/apache/catalina/loader/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/loader/LocalStrings_fr.properties
@@ -13,6 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+webappClassLoader.addExportsJavaIo=Lorsque Java 9 ou ultérieur est utilisé, 
"--add-opens=java.base/java.io={0}" doit être ajouté aux arguments de la ligne 
de commande de la JVM pour activer la protection contre les fuites de mémoire 
du cache de ObjectStream; cet avertissement peut aussi être supprimé en 
désactivant cette protection
 webappClassLoader.addExportsRmi=Quand Java 9 est utilisé, il faut utiliser 
"--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED" sur la ligne de commande 
de la JVM pour activer la détection de fuites de mémoire des cibles RMI ; sinon 
cet avertissement peut être supprimé en désactivant cette détection
 webappClassLoader.addExportsThreadLocal=Quand Java 9 est utilisé, il faut 
utiliser "--add-opens=java.base/java.lang=ALL-UNNAMED" sur la ligne de commande 
de la JVM pour activer la détection de fuites de mémoire des ThreadLocal ; 
sinon cet avertissement peut être supprimé en désactivant cette détection
 webappClassLoader.addPermissionNoCanonicalFile=Impossible d’obtenir le chemin 
de fichier canonique pour l''URL [{0}]
diff --git a/java/org/apache/catalina/session/LocalStrings_fr.properties 
b/java/org/apache/catalina/session/LocalStrings_fr.properties
index a4a88c3..efdd83d 100644
--- a/java/org/apache/catalina/session/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/session/LocalStrings_fr.properties
@@ -20,6 +20,7 @@ JDBCStore.checkConnectionDBReOpenFail=La tentative de 
réouverture de la base de
 JDBCStore.checkConnectionSQLException=Une exception SQL s''est produite [{0}]
 JDBCStore.close=Exception lors de la fermeture de la connection vers la base 
de donnée [{0}]
 JDBCStore.commitSQLException=Une SQLException a été retournée lors du commit 
de la connection avant sa fermeture
+JDBCStore.connectError=Impossible de se connecter à la base de données [{0}]
 JDBCStore.loading=Chargement de la Session [{0}] depuis la base de données 
[{1}]
 JDBCStore.missingDataSourceName=Aucun nom JNDI valide n'a été donné.
 JDBCStore.removing=Retrait de la Session [{0}] de la base de données [{1}]
diff --git a/java/org/apache/catalina/startup/LocalStrings_fr.properties 
b/java/org/apache/catalina/startup/LocalStrings_fr.properties
index 6b7760f..6d48713 100644
--- a/java/org/apache/catalina/startup/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_fr.properties
@@ -70,6 +70,7 @@ contextConfig.jspFile.warning=WARNING : Le fichier JSP [{0}] 
doit commencer par
 contextConfig.missingRealm=Aucun royaume (realm) n'a été configuré pour 
réaliser l'authentification
 contextConfig.noAntiLocking=La valeur [{0}] configurée pour java.io.tmpdir

[tomcat] branch master updated (7444f1e -> 5a220cf)

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git.


from 7444f1e  Avoid most of the thread pool use during NIO2 socket accept
 new 9471048  Import updates to French translations from poeditor.com
 new 917f4f8  Import updates to Korean translations from poeditor.com
 new a059d48  Fix alignment of version logger listener output.
 new 5a220cf  Import updated Russian translations from poeditor.com

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../jaspic/LocalStrings_fr.properties  |  2 +
 .../jaspic/LocalStrings_ko.properties  |  2 +
 .../jaspic/LocalStrings_ru.properties  |  2 +
 .../catalina/core/LocalStrings_ru.properties   |  7 ++
 .../{loader => ha/tcp}/LocalStrings_ru.properties  |  2 +-
 .../catalina/loader/LocalStrings_fr.properties |  1 +
 .../catalina/loader/LocalStrings_ko.properties |  1 +
 .../catalina/loader/LocalStrings_ru.properties |  1 +
 .../catalina/realm/LocalStrings_ru.properties  |  1 +
 .../catalina/session/LocalStrings_fr.properties|  1 +
 .../catalina/session/LocalStrings_ko.properties|  1 +
 .../{loader => session}/LocalStrings_ru.properties |  2 +-
 .../catalina/startup/LocalStrings_de.properties| 10 ++-
 .../catalina/startup/LocalStrings_es.properties| 21 --
 .../catalina/startup/LocalStrings_fr.properties| 29 
 .../catalina/startup/LocalStrings_ko.properties| 29 
 .../catalina/startup/LocalStrings_ru.properties|  7 ++
 .../catalina/startup/LocalStrings_zh_CN.properties |  8 +--
 .../group/interceptors/LocalStrings_ru.properties  |  2 +
 .../catalina/util/LocalStrings_ru.properties   |  2 +
 .../catalina/valves/LocalStrings_ko.properties |  2 +
 .../catalina/valves/LocalStrings_ru.properties |  1 +
 java/org/apache/coyote/LocalStrings_ko.properties  |  2 +
 .../coyote/http11/LocalStrings_ru.properties   |  1 +
 .../http11/filters}/LocalStrings_ru.properties |  2 +-
 .../apache/coyote/http2/LocalStrings_fr.properties |  1 +
 .../apache/coyote/http2/LocalStrings_ko.properties |  3 +
 .../jasper/resources/LocalStrings_ru.properties|  5 ++
 .../apache/tomcat/util/LocalStrings_ru.properties  |  1 +
 .../util/digester}/LocalStrings_ru.properties  |  2 +-
 .../tomcat/util/net/LocalStrings_ko.properties |  1 +
 .../tomcat/util/net/LocalStrings_ru.properties |  3 +
 .../util/net/openssl/LocalStrings_ru.properties|  2 +
 .../tomcat/websocket/LocalStrings_ko.properties|  5 ++
 .../apache/tomcat/util/res/TestStringManager.java  | 80 ++
 webapps/docs/changelog.xml | 11 +++
 36 files changed, 205 insertions(+), 48 deletions(-)
 copy java/org/apache/catalina/{loader => ha/tcp}/LocalStrings_ru.properties 
(88%)
 copy java/org/apache/catalina/{loader => session}/LocalStrings_ru.properties 
(88%)
 copy java/org/apache/{catalina/authenticator/jaspic => 
coyote/http11/filters}/LocalStrings_ru.properties (78%)
 copy java/org/apache/{catalina/connector => 
tomcat/util/digester}/LocalStrings_ru.properties (86%)


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] 04/04: Import updated Russian translations from poeditor.com

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 5a220cf4ed93c5feede569e086385e4e2ebb81c5
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:24:11 2020 +

Import updated Russian translations from poeditor.com

Provided by Azat
---
 .../catalina/authenticator/jaspic/LocalStrings_ru.properties   | 2 ++
 java/org/apache/catalina/core/LocalStrings_ru.properties   | 7 +++
 .../{tomcat/util => catalina/ha/tcp}/LocalStrings_ru.properties| 2 +-
 java/org/apache/catalina/loader/LocalStrings_ru.properties | 1 +
 java/org/apache/catalina/realm/LocalStrings_ru.properties  | 1 +
 .../{tomcat/util => catalina/session}/LocalStrings_ru.properties   | 2 +-
 .../catalina/tribes/group/interceptors/LocalStrings_ru.properties  | 2 ++
 java/org/apache/catalina/util/LocalStrings_ru.properties   | 2 ++
 java/org/apache/catalina/valves/LocalStrings_ru.properties | 1 +
 java/org/apache/coyote/http11/LocalStrings_ru.properties   | 1 +
 .../jaspic => coyote/http11/filters}/LocalStrings_ru.properties| 2 +-
 java/org/apache/jasper/resources/LocalStrings_ru.properties| 5 +
 java/org/apache/tomcat/util/LocalStrings_ru.properties | 1 +
 .../apache/tomcat/util/{ => digester}/LocalStrings_ru.properties   | 2 +-
 java/org/apache/tomcat/util/net/LocalStrings_ru.properties | 3 +++
 java/org/apache/tomcat/util/net/openssl/LocalStrings_ru.properties | 2 ++
 webapps/docs/changelog.xml | 3 +++
 17 files changed, 35 insertions(+), 4 deletions(-)

diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
index 879f293..af9a981 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
@@ -13,4 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+authConfigFactoryImpl.zeroLengthAppContext=Название контекста приложения 
нулевой длины является недействительным
+
 persistentProviderRegistrations.existsDeleteFail=Временный файл [{0}] уже 
существует и не может быть удалён
diff --git a/java/org/apache/catalina/core/LocalStrings_ru.properties 
b/java/org/apache/catalina/core/LocalStrings_ru.properties
index 6759ce9..337fef3 100644
--- a/java/org/apache/catalina/core/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/core/LocalStrings_ru.properties
@@ -15,8 +15,15 @@
 
 applicationContext.addJspFile.iae=Файл JSP [{0}] содержит ошибки
 applicationContext.addListener.iae.cnfe=Невозможно создать экземпляр типа [{0}]
+applicationContext.addListener.iae.wrongType=Указанный тип[{0}] не является 
одним из ожидаемых типов слушателей
 applicationContext.setAttribute.namenull=Имя не может быть пустым
 
+aprListener.initializingFIPS=Инициализируется режим FIPS...
+
+filterChain.filter=При выполнении фильтра выброшено исключение
+
+standardContext.securityConstraint.mixHttpMethod=Запрещено смешивать 
 и  в одной и той же коллекции веб-ресурсов
+
 standardWrapper.allocate=Ошибка при выделении экземпляра сервлета
 standardWrapper.allocateException=Ошибка выделения для сервлета [{0}]
 standardWrapper.deallocateException=Ошибка освобождения для сервлета [{0}]
diff --git a/java/org/apache/tomcat/util/LocalStrings_ru.properties 
b/java/org/apache/catalina/ha/tcp/LocalStrings_ru.properties
similarity index 88%
copy from java/org/apache/tomcat/util/LocalStrings_ru.properties
copy to java/org/apache/catalina/ha/tcp/LocalStrings_ru.properties
index 535f393..08673fa 100644
--- a/java/org/apache/tomcat/util/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/ha/tcp/LocalStrings_ru.properties
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-diagnostics.threadDumpTitle=Сброс полной нити
+ReplicationValve.filter.failure=Не возможно скомпилировать фильтрr=[{0}]
diff --git a/java/org/apache/catalina/loader/LocalStrings_ru.properties 
b/java/org/apache/catalina/loader/LocalStrings_ru.properties
index a851ce0..c3f8d0e 100644
--- a/java/org/apache/catalina/loader/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/loader/LocalStrings_ru.properties
@@ -14,3 +14,4 @@
 # limitations under the License.
 
 webappClassLoader.checkThreadLocalsForLeaks.unknown=Неизвестно
+webappClassLoader.readError=Ошибка чтения ресурса: Не возможно загрузить [{0}].
diff --git a/java/org/apache/catalina/realm/LocalStrings_ru.properties 
b/java/org/apache/catalina/realm/LocalStrings_ru.properties
index 7e9601c..140c5b7 100644
--- a/java/org/apache/catalina/realm/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/realm/LocalStrings_ru.properties
@@ -15,4 +15,5 @@
 
 lockOu

[tomcat] 03/04: Fix alignment of version logger listener output.

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit a059d48cd7a592dc25e8957b2fb5fd52bffa2978
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:20:52 2020 +

Fix alignment of version logger listener output.

This time, add a unit test to check the alignment. CJK characters are
assumed to be double width.
---
 .../catalina/startup/LocalStrings_de.properties| 10 ++-
 .../catalina/startup/LocalStrings_es.properties| 21 --
 .../catalina/startup/LocalStrings_fr.properties| 28 
 .../catalina/startup/LocalStrings_ko.properties| 28 
 .../catalina/startup/LocalStrings_ru.properties|  7 ++
 .../catalina/startup/LocalStrings_zh_CN.properties |  8 +--
 .../apache/tomcat/util/res/TestStringManager.java  | 80 ++
 7 files changed, 138 insertions(+), 44 deletions(-)

diff --git a/java/org/apache/catalina/startup/LocalStrings_de.properties 
b/java/org/apache/catalina/startup/LocalStrings_de.properties
index f5539fa..2b7339f 100644
--- a/java/org/apache/catalina/startup/LocalStrings_de.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_de.properties
@@ -41,10 +41,8 @@ userConfig.database=Fehler beim Laden der Benutzer Datenbank.
 userConfig.error=Fehler beim deployen einer Web-Applikation für den Benutzer 
[{0}]
 userConfig.start=UserConfig: Verarbeite START
 
-versionLoggerListener.catalina.base=\n\
-\ CATALINA_BASE: {0}
+versionLoggerListener.catalina.base=CATALINA_BASE: {0}
 versionLoggerListener.catalina.home=CATALINA_HOME: {0}
-versionLoggerListener.os.arch=Architektur:  {0}
-versionLoggerListener.serverInfo.server.version=\n\
-\ Server Version:{0}
-versionLoggerListener.vm.vendor=JVM Hersteller:{0}
+versionLoggerListener.os.arch=Architektur:   {0}
+versionLoggerListener.serverInfo.server.version=Server Version:{0}
+versionLoggerListener.vm.vendor=JVM Hersteller:{0}
diff --git a/java/org/apache/catalina/startup/LocalStrings_es.properties 
b/java/org/apache/catalina/startup/LocalStrings_es.properties
index 486245c..4d38e21 100644
--- a/java/org/apache/catalina/startup/LocalStrings_es.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_es.properties
@@ -98,12 +98,21 @@ userConfig.deploy=Despliegue de la aplicación web para el 
usuario [{0}]
 userConfig.deploying=Desplegando aplicaciones web para el usuario
 userConfig.error=Error durante el despliegue de la aplicación web para el 
usario [{0}]
 userConfig.start="UserConfig": Procesando "START"
-userConfig.stop="UserConfig": Tratamiento del "STOP"
+userConfig.stop="UserConfig": Tratamiento del "STOP":q
 
-versionLoggerListener.os.arch=Arquitectura:  {0}\n
-versionLoggerListener.os.version=Versión de Systema Operativo:  {0}\n
-versionLoggerListener.serverInfo.server.number=Número de versión de servidor:  
   {0}
-versionLoggerListener.serverInfo.server.version=Nombre de la versión del 
servidor:   {0}\n
-versionLoggerListener.vm.vendor=Vededor JVM: {0}
+versionLoggerListener.arg=Command line argument: {0}
+versionLoggerListener.catalina.base=CATALINA_BASE: {0}
+versionLoggerListener.catalina.home=CATALINA_HOME: {0}
+versionLoggerListener.env=Environment variable:  {0} = {1}
+versionLoggerListener.java.home=Java Home: {0}
+versionLoggerListener.os.arch=Arquitectura:  {0}
+versionLoggerListener.os.name=OS Name:   {0}
+versionLoggerListener.os.version=Versión de Systema Operativo:  {0}
+versionLoggerListener.prop=System property:   {0} = {1}
+versionLoggerListener.serverInfo.server.built=Server built:
  {0}
+versionLoggerListener.serverInfo.server.number=Número de versión de servidor:  
   {0}
+versionLoggerListener.serverInfo.server.version=Nombre de la versión del 
servidor: {0}
+versionLoggerListener.vm.vendor =Vededor JVM:   {0}
+versionLoggerListener.vm.version=JVM Version:   {0}
 
 webAnnotationSet.invalidInjection=El método de inyección de anotación no es un 
recurso válido
diff --git a/java/org/apache/catalina/startup/LocalStrings_fr.properties 
b/java/org/apache/catalina/startup/LocalStrings_fr.properties
index 6d48713..ce17686 100644
--- a/java/org/apache/catalina/startup/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_fr.properties
@@ -165,19 +165,19 @@ userConfig.error=Erreur lors du déploiement de 
l''application web pour l''utili
 userConfig.start="UserConfig" : Traitement du "START"
 userConfig.stop="UserConfig" : Traitement du "STOP"
 
-versionLoggerListener.arg=Argument de la ligne de commande : {0}
-versionLoggerListener.catalina.base=CATALINA_BASE : {0}
-versionLoggerListener.catalina.home=CATALIN

[tomcat] 02/04: Import updates to Korean translations from poeditor.com

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 917f4f8fb63dd96c9acdedbe282a53717b5fcd95
Author: Mark Thomas 
AuthorDate: Fri Oct 30 09:50:25 2020 +

Import updates to Korean translations from poeditor.com
---
 .../apache/catalina/authenticator/jaspic/LocalStrings_ko.properties  | 2 ++
 java/org/apache/catalina/loader/LocalStrings_ko.properties   | 1 +
 java/org/apache/catalina/session/LocalStrings_ko.properties  | 1 +
 java/org/apache/catalina/startup/LocalStrings_ko.properties  | 1 +
 java/org/apache/catalina/valves/LocalStrings_ko.properties   | 2 ++
 java/org/apache/coyote/LocalStrings_ko.properties| 2 ++
 java/org/apache/coyote/http2/LocalStrings_ko.properties  | 3 +++
 java/org/apache/tomcat/util/net/LocalStrings_ko.properties   | 1 +
 java/org/apache/tomcat/websocket/LocalStrings_ko.properties  | 5 +
 webapps/docs/changelog.xml   | 3 +++
 10 files changed, 21 insertions(+)

diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
index 10a28dd..01678ec 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
@@ -19,7 +19,9 @@ authConfigFactoryImpl.registerInstance=레이어 [{1}]와(과) 애플리케이
 authConfigFactoryImpl.zeroLengthAppContext=애플리케이션 컨텍스트 이름의 길이가 0으로, 이는 유효하지 
않습니다.
 authConfigFactoryImpl.zeroLengthMessageLayer=길이가 0인 메시지 레이어 이름은 유효하지 않습니다.
 
+callbackHandlerImpl.containerMissing=타입이 [{0}]인 JASPIC 콜백을 위한 컨테이너가 존재하지 않아 
무시됩니다.
 callbackHandlerImpl.jaspicCallbackMissing=타입이 [{0}]인 지원되지 않는 JASPIC 콜백을 받았는데, 
이는 무시됩니다.
+callbackHandlerImpl.realmMissing=컨테이너 [{1}]에 타입이 [{0}]인 JASPIC 콜백을 위한 Realm이 
존재하지 않아 무시됩니다.
 
 jaspicAuthenticator.authenticate=[{0}]을(를) 위한 요청을 JASPIC를 통하여 인증합니다.
 
diff --git a/java/org/apache/catalina/loader/LocalStrings_ko.properties 
b/java/org/apache/catalina/loader/LocalStrings_ko.properties
index 2f4bce7..d6c4b62 100644
--- a/java/org/apache/catalina/loader/LocalStrings_ko.properties
+++ b/java/org/apache/catalina/loader/LocalStrings_ko.properties
@@ -13,6 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+webappClassLoader.addExportsJavaIo=Java 9 또는 이후 버전을 사용할 때에는, 
"--add-opens=java.base/java.io={0}" 을(를) JVM 명령행 아규먼트들에 추가해서, ObjectStream 캐시 
메모리 릭 방지 옵션을 활성화할 필요가 있습니다. 또는 원하시는 경우, ObjectStream 클래스 캐시 메모리 릭 방지 옵션을 비활성화해서 
이 경고 메시지를 없앨 수도 있습니다.
 webappClassLoader.addExportsRmi=Java 9에서 실행하면서 RMI Target 메모리 누수 탐지를 사용 가능하게 
하려면, "--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"를 JVM 명령 행 아규먼트에 추가해야 
합니다. 또는, RMI Target 메모리 누수 탐지를 사용불능 상태로 설정함으로써, 이 경고를 없앨 수도 있습니다.
 webappClassLoader.addExportsThreadLocal=Java 9 환경에서 실행할 때에는, ThreadLocal 메모리 
누수 탐지를 위하여, "--add-opens=java.base/java.lang=ALL-UNNAMED"를 JVM 명령 행 아규먼트들에 추가해야 
합니다. 또는, ThreadLocal 메모리 누수 탐지를 사용불능 상태로 설정함으로써, 이 경고 메시지를 없앨 수도 있습니다.
 webappClassLoader.addPermissionNoCanonicalFile=URL [{0}](으)로부터 canonical 파일 
경로를 얻을 수 없습니다.
diff --git a/java/org/apache/catalina/session/LocalStrings_ko.properties 
b/java/org/apache/catalina/session/LocalStrings_ko.properties
index d12d230..2f6a0a0 100644
--- a/java/org/apache/catalina/session/LocalStrings_ko.properties
+++ b/java/org/apache/catalina/session/LocalStrings_ko.properties
@@ -20,6 +20,7 @@ JDBCStore.checkConnectionDBReOpenFail=데이터베이스에 대해 다시 연결
 JDBCStore.checkConnectionSQLException=SQL 예외 발생 [{0}]
 JDBCStore.close=데이터베이스 연결 [{0}]을(를) 닫는 동안 예외 발생
 JDBCStore.commitSQLException=데이터베이스 연결을 닫기 전, 커밋을 시도하는 중 SQLException 발생
+JDBCStore.connectError=데이터베이스 [{0}]에 연결할 수 없습니다.
 JDBCStore.loading=데이터베이스 [{1}](으)로부터 세션 [{0}]을(를) 로드합니다.
 JDBCStore.missingDataSourceName=유효한 JNDI 이름이 주어지지 않았습니다.
 JDBCStore.removing=데이터베이스 [{1}]에서 세션 [{0}]을(를) 제거합니다.
diff --git a/java/org/apache/catalina/startup/LocalStrings_ko.properties 
b/java/org/apache/catalina/startup/LocalStrings_ko.properties
index 4cbd10b..11526af 100644
--- a/java/org/apache/catalina/startup/LocalStrings_ko.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_ko.properties
@@ -70,6 +70,7 @@ contextConfig.jspFile.warning=경고: Servlet 2.4에서 JSP 파일 
[{0}]은(는)
 contextConfig.missingRealm=인증 처리 시 사용할 Realm이 설정되지 않았습니다.
 contextConfig.noAntiLocking=java.io.tmpdir 프로퍼티 값 [{0}]이(가) 유효한 디렉토리 경로가 아닙니다. 
해당 웹 애플리케이션 [{1}]을(를) 위한 antiResourceLocking 설정은 무시됩니다.
 contextConfig.processAnnotationsDir.debug=Annotation들을 가진 클래스 파일들을 찾기 위해 디렉토리 
[{0}]을(를) 스캔합니다.
+contextConfig.processAnnotationsInParallelFailure=병렬 처리 실패
 contextConfig.processAnnotationsJar.debug=Annotation들, [{0}]을(를) 가진 클래스 파일들을 
찾기 위해, JAR 파일을 스캔합니다.
 contextConfig.processAnnotationsWebDir.debug=Annotation들인 [{0}]을(를) 가진 클래스 
파일들을 찾기 위해, 웹 애

[tomcat] branch master updated: Fix changelog

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new 154b792  Fix changelog
154b792 is described below

commit 154b7929b56c0565bf23739380b455c032d2341e
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:40:12 2020 +

Fix changelog
---
 webapps/docs/changelog.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index cb954b4..2ff68a9 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -157,6 +157,7 @@
 
   
   
+
   
 Improvements to French translations. (remm)
   
@@ -166,6 +167,7 @@
   
 Improvements to Russian translations. Provided by Azat. (markt)
   
+
   
 
 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] 02/02: Back-port i18n updates

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 8476f85ba27d51146b941f642a80a2f005525e7e
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:41:06 2020 +

Back-port i18n updates
---
 .../jaspic/LocalStrings_fr.properties  |  2 ++
 .../jaspic/LocalStrings_ko.properties  |  2 ++
 .../jaspic/LocalStrings_ru.properties  |  2 ++
 .../catalina/core/LocalStrings_ru.properties   |  7 ++
 .../{loader => ha/tcp}/LocalStrings_ru.properties  |  2 +-
 .../catalina/loader/LocalStrings_fr.properties |  1 +
 .../catalina/loader/LocalStrings_ko.properties |  1 +
 .../catalina/loader/LocalStrings_ru.properties |  1 +
 .../catalina/realm/LocalStrings_ru.properties  |  1 +
 .../catalina/session/LocalStrings_fr.properties|  1 +
 .../catalina/session/LocalStrings_ko.properties|  1 +
 .../{loader => session}/LocalStrings_ru.properties |  2 +-
 .../catalina/startup/LocalStrings_de.properties| 10 
 .../catalina/startup/LocalStrings_es.properties| 21 -
 .../catalina/startup/LocalStrings_fr.properties| 27 +++---
 .../catalina/startup/LocalStrings_ko.properties| 27 +++---
 .../catalina/startup/LocalStrings_ru.properties|  7 ++
 .../catalina/startup/LocalStrings_zh_CN.properties |  8 +++
 .../group/interceptors/LocalStrings_ru.properties  |  2 ++
 .../catalina/util/LocalStrings_ru.properties   |  2 ++
 .../catalina/valves/LocalStrings_ko.properties |  2 ++
 .../catalina/valves/LocalStrings_ru.properties |  1 +
 java/org/apache/coyote/LocalStrings_ko.properties  |  2 ++
 .../coyote/http11/LocalStrings_ru.properties   |  1 +
 .../http11/filters}/LocalStrings_ru.properties |  2 +-
 .../apache/coyote/http2/LocalStrings_fr.properties |  1 +
 .../apache/coyote/http2/LocalStrings_ko.properties |  3 +++
 .../jasper/resources/LocalStrings_ru.properties|  5 
 .../apache/tomcat/util/LocalStrings_ru.properties  |  1 +
 .../util/digester}/LocalStrings_ru.properties  |  2 +-
 .../tomcat/util/net/LocalStrings_ko.properties |  1 +
 .../tomcat/util/net/LocalStrings_ru.properties |  3 +++
 .../util/net/openssl/LocalStrings_ru.properties|  2 ++
 .../tomcat/websocket/LocalStrings_ko.properties|  5 
 webapps/docs/changelog.xml | 13 +++
 35 files changed, 125 insertions(+), 46 deletions(-)

diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
index 53fac21..0b3335d 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
@@ -19,7 +19,9 @@ authConfigFactoryImpl.registerInstance=Enregistrement de 
l''instance de type [{0
 authConfigFactoryImpl.zeroLengthAppContext=Un nom de contexte vide n'est pas 
valide
 authConfigFactoryImpl.zeroLengthMessageLayer=Un message vide de nom de couche 
est invalide
 
+callbackHandlerImpl.containerMissing=Le rappel (callback) JASPIC de type [{0}] 
a un conteneur manquant et a été ignoré
 callbackHandlerImpl.jaspicCallbackMissing=Le rappel (callback) JASPIC de type 
[{0}] reçu n''est pas supporté et a été ignoré
+callbackHandlerImpl.realmMissing=Le rappel (callback) JASPIC de type [{0}] 
reçu n''a pas de royaume (realm) et a été ignoré
 
 jaspicAuthenticator.authenticate=Authentification de la requête pour [{0}] 
avec JASPIC
 
diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
index 10a28dd..01678ec 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
@@ -19,7 +19,9 @@ authConfigFactoryImpl.registerInstance=레이어 [{1}]와(과) 애플리케이
 authConfigFactoryImpl.zeroLengthAppContext=애플리케이션 컨텍스트 이름의 길이가 0으로, 이는 유효하지 
않습니다.
 authConfigFactoryImpl.zeroLengthMessageLayer=길이가 0인 메시지 레이어 이름은 유효하지 않습니다.
 
+callbackHandlerImpl.containerMissing=타입이 [{0}]인 JASPIC 콜백을 위한 컨테이너가 존재하지 않아 
무시됩니다.
 callbackHandlerImpl.jaspicCallbackMissing=타입이 [{0}]인 지원되지 않는 JASPIC 콜백을 받았는데, 
이는 무시됩니다.
+callbackHandlerImpl.realmMissing=컨테이너 [{1}]에 타입이 [{0}]인 JASPIC 콜백을 위한 Realm이 
존재하지 않아 무시됩니다.
 
 jaspicAuthenticator.authenticate=[{0}]을(를) 위한 요청을 JASPIC를 통하여 인증합니다.
 
diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
index 879f293..af9a981 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
@@ -13,4 +13,6 @@
 # See the License for the specific language governi

[tomcat] branch 9.0.x updated (3f2df25 -> 8476f85)

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git.


from 3f2df25  Avoid most of the thread pool use during NIO2 socket accept
 new f55c714  Align with 10.0.x
 new 8476f85  Back-port i18n updates

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../jaspic/LocalStrings_fr.properties  |  2 ++
 .../jaspic/LocalStrings_ko.properties  |  2 ++
 .../jaspic/LocalStrings_ru.properties  |  2 ++
 .../catalina/core/LocalStrings_ru.properties   |  7 ++
 .../tcp}/LocalStrings_ru.properties|  2 +-
 .../catalina/loader/LocalStrings_fr.properties |  1 +
 .../catalina/loader/LocalStrings_ko.properties |  1 +
 .../catalina/loader/LocalStrings_ru.properties |  1 +
 .../catalina/realm/LocalStrings_ru.properties  |  1 +
 .../catalina/session/LocalStrings_fr.properties|  1 +
 .../catalina/session/LocalStrings_ko.properties|  1 +
 .../LocalStrings_ru.properties |  2 +-
 .../catalina/startup/LocalStrings_de.properties| 10 
 .../catalina/startup/LocalStrings_es.properties| 21 -
 .../catalina/startup/LocalStrings_fr.properties| 27 +++---
 .../catalina/startup/LocalStrings_ko.properties| 27 +++---
 .../catalina/startup/LocalStrings_ru.properties|  7 ++
 .../catalina/startup/LocalStrings_zh_CN.properties |  8 +++
 .../group/interceptors/LocalStrings_ru.properties  |  2 ++
 .../catalina/util/LocalStrings_ru.properties   |  2 ++
 .../catalina/valves/LocalStrings_ko.properties |  2 ++
 .../catalina/valves/LocalStrings_ru.properties |  1 +
 java/org/apache/coyote/LocalStrings_ko.properties  |  2 ++
 .../coyote/http11/LocalStrings_ru.properties   |  1 +
 .../http11/filters}/LocalStrings_ru.properties |  2 +-
 .../apache/coyote/http2/LocalStrings_fr.properties |  1 +
 .../apache/coyote/http2/LocalStrings_ko.properties |  3 +++
 .../jasper/resources/LocalStrings_ru.properties|  5 
 .../apache/tomcat/util/LocalStrings_ru.properties  |  1 +
 .../util/digester}/LocalStrings_ru.properties  |  2 +-
 .../apache/tomcat/util/net/LocalStrings.properties |  2 +-
 .../tomcat/util/net/LocalStrings_ko.properties |  1 +
 .../tomcat/util/net/LocalStrings_ru.properties |  3 +++
 .../util/net/openssl/LocalStrings_ru.properties|  2 ++
 .../tomcat/websocket/LocalStrings_ko.properties|  5 
 webapps/docs/changelog.xml | 13 +++
 36 files changed, 126 insertions(+), 47 deletions(-)
 copy java/org/apache/catalina/{connector => ha/tcp}/LocalStrings_ru.properties 
(88%)
 copy java/org/apache/catalina/{connector => 
session}/LocalStrings_ru.properties (88%)
 copy java/org/apache/{catalina/authenticator/jaspic => 
coyote/http11/filters}/LocalStrings_ru.properties (78%)
 copy java/org/apache/{catalina/connector => 
tomcat/util/digester}/LocalStrings_ru.properties (86%)


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] 01/02: Align with 10.0.x

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit f55c714b2bd34e08ee5f59649fa689b48734728e
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:38:17 2020 +

Align with 10.0.x
---
 java/org/apache/tomcat/util/net/LocalStrings.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/LocalStrings.properties 
b/java/org/apache/tomcat/util/net/LocalStrings.properties
index 577fa36..cf717c9 100644
--- a/java/org/apache/tomcat/util/net/LocalStrings.properties
+++ b/java/org/apache/tomcat/util/net/LocalStrings.properties
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-acceptor.stop.fail= The acceptor thread [{0}] did not stop cleanly
+acceptor.stop.fail=The acceptor thread [{0}] did not stop cleanly
 acceptor.stop.interrupted=Interrupt was received while waiting for the 
acceptor thread [{0}] to stop
 
 channel.nio.interrupted=The current thread was interrupted


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 8.5.x updated: Back-port i18n improvements

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
 new f9634d2  Back-port i18n improvements
f9634d2 is described below

commit f9634d21e32fbab9527de4fa7e9f19231796b3f4
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:45:36 2020 +

Back-port i18n improvements
---
 .../jaspic/LocalStrings_fr.properties  |  2 ++
 .../jaspic/LocalStrings_ko.properties  |  2 ++
 .../jaspic/LocalStrings_ru.properties  |  2 ++
 .../catalina/core/LocalStrings_ru.properties   |  7 ++
 .../{loader => ha/tcp}/LocalStrings_ru.properties  |  2 +-
 .../catalina/loader/LocalStrings_fr.properties |  1 +
 .../catalina/loader/LocalStrings_ko.properties |  1 +
 .../catalina/loader/LocalStrings_ru.properties |  1 +
 .../catalina/realm/LocalStrings_ru.properties  |  1 +
 .../catalina/session/LocalStrings_fr.properties|  1 +
 .../catalina/session/LocalStrings_ko.properties|  1 +
 .../{loader => session}/LocalStrings_ru.properties |  2 +-
 .../catalina/startup/LocalStrings_de.properties| 10 -
 .../catalina/startup/LocalStrings_es.properties| 21 -
 .../catalina/startup/LocalStrings_fr.properties| 26 +++---
 .../catalina/startup/LocalStrings_ko.properties| 26 +++---
 .../catalina/startup/LocalStrings_ru.properties|  7 ++
 .../catalina/startup/LocalStrings_zh_CN.properties |  8 +++
 .../group/interceptors/LocalStrings_ru.properties  |  2 ++
 .../catalina/util/LocalStrings_ru.properties   |  2 ++
 .../catalina/valves/LocalStrings_ko.properties |  2 ++
 .../catalina/valves/LocalStrings_ru.properties |  1 +
 java/org/apache/coyote/LocalStrings_ko.properties  |  2 ++
 .../coyote/http11/LocalStrings_ru.properties   |  1 +
 .../http11/filters}/LocalStrings_ru.properties |  2 +-
 .../apache/coyote/http2/LocalStrings_ko.properties |  2 ++
 .../jasper/resources/LocalStrings_ru.properties|  5 +
 .../apache/tomcat/util/LocalStrings_ru.properties  |  1 +
 .../tomcat/util/net/LocalStrings_ko.properties |  1 +
 .../tomcat/util/net/LocalStrings_ru.properties |  3 +++
 .../util/net/openssl/LocalStrings_ru.properties|  2 ++
 .../tomcat/websocket/LocalStrings_ko.properties|  5 +
 webapps/docs/changelog.xml | 13 +++
 33 files changed, 120 insertions(+), 45 deletions(-)

diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
index 53fac21..0b3335d 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_fr.properties
@@ -19,7 +19,9 @@ authConfigFactoryImpl.registerInstance=Enregistrement de 
l''instance de type [{0
 authConfigFactoryImpl.zeroLengthAppContext=Un nom de contexte vide n'est pas 
valide
 authConfigFactoryImpl.zeroLengthMessageLayer=Un message vide de nom de couche 
est invalide
 
+callbackHandlerImpl.containerMissing=Le rappel (callback) JASPIC de type [{0}] 
a un conteneur manquant et a été ignoré
 callbackHandlerImpl.jaspicCallbackMissing=Le rappel (callback) JASPIC de type 
[{0}] reçu n''est pas supporté et a été ignoré
+callbackHandlerImpl.realmMissing=Le rappel (callback) JASPIC de type [{0}] 
reçu n''a pas de royaume (realm) et a été ignoré
 
 jaspicAuthenticator.authenticate=Authentification de la requête pour [{0}] 
avec JASPIC
 
diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
index 10a28dd..01678ec 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ko.properties
@@ -19,7 +19,9 @@ authConfigFactoryImpl.registerInstance=레이어 [{1}]와(과) 애플리케이
 authConfigFactoryImpl.zeroLengthAppContext=애플리케이션 컨텍스트 이름의 길이가 0으로, 이는 유효하지 
않습니다.
 authConfigFactoryImpl.zeroLengthMessageLayer=길이가 0인 메시지 레이어 이름은 유효하지 않습니다.
 
+callbackHandlerImpl.containerMissing=타입이 [{0}]인 JASPIC 콜백을 위한 컨테이너가 존재하지 않아 
무시됩니다.
 callbackHandlerImpl.jaspicCallbackMissing=타입이 [{0}]인 지원되지 않는 JASPIC 콜백을 받았는데, 
이는 무시됩니다.
+callbackHandlerImpl.realmMissing=컨테이너 [{1}]에 타입이 [{0}]인 JASPIC 콜백을 위한 Realm이 
존재하지 않아 무시됩니다.
 
 jaspicAuthenticator.authenticate=[{0}]을(를) 위한 요청을 JASPIC를 통하여 인증합니다.
 
diff --git 
a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties 
b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
index 879f293..af9a981 100644
--- a/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/authenticator/jaspic/LocalStrings_ru.properties
@@ -13,4 +13,6 @@
 # See the License f

[tomcat] branch master updated: Fix typo

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
 new c9dec4c  Fix typo
c9dec4c is described below

commit c9dec4c103362c316d2808dccfb3b7e2a9d4b3a9
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:49:49 2020 +

Fix typo
---
 java/org/apache/catalina/startup/LocalStrings_es.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/startup/LocalStrings_es.properties 
b/java/org/apache/catalina/startup/LocalStrings_es.properties
index 4d38e21..5c68d8a 100644
--- a/java/org/apache/catalina/startup/LocalStrings_es.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_es.properties
@@ -98,7 +98,7 @@ userConfig.deploy=Despliegue de la aplicación web para el 
usuario [{0}]
 userConfig.deploying=Desplegando aplicaciones web para el usuario
 userConfig.error=Error durante el despliegue de la aplicación web para el 
usario [{0}]
 userConfig.start="UserConfig": Procesando "START"
-userConfig.stop="UserConfig": Tratamiento del "STOP":q
+userConfig.stop="UserConfig": Tratamiento del "STOP"
 
 versionLoggerListener.arg=Command line argument: {0}
 versionLoggerListener.catalina.base=CATALINA_BASE: {0}


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 9.0.x updated: Fix typo

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new cb9faf3  Fix typo
cb9faf3 is described below

commit cb9faf3363705ee8ca254cc4e56c1cbe7a46c2ac
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:49:49 2020 +

Fix typo
---
 java/org/apache/catalina/startup/LocalStrings_es.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/startup/LocalStrings_es.properties 
b/java/org/apache/catalina/startup/LocalStrings_es.properties
index df263b9..26f 100644
--- a/java/org/apache/catalina/startup/LocalStrings_es.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_es.properties
@@ -98,7 +98,7 @@ userConfig.deploy=Despliegue de la aplicación web para el 
usuario [{0}]
 userConfig.deploying=Desplegando aplicaciones web para el usuario
 userConfig.error=Error durante el despliegue de la aplicación web para el 
usario [{0}]
 userConfig.start="UserConfig": Procesando "START"
-userConfig.stop="UserConfig": Tratamiento del "STOP":q
+userConfig.stop="UserConfig": Tratamiento del "STOP"
 
 versionLoggerListener.arg=Command line argument: {0}
 versionLoggerListener.catalina.base=CATALINA_BASE: {0}


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 8.5.x updated: Fix typo

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
 new 2f48ea5  Fix typo
2f48ea5 is described below

commit 2f48ea563b7c22ad4095875dac54fee99004e509
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:49:49 2020 +

Fix typo
---
 java/org/apache/catalina/startup/LocalStrings_es.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/startup/LocalStrings_es.properties 
b/java/org/apache/catalina/startup/LocalStrings_es.properties
index 17d5e34..e338062 100644
--- a/java/org/apache/catalina/startup/LocalStrings_es.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_es.properties
@@ -100,7 +100,7 @@ userConfig.deploy=Despliegue de la aplicación web para el 
usuario [{0}]
 userConfig.deploying=Desplegando aplicaciones web para el usuario
 userConfig.error=Error durante el despliegue de la aplicación web para el 
usario [{0}]
 userConfig.start="UserConfig": Procesando "START"
-userConfig.stop="UserConfig": Tratamiento del "STOP":q
+userConfig.stop="UserConfig": Tratamiento del "STOP"
 
 versionLoggerListener.arg=Command line argument: {0}
 versionLoggerListener.catalina.base=CATALINA_BASE: {0}


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 7.0.x updated: Fix typo

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
 new dfda626  Fix typo
dfda626 is described below

commit dfda6269f19b3a75dae6294a6dcb779e63a1e36a
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:49:49 2020 +

Fix typo
---
 java/org/apache/catalina/startup/LocalStrings_es.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/startup/LocalStrings_es.properties 
b/java/org/apache/catalina/startup/LocalStrings_es.properties
index 74582a1..2188386 100644
--- a/java/org/apache/catalina/startup/LocalStrings_es.properties
+++ b/java/org/apache/catalina/startup/LocalStrings_es.properties
@@ -127,7 +127,7 @@ userConfig.deploy=Despliegue de la aplicación web para el 
usuario [{0}]
 userConfig.deploying=Desplegando aplicaciones web para el usuario
 userConfig.error=Error durante el despliegue de la aplicación web para el 
usario [{0}]
 userConfig.start="UserConfig": Procesando "START"
-userConfig.stop="UserConfig": Tratamiento del "STOP":q
+userConfig.stop="UserConfig": Tratamiento del "STOP"
 
 versionLoggerListener.arg=Command line argument: {0}
 versionLoggerListener.catalina.base=CATALINA_BASE: {0}


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 7.0.x updated: Back-port i18n improvements

2020-10-30 Thread markt
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
 new c43b5e3  Back-port i18n improvements
c43b5e3 is described below

commit c43b5e396cfb925c473c3bb403d3309f81fa84ed
Author: Mark Thomas 
AuthorDate: Fri Oct 30 12:48:44 2020 +

Back-port i18n improvements
---
 .../catalina/core/LocalStrings_ru.properties   |  7 ++
 .../{util => ha/tcp}/LocalStrings_ru.properties|  2 +-
 .../catalina/loader/LocalStrings_fr.properties |  1 +
 .../catalina/loader/LocalStrings_ko.properties |  1 +
 .../catalina/loader/LocalStrings_ru.properties |  1 +
 .../catalina/realm/LocalStrings_ru.properties  |  1 +
 .../catalina/startup/LocalStrings_de.properties| 10 -
 .../catalina/startup/LocalStrings_es.properties| 21 -
 .../catalina/startup/LocalStrings_fr.properties| 26 +++---
 .../catalina/startup/LocalStrings_ko.properties| 26 +++---
 .../catalina/startup/LocalStrings_ru.properties|  7 ++
 .../catalina/startup/LocalStrings_zh_CN.properties |  8 +++
 .../catalina/util/LocalStrings_ru.properties   |  2 ++
 .../catalina/valves/LocalStrings_ru.properties |  1 +
 .../coyote/http11/LocalStrings_ru.properties   |  1 +
 .../http11/filters}/LocalStrings_ru.properties |  2 +-
 .../jasper/resources/LocalStrings_ru.properties|  5 +
 .../apache/tomcat/util/LocalStrings_ru.properties  |  1 +
 .../tomcat/websocket/LocalStrings_ko.properties|  3 +++
 webapps/docs/changelog.xml |  5 -
 20 files changed, 86 insertions(+), 45 deletions(-)

diff --git a/java/org/apache/catalina/core/LocalStrings_ru.properties 
b/java/org/apache/catalina/core/LocalStrings_ru.properties
index afe5df1..366f6fc 100644
--- a/java/org/apache/catalina/core/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/core/LocalStrings_ru.properties
@@ -14,8 +14,15 @@
 # limitations under the License.
 
 applicationContext.addListener.iae.cnfe=Невозможно создать экземпляр типа [{0}]
+applicationContext.addListener.iae.wrongType=Указанный тип[{0}] не является 
одним из ожидаемых типов слушателей
 applicationContext.setAttribute.namenull=Имя не может быть пустым
 
+aprListener.initializingFIPS=Инициализируется режим FIPS...
+
+filterChain.filter=При выполнении фильтра выброшено исключение
+
+standardContext.securityConstraint.mixHttpMethod=Запрещено смешивать 
 и  в одной и той же коллекции веб-ресурсов
+
 standardWrapper.allocate=Ошибка при выделении экземпляра сервлета
 standardWrapper.allocateException=Ошибка выделения для сервлета [{0}]
 standardWrapper.deallocateException=Ошибка освобождения для сервлета [{0}]
diff --git a/java/org/apache/catalina/util/LocalStrings_ru.properties 
b/java/org/apache/catalina/ha/tcp/LocalStrings_ru.properties
similarity index 88%
copy from java/org/apache/catalina/util/LocalStrings_ru.properties
copy to java/org/apache/catalina/ha/tcp/LocalStrings_ru.properties
index e969e51..08673fa 100644
--- a/java/org/apache/catalina/util/LocalStrings_ru.properties
+++ b/java/org/apache/catalina/ha/tcp/LocalStrings_ru.properties
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-introspection.classLoadFailed=Не возможно закрузить класс [{0}]
+ReplicationValve.filter.failure=Не возможно скомпилировать фильтрr=[{0}]
diff --git a/java/org/apache/catalina/loader/LocalStrings_fr.properties 
b/java/org/apache/catalina/loader/LocalStrings_fr.properties
index 8aae2db..bae3976 100644
--- a/java/org/apache/catalina/loader/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/loader/LocalStrings_fr.properties
@@ -30,6 +30,7 @@ standardLoader.removeRepository=Retrait du réceptacle 
(repository) [{0}]
 standardLoader.starting=Démarrage de ce chargeur (loader)
 standardLoader.stopping=Arrêt de ce chargeur (loader)
 
+webappClassLoader.addExportsJavaIo=Lorsque Java 9 ou ultérieur est utilisé, 
"--add-opens=java.base/java.io={0}" doit être ajouté aux arguments de la ligne 
de commande de la JVM pour activer la protection contre les fuites de mémoire 
du cache de ObjectStream; cet avertissement peut aussi être supprimé en 
désactivant cette protection
 webappClassLoader.addExportsRmi=Quand Java 9 est utilisé, il faut utiliser 
"--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED" sur la ligne de commande 
de la JVM pour activer la détection de fuites de mémoire des cibles RMI ; sinon 
cet avertissement peut être supprimé en désactivant cette détection
 webappClassLoader.addExportsThreadLocal=Quand Java 9 est utilisé, il faut 
utiliser "--add-opens=java.base/java.lang=ALL-UNNAMED" sur la ligne de commande 
de la JVM pour activer la détection de fuites de mémoire des ThreadLocal ; 
sinon cet avertissement peut être supprimé en désactiva

[PROPOSAL]

2020-10-30 Thread Christopher Schultz

All,

I propose that we enable RECYCLE_FACADES by default in Tomcat 10.

Reasons:

1. It is "safer"

When running untrusted applications, a malicious application can 
potentially spy on others.


Application bugs can cause request/response confusion.

2. It reduces the number of false bug reports

Anytime something odd is happening with an application running on 
Tomcat, the application owner usually emails users@ and/or reports a bug 
against Tomcat. The first thing we say is "enable RECYCLE_FACADES to be 
sure it's not your application".


3. Performance hit is probably minimal

I have no data on this, but I'm assuming that GC isn't an issue at all: 
most requests/responses will be created and die all inside of the young 
generation (or whatever it's called these days).


I'm not sure how expensive creating a new request/response is. Perhaps 
we could look into some targeted performance optimizations in this area.


4. Re-enabling RECYCLE_FACADES is trivial

Just put it in setenv.sh/setenv.bat/catalina.policy

I do not think we should change the default in Tomcat <10 as this might 
be a surprise to a lot of users.


-chris

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [PROPOSAL]

2020-10-30 Thread Rémy Maucherat
On Fri, Oct 30, 2020 at 2:41 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> All,
>
> I propose that we enable RECYCLE_FACADES by default in Tomcat 10.
>

It has already been refactored.

Rémy


>
> Reasons:
>
> 1. It is "safer"
>
> When running untrusted applications, a malicious application can
> potentially spy on others.
>
> Application bugs can cause request/response confusion.
>
> 2. It reduces the number of false bug reports
>
> Anytime something odd is happening with an application running on
> Tomcat, the application owner usually emails users@ and/or reports a bug
> against Tomcat. The first thing we say is "enable RECYCLE_FACADES to be
> sure it's not your application".
>
> 3. Performance hit is probably minimal
>
> I have no data on this, but I'm assuming that GC isn't an issue at all:
> most requests/responses will be created and die all inside of the young
> generation (or whatever it's called these days).
>
> I'm not sure how expensive creating a new request/response is. Perhaps
> we could look into some targeted performance optimizations in this area.
>
> 4. Re-enabling RECYCLE_FACADES is trivial
>
> Just put it in setenv.sh/setenv.bat/catalina.policy
>
> I do not think we should change the default in Tomcat <10 as this might
> be a surprise to a lot of users.
>
> -chris
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


[Bug 64863] New: stderr logfile is corrupted when running as Windows service

2020-10-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64863

Bug ID: 64863
   Summary: stderr logfile is corrupted when running as Windows
service
   Product: Tomcat 8
   Version: 8.5.59
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: Meta
  Assignee: dev@tomcat.apache.org
  Reporter: scholzb...@outlook.de
  Target Milestone: 

Created attachment 37541
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37541&action=edit
Example Maven project to reproduce the issue

== Description ==
When Tomcat is running as a Windows Service, output written to System.err may
be overwritten again in the tomcat8-stderr*.log file.

This includes messages about uncaught exceptions. As a consequences, the
occurrence of an uncaught exception may remain undetected since it appears in
no log file.

== Steps to reproduce ==
1. Install Tomcat as a Windows Service with default settings
2. Build attached Maven project uncaught-exception-sample and deploy WAR file
into Tomcat
3. Restart Tomcat
4. Inspect file logs/tomcat8-stderr-.log every few seconds

== Expected behavior ==
When startup is finished, the file should contain:

30-Oct-2020 14:46:12.669 INFORMATION [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:
Apache Tomcat/8.5.59
30-Oct-2020 14:46:12.810 INFORMATION [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive [C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\uncaught-exception-sample-1.0-SNAPSHOT.war]
Message 0 from main thread
Message 1 from main thread
Message 2 from main thread
Message 3 from main thread
Message 4 from main thread
Message 5 from main thread
Message 6 from main thread
Message 7 from main thread
Message 8 from main thread
Message 9 from main thread
Exception in thread "Thread-4" java.lang.RuntimeException: exception thrown
from thread
at
org.example.ContextLoaderListener.lambda$contextInitialized$0(ContextLoaderListener.java:17)
at java.lang.Thread.run(Thread.java:748)
Message 10 from main thread
Message 11 from main thread
Message 12 from main thread
Message 13 from main thread
Message 14 from main thread
Message 15 from main thread
Message 16 from main thread
Message 17 from main thread
Message 18 from main thread
Message 19 from main thread
30-Oct-2020 14:47:01.449 INFORMATION [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application
archive [C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\uncaught-exception-sample-1.0-SNAPSHOT.war] has finished in
[48.637] ms
...

== Actual behavior ==
The custom messages and the uncaught exception message are written to the file
and remain there for five seconds, then they are overwritten by subsequent log
messages. When startup is finished, the file contains:

30-Oct-2020 14:46:12.669 INFORMATION [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine:
Apache Tomcat/8.5.59
30-Oct-2020 14:46:12.810 INFORMATION [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive [C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\uncaught-exception-sample-1.0-SNAPSHOT.war]
30-Oct-2020 14:47:01.449 INFORMATION [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application
archive [C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps\uncaught-exception-sample-1.0-SNAPSHOT.war] has finished in
[48.637] ms
...

The message about the uncaught exception is gone.

== Root Cause (as far as I can tell) ==
The file is opened twice during startup (by the prunsrv), and both file
descriptors are being used in the Java application.

Startup sequence:
1. In prunsrv.c, redirectStdStreams():
- Log file is opened using _wfsopen() with sharing mode _SH_DENYNO (Permits
read and write access)
- then _dup2() to reassign the existing stderr file descriptor
2. In javajni.c, __apxJavaWorkerThread():
- the main class org.apache.catalina.startup.Bootstrap is loaded
3. In javajni.c, apxJavaSetOut():
- Log file is opened again and System.err is adjusted, via reflection (Java
code): System.setErr(new PrintStream(new FileOutputStream(filename), true));

Problem: When the main class is loaded in step 2, it initializes the
java.util.logging.ConsoleHandler. This class remembers the current System.err
(from step 1) in a private field.

Result:
- ConsoleHandler uses file descriptor from step 1 (via FileOutputStream with
append == false)
- System.err uses file descriptor from step 3 (via FileOutputStream with append
== true)

Therefore messages written to System.err appear at the end of the log file, but
are overwritten by subsequent messages written by ConsoleHandler.

-- 
You are receiving this mail because:
You are the assignee for the bug.
--

[Bug 64863] stderr logfile is corrupted when running as Windows service

2020-10-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64863

Mark Thomas  changed:

   What|Removed |Added

 OS||All
 Resolution|--- |INVALID
 Status|NEW |RESOLVED

--- Comment #1 from Mark Thomas  ---
This bug needs to be raised against the Commons Daemon project.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [PROPOSAL]

2020-10-30 Thread Christopher Schultz

Rémy,

On 10/30/20 10:21, Rémy Maucherat wrote:

On Fri, Oct 30, 2020 at 2:41 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:


All,

I propose that we enable RECYCLE_FACADES by default in Tomcat 10.



It has already been refactored.


Oh, right. So maybe I need to amend by proposal:

I propose that we enable discardFacades="true" on  in Tomcat 
10. That could be done in one of two ways:


1. The default value for discardFacades is "true"

2. The default s in server.xml ship with discardFacades="true"

-chris


Reasons:

1. It is "safer"

When running untrusted applications, a malicious application can
potentially spy on others.

Application bugs can cause request/response confusion.

2. It reduces the number of false bug reports

Anytime something odd is happening with an application running on
Tomcat, the application owner usually emails users@ and/or reports a bug
against Tomcat. The first thing we say is "enable RECYCLE_FACADES to be
sure it's not your application".

3. Performance hit is probably minimal

I have no data on this, but I'm assuming that GC isn't an issue at all:
most requests/responses will be created and die all inside of the young
generation (or whatever it's called these days).

I'm not sure how expensive creating a new request/response is. Perhaps
we could look into some targeted performance optimizations in this area.

4. Re-enabling RECYCLE_FACADES is trivial

Just put it in setenv.sh/setenv.bat/catalina.policy

I do not think we should change the default in Tomcat <10 as this might
be a surprise to a lot of users.

-chris

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org






-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [PROPOSAL]

2020-10-30 Thread Rémy Maucherat
On Fri, Oct 30, 2020 at 5:34 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:

> Rémy,
>
> On 10/30/20 10:21, Rémy Maucherat wrote:
> > On Fri, Oct 30, 2020 at 2:41 PM Christopher Schultz <
> > ch...@christopherschultz.net> wrote:
> >
> >> All,
> >>
> >> I propose that we enable RECYCLE_FACADES by default in Tomcat 10.
> >>
> >
> > It has already been refactored.
>
> Oh, right. So maybe I need to amend by proposal:
>
> I propose that we enable discardFacades="true" on  in Tomcat
> 10. That could be done in one of two ways:
>
> 1. The default value for discardFacades is "true"
>
> 2. The default s in server.xml ship with discardFacades="true"
>

But that's also the case (except it's not in server.xml like most
parameters). It's in the changelog for 10.0.0-M1.

Rémy


>
> -chris
>
> >> Reasons:
> >>
> >> 1. It is "safer"
> >>
> >> When running untrusted applications, a malicious application can
> >> potentially spy on others.
> >>
> >> Application bugs can cause request/response confusion.
> >>
> >> 2. It reduces the number of false bug reports
> >>
> >> Anytime something odd is happening with an application running on
> >> Tomcat, the application owner usually emails users@ and/or reports a
> bug
> >> against Tomcat. The first thing we say is "enable RECYCLE_FACADES to be
> >> sure it's not your application".
> >>
> >> 3. Performance hit is probably minimal
> >>
> >> I have no data on this, but I'm assuming that GC isn't an issue at all:
> >> most requests/responses will be created and die all inside of the young
> >> generation (or whatever it's called these days).
> >>
> >> I'm not sure how expensive creating a new request/response is. Perhaps
> >> we could look into some targeted performance optimizations in this area.
> >>
> >> 4. Re-enabling RECYCLE_FACADES is trivial
> >>
> >> Just put it in setenv.sh/setenv.bat/catalina.policy
> >>
> >> I do not think we should change the default in Tomcat <10 as this might
> >> be a surprise to a lot of users.
> >>
> >> -chris
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: dev-h...@tomcat.apache.org
> >>
> >>
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


Re: [PROPOSAL]

2020-10-30 Thread Christopher Schultz

Rémy,

On 10/30/20 12:40, Rémy Maucherat wrote:

On Fri, Oct 30, 2020 at 5:34 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:


Rémy,

On 10/30/20 10:21, Rémy Maucherat wrote:

On Fri, Oct 30, 2020 at 2:41 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:


All,

I propose that we enable RECYCLE_FACADES by default in Tomcat 10.



It has already been refactored.


Oh, right. So maybe I need to amend by proposal:

I propose that we enable discardFacades="true" on  in Tomcat
10. That could be done in one of two ways:

1. The default value for discardFacades is "true"

2. The default s in server.xml ship with discardFacades="true"



But that's also the case (except it's not in server.xml like most
parameters). It's in the changelog for 10.0.0-M1.


LOL. I read the changelog but completely ignored the very end of the 
sentence.


PROPOSAL ACCEPTED! :)

Thanks,
-chris

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org