ロケールが英語またはフランス語に設定されていないとgenerate-java-truststore.shが失敗する

Summary: スクリプトまたはタスクが正常に完了せず、CLIのエラーがスローされ、ベース ロケールが見つかりません

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

SMRFE:# /opt/APG/bin/generate-java-truststore.sh 
Exception in thread "main" java.lang.ExceptionInInitializerError
       at com.watch4net.apg.java.cli.CliProgressionListener.(CliProgressionListener.java:26)
       at com.watch4net.apg.java.cli.GenerateTruststoreCli.main(GenerateTruststoreCli.java:62)
Caused by: java.util.MissingResourceException: Can't find bundle for base name com.watch4net.apg.java.locale.resources, locale es_ES
       at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1581)
       at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)
       at java.util.ResourceBundle.getBundle(ResourceBundle.java:782)
       at com.watch4net.apg.java.locale.Resources.(Resources.java:18)
       ... 2 more

Cause

CLI言語またはロケールが英語またはフランス語以外に設定されていると、この問題が発生します。
 
モニタリングおよびレポート作成ソフトウェアは、次の言語で使用できます。
•英語
• フランス語


Resolution

ロケールをサポートされている言語に変更します。

上記のエラーでは、ロケール/言語がes_ESに設定されていると表示されています。

 
現在の設定を表示します。
# locale
 
使用可能な言語を表示します。
# locale -a
 
言語を英語に変更します。
# LANG=en_US
# locale
 
次のスクリプトを実行します。
# /opt/APG/bin/generate-java-truststore.sh

Affected Products

Storage Monitoring and Reporting, SRM, VNX Family Monitoring and Reporting
Article Properties
Article Number: 000185536
Article Type: Solution
Last Modified: 15 Dec 2022
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.