laptop and a wrench

不具合

In Java ADF, the application server thread pool size does not shrink after session expiry in OC4J 10.1.3.1.

最後に公開された状態: August 25, 2014 No Product Found
不具合 ID 番号 NIM040011
送信されましたNovember 11, 2008
最終更新日April 2, 2025
適用対象No Product Found
見つかったバージョン9.2
プログラム言語Java
修正されたバージョン9.3
ステータスFixed

対処法

Write a httpsessionlistener class which will explicitly close all the app server threadspackage com.esri.helper;import javax.servlet.http.*; public class MySessionListenerimplements HttpSessionListener { public MySessionListener() {}public void sessionCreated(HttpSessionEvent sessionEvent) { }public void sessionDestroyed(HttpSessionEvent sessionEvent) { HttpSession session = sessionEvent.getSession();try{/*mapContext is the managed-bean-name defined for WebContext in faces config <managed-bean-name>mapContext</managed-bean-name> <managed-bean-class>com.esri.adf.web.data.WebContext</managed-bean-class> <managed-bean-scope>session</managed-bean-scope> */ com.esri.adf.web.data.WebContext ctx = (com.esri.adf.web.data.WebContext) session.getAttribute("mapContext");com.esri.adf.web.util.GroupThreadPool gt = ctx.getThreadPool();gt.shutdown(true);}catch(Exception e){ e.printStackTrace(); }}}

再現の手順

不具合 ID: NIM040011

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動