This is an automated email from the ASF dual-hosted git repository.

schultz 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 991efc6dda Add thread name to 
webappClassLoader.stackTraceRequestThread  message (#850)
991efc6dda is described below

commit 991efc6dda85ab52d8dc7543323e9f640ee2976f
Author: felix-zhang-0818 <felixzhang0...@gmail.com>
AuthorDate: Mon May 12 19:19:31 2025 +0800

    Add thread name to webappClassLoader.stackTraceRequestThread  message (#850)
---
 java/org/apache/catalina/loader/LocalStrings.properties       | 2 +-
 java/org/apache/catalina/loader/LocalStrings_fr.properties    | 2 +-
 java/org/apache/catalina/loader/LocalStrings_ja.properties    | 2 +-
 java/org/apache/catalina/loader/LocalStrings_ko.properties    | 2 +-
 java/org/apache/catalina/loader/LocalStrings_zh_CN.properties | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/java/org/apache/catalina/loader/LocalStrings.properties 
b/java/org/apache/catalina/loader/LocalStrings.properties
index de01f54229..17b034452f 100644
--- a/java/org/apache/catalina/loader/LocalStrings.properties
+++ b/java/org/apache/catalina/loader/LocalStrings.properties
@@ -50,7 +50,7 @@ webappClassLoader.resourceModified=Resource [{0}] has been 
modified. The last mo
 webappClassLoader.restrictedPackage=Security violation, attempt to use 
restricted class [{0}]
 webappClassLoader.securityException=Security exception trying to find class 
[{0}] in findClassInternal [{1}]
 webappClassLoader.stackTrace=The web application [{0}] appears to have started 
a thread named [{1}] but has failed to stop it. This is very likely to create a 
memory leak. Stack trace of thread:{2}
-webappClassLoader.stackTraceRequestThread=The web application [{0}] is still 
processing a request that has yet to finish. This is very likely to create a 
memory leak. You can control the time allowed for requests to finish by using 
the unloadDelay attribute of the standard Context implementation. Stack trace 
of request processing thread:[{2}]
+webappClassLoader.stackTraceRequestThread=The thread [{1}] of web application 
[{0}] is still processing a request that has yet to finish. This is very likely 
to create a memory leak. You can control the time allowed for requests to 
finish by using the unloadDelay attribute of the standard Context 
implementation. Stack trace of request processing thread:[{2}]
 webappClassLoader.stopThreadFail=Failed to terminate thread named [{0}] for 
web application [{1}]
 webappClassLoader.stopTimerThreadFail=Failed to terminate TimerThread named 
[{0}] for web application [{1}]
 webappClassLoader.stopped=Illegal access: this web application instance has 
been stopped already. Could not load [{0}]. The following stack trace is thrown 
for debugging purposes as well as to attempt to terminate the thread which 
caused the illegal access.
diff --git a/java/org/apache/catalina/loader/LocalStrings_fr.properties 
b/java/org/apache/catalina/loader/LocalStrings_fr.properties
index 28b50e7318..f8aa183ee7 100644
--- a/java/org/apache/catalina/loader/LocalStrings_fr.properties
+++ b/java/org/apache/catalina/loader/LocalStrings_fr.properties
@@ -50,7 +50,7 @@ webappClassLoader.resourceModified=La ressource [{0}] a été 
modifiée, la date
 webappClassLoader.restrictedPackage=Violation de sécurité en essayant 
d''utiliser à une classe à accès restreint [{0}]
 webappClassLoader.securityException=Exception de sécurité en essayant de 
trouver la classe [{0}] dans findClassInternal [{1}]
 webappClassLoader.stackTrace=L''application web [{0}] semble avoir démarré un 
thread nommé [{1}] mais ne l''a pas arrêté, ce qui va probablement créer une 
fuite de mémoire ; la trace du thread est : {2}
-webappClassLoader.stackTraceRequestThread=Une requête de l''application web 
[{0}] est toujours en cours, ce qui causera certainement une fuite de mémoire, 
vous pouvez contrôler le temps alloué en utilisant l''attribut unloadDelay de 
l''implémentation standard de Context ; trace du fil d’exécution de la requête 
: [{2}]
+webappClassLoader.stackTraceRequestThread=Le thread [{1}] de l'application web 
[{0}] est toujours en cours, ce qui risque de causer une fuite de mémoire. Vous 
pouvez contrôler le temps alloué en utilisant l'attribut unloadDelay de 
l'implémentation standard de Context ; trace de la pile d'exécution de la 
requête : [{2}]
 webappClassLoader.stopThreadFail=Impossible de terminer le thread nommé [{0}] 
pour l''application [{1}]
 webappClassLoader.stopTimerThreadFail=Echec de l''arrêt du TimerThread nommé 
[{0}] pour l''application web [{1}]
 webappClassLoader.stopped=Impossible de charger [{0}], ce chargeur de classes 
a déjà été arrêté
diff --git a/java/org/apache/catalina/loader/LocalStrings_ja.properties 
b/java/org/apache/catalina/loader/LocalStrings_ja.properties
index c00376ebab..50bac29483 100644
--- a/java/org/apache/catalina/loader/LocalStrings_ja.properties
+++ b/java/org/apache/catalina/loader/LocalStrings_ja.properties
@@ -50,7 +50,7 @@ webappClassLoader.resourceModified=リソース [{0}] は変更されていま
 webappClassLoader.restrictedPackage=セキュリティー違反。制限されたクラス [{0}] を使おうとしました。
 webappClassLoader.securityException=indClassInternal [{1}] でクラス [{0}] 
を検索中のセキュリティ例外です
 webappClassLoader.stackTrace=Webアプリケーション [{0}] は [{1}] 
という名前のスレッドを開始したようですが、停止に失敗しました。これはメモリリークを引き起こす可能性が非常に高いです。スレッドのスタックトレース: {2}
-webappClassLoader.stackTraceRequestThread=Webアプリケーション[{0}]はまだ完了していないリクエストを処理しています。
 これはメモリリークを引き起こす可能性が非常に高いです。 
リクエストの終了時間は、StandardContext実装のunloadDelay属性を使用して制御できます。 
リクエスト処理スレッドのスタックトレース:[{2}]
+webappClassLoader.stackTraceRequestThread=Webアプリケーション[{0}]のスレッド[{1}]はまだ完了していないリクエストを処理しています。
 これはメモリリークを引き起こす可能性が非常に高いです。 
リクエストの終了時間は、StandardContext実装のunloadDelay属性を使用して制御できます。 
リクエスト処理スレッドのスタックトレース:[{2}]
 webappClassLoader.stopThreadFail=Web アプリケーション [{1}] のスレッド [{0}] は終了できません。
 webappClassLoader.stopTimerThreadFail=Webアプリケーション [{1}] の [{0}] 
という名前のTimerThreadを終了できませんでした
 webappClassLoader.stopped=不正なアクセス: このWebアプリケーションのインスタンスは既に停止されています  Could not 
load [{0}]. 
不正なアクセスを引き起こしたスレッドを終了させ、投げられたエラーによりデバッグ用に次のスタックトレースが生成されましたが,機能に影響はありません
diff --git a/java/org/apache/catalina/loader/LocalStrings_ko.properties 
b/java/org/apache/catalina/loader/LocalStrings_ko.properties
index fb04feadcf..274cb6fbb3 100644
--- a/java/org/apache/catalina/loader/LocalStrings_ko.properties
+++ b/java/org/apache/catalina/loader/LocalStrings_ko.properties
@@ -50,7 +50,7 @@ webappClassLoader.resourceModified=리소스 [{0}]이(가) 변경된 적이 있
 webappClassLoader.restrictedPackage=보안 위반 행위: 제한된 클래스 [{0}]을(를) 사용하려 시도했습니다.
 webappClassLoader.securityException=findClassInternal에서, 클래스 [{0}]을(를) 찾으려 시도 
중 보안 예외 발생: [{1}]
 webappClassLoader.stackTrace=웹 애플리케이션 [{0}]이(가) [{1}](이)라는 이름의 쓰레드를 시작시킨 것으로 
보이지만, 해당 쓰레드를 중지시키지 못했습니다. 이는 메모리 누수를 유발할 가능성이 큽니다. 해당 쓰레드의 스택 트레이스:{2}
-webappClassLoader.stackTraceRequestThread=웹 애플리케이션 [{0}]이(가) 여전히 완료되지 않은 요청을 
처리하고 있습니다. 이는 메모리 누수를 유발할 가능성이 높습니다. 표준 컨텍스트 구현의 unloadDelay 속성을 이용하여, 요청 완료 허용 
시간을 통제할 수 있습니다. 요청 처리 쓰레드의 스택 트레이스:[{2}]
+webappClassLoader.stackTraceRequestThread=웹 애플리케이션 [{0}]의 쓰레드 [{1}]가 여전히 완료되지 
않은 요청을 처리하고 있습니다. 이는 메모리 누수를 유발할 가능성이 높습니다. 표준 컨텍스트 구현의 unloadDelay 속성을 이용하여, 
요청 완료 허용 시간을 통제할 수 있습니다. 요청 처리 쓰레드의 스택 트레이스:[{2}]
 webappClassLoader.stopThreadFail=웹 애플리케이션 [{1}]을 위한, [{0}](이)라는 이름의 쓰레드를 종료시키지 
못했습니다.
 webappClassLoader.stopTimerThreadFail=웹 애플리케이션 [{1}]을(를) 위한, [{0}](이)라는 이름의 
TimerThread를 종료시키지 못했습니다.
 webappClassLoader.stopped=불허되는 접근: 이 웹 애플리케이션 인스턴스는 이미 중지되었습니다. [{0}]을(를) 로드할 
수 없습니다. 디버그 목적 및 불허되는 접근을 발생시킨 해당 쓰레드를 종료시키기 위한 시도로서, 다음 스택 트레이스가 생성됩니다.
diff --git a/java/org/apache/catalina/loader/LocalStrings_zh_CN.properties 
b/java/org/apache/catalina/loader/LocalStrings_zh_CN.properties
index 7806f55c97..5f3ff03def 100644
--- a/java/org/apache/catalina/loader/LocalStrings_zh_CN.properties
+++ b/java/org/apache/catalina/loader/LocalStrings_zh_CN.properties
@@ -50,7 +50,7 @@ webappClassLoader.resourceModified=资源[{0}]已被修改。上次修改时间
 webappClassLoader.restrictedPackage=安全冲突,尝试使用受限类[{0}]
 webappClassLoader.securityException=尝试在findClassInternal[{1}]中查找类[{0}]时出现安全异常
 
webappClassLoader.stackTrace=Web应用程序[{0}]似乎启动了一个名为[{1}]的线程,但未能停止它。这很可能会造成内存泄漏。线程的堆栈跟踪:[{2}]
-webappClassLoader.stackTraceRequestThread=web应用程序[{0}]仍在处理一个尚未完成的请求。这很可能会造成内存泄漏。您可以使用标准上下文实现的unloadDelay属性来控制请求完成所允许的时间。请求处理线程的堆栈跟踪:[{2}]
+webappClassLoader.stackTraceRequestThread=web应用程序[{0}]中的线程[{1}]仍在处理一个尚未完成的请求。这很可能会造成内存泄漏。您可以使用标准上下文实现的unloadDelay属性来控制请求完成所允许的时间。请求处理线程的堆栈跟踪:[{2}]
 webappClassLoader.stopThreadFail=为web应用程序[{1}]终止线程[{0}]失败
 webappClassLoader.stopTimerThreadFail=无法终止名为[{0}]的TimerThread,web应用程序:[{1}]
 
webappClassLoader.stopped=非法访问:此Web应用程序实例已停止。无法加载[{0}]。为了调试以及终止导致非法访问的线程,将抛出以下堆栈跟踪。


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

Reply via email to