Yerel ayar İngilizce veya Fransızca olarak ayarlanmamışsa generate-java-truststore.sh başarısız olur

Summary: Komut dosyaları veya görevler başarıyla tamamlanmaz ve CLI hataları verir, temel yerel ayarlar bulamıyor

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 dili veya yerel ayarı İngilizce ya da Fransızca dışında başka bir dile ayarlanmışsa sorunla karşılaşırsınız. 
 
İzleme ve Raporlama yazılımı aşağıdaki dillerde mevcuttur:
• İngilizce
• Fransızca


Resolution

Yerel ayarı desteklenen bir dile değiştirin

Yukarıdaki hatada yerel ayar gösterilir | dil es_ES olarak ayarlanmış


Mevcut ayarları görüntüleyin:
# locale

Kullanılabilir dilleri görüntüleyin:
# locale -a

Dili İngilizce olarak değiştirin:
# LANG=en_US
# locale

Şu komut dosyasını çalıştırın:
# /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.