Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

アップグレード後にバックグラウンダーがダウンし、ログには "コンテキストの初期化に失敗しました" および "クラスパス リソース [...] は存在しないため、開くことができません" と記録される

公開日: Dec 9, 2022
説明

アップグレードに成功した後、一部またはすべてのノードで一部またはすべてのバックグラウンダーが起動せず、再起動した後もエラー状態のままで変わりません。 

アップグレード後の再起動ジョブはタイムアウトになり、次のようなメッセージが tabadmincontroller_node1-0.log に出力されます。

2021-06-29 19:39:27.423 -0500 pool-21-thread-1 : INFO com.tableausoftware.tabadmin.webapp.impl.status.ServiceStatusWatcher - 30 services have reached their expected state (30 のサービスが期待されている状態に達しました)

2021-06-29 19:39:27.423 -0500 pool-21-thread-1 : INFO com.tableausoftware.tabadmin.webapp.impl.status.ServiceStatusWatcher - node1 has 1 service that isn't running: backgrounder_0.20212.21.0610.0336 (deployment state: ENABLED, process status: DOWN) (node1 で 1 つのサービスが実行されていません: backgrounder_0.20212.21.0610.0336 (展開の状態: 有効、プロセスの状態: DOWN))

2021-06-29 19:39:28.665 -0500 pool-22-thread-1 : ERROR com.tableausoftware.tabadmin.webapp.asyncjobs.AsyncJobService - Timed out after 1800 seconds running job 84 of type StartServerJob (タイプ StartServerJob のジョブ 84 の実行は 1800 秒後にタイムアウトしました)

java.util.concurrent.TimeoutException: null
 

これと前後して、tabadminagent_node1-0.log には次のように出力されます。

2021-06-29 19:37:28.469 -0500 StatusRequestDispatcher-1-request : WARN com.tableausoftware.service.status.BackgrounderStatusFactory - Unexpected HTTP error response (404): (予期しない HTTP エラー応答 (404)) 

2021-06-29 19:37:28.469 -0500 StatusRequestDispatcher-1 : INFO com.tableausoftware.tabadmin.agent.status.ServiceStatusRequestRunner - Posting status update for backgrounder_0: DOWN, detail message: Unexpected HTTP error response (404): (backgrounder_0 のステータス更新を送信しています: DOWN、詳細メッセージ: 予期しない HTTP 応答 (404):)
 

一方で、backgrounder_node1-0.log ファイルには、"このクラスパス リソースは存在しないため、開くことができません" というエラーが連続して出力されます。
 

2021-06-29 19:28:14.221 -0500 (,,,,,,) main : ERROR org.springframework.web.context.ContextLoader - Context initialization failed (コンテキストの初期化に失敗しました)

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.tableausoftware.backgrounder.config.AppConfig]; nested exception is java.io.FileNotFoundException: class path resource [com/tableau/messagebus/config/IConfiguration.class] cannot be opened because it does not exist (構成クラス [com.tableausoftware.backgrounder.config.AppConfig] を解析できませんでした: ネストされた例外は java.io.FileNotFoundException です: クラスパス リソース [com/tableau/messagebus/config/IConfiguration.class] は存在しないため、開くことができません)

tomcat_backgrounder_node1-0.log ファイルには、もう少し詳しい情報が出力されます。
02-Jul-2021 02:12:12.441 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener] (コンテキスト初期化済みイベントをクラス [org.springframework.web.context.ContextLoaderListener] のリスナー インスタンスに送信する処理で例外が発生しました)
	org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.tableausoftware.backgrounder.config.AppConfig]; nested exception is java.io.FileNotFoundException: class path resource [com/tableau/messagebus/config/IConfiguration.class] cannot be opened because it does not exist (構成クラス [com.tableausoftware.backgrounder.config.AppConfig] を解析できませんでした: ネストされた例外は java.io.FileNotFoundException です: クラスパス リソース [com/tableau/messagebus/config/IConfiguration.class] は存在しないため、開くことができません)


 

Cause

この問題は現在、Tableau の開発チームが ID 1299520 で調査中です。
解決策
次のいずれかの回避策を使用します

オプション 1
  1. tsm stop を実行します。
  2. コマンド ライン インターフェイス (管理者として実行) を開き、実行されていないバックグラウンドプロセスの services フォルダーに移動します。この場合、4 つのうちの 1 番目と 2 番目の両方がエラー状態です。
    例:
    C:\ProgramData\Tableau\Tableau Server\data\tabsvc\services\backgrounder_0.20212.21.0712.0907 (実行されていない最初のバックグラウンダー)
  3. uninstall.cmd を実行します。
    例:
    C:\ProgramData\Tableau\Tableau Server\data\tabsvc\services\backgrounder_0.20212.21.0712.0907 >uninstall.cmd
  4. uninstall.cmd が成功した場合、続けて install.cmd を実行します。
    例:
    C:\ProgramData\Tableau\Tableau Server\data\tabsvc\services\backgrounder_0.20212.21.0712.0907 >install.cmd
  5. tsm start を実行します。
  6. tsm status -v でステータスを確認します。

オプション 2
Tableau Server のターゲット バージョンを完全消去し、インストールし、バックアップから復元します。
 
ナレッジ記事番号

001474376

 
読み込み中
Salesforce Help | Article