generate-java-truststore.sh fails if locale is not set to English or French
Samenvatting: Scripts or tasks will not complete successfully throwing errors of CLI, cannot find base locale
Dit artikel is van toepassing op
Dit artikel is niet van toepassing op
Dit artikel is niet gebonden aan een specifiek product.
Niet alle productversies worden in dit artikel vermeld.
Symptomen
SMRFE:# /opt/APG/bin/generate-java-truststore.sh
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.watch4net.apg.java.cli.CliProgressionListener.<clinit>(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.<clinit>(Resources.java:18)
... 2 more
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.watch4net.apg.java.cli.CliProgressionListener.<clinit>(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.<clinit>(Resources.java:18)
... 2 more
Oorzaak
If the CLI language or locale is set to any other apart from English or French, then you will see the issue.
Monitoring and Reporting software is available in the following languages:
• English
• French
Monitoring and Reporting software is available in the following languages:
• English
• French
Oplossing
Change locale to supported language
The above error shows the locale |language is set to es_ES
View the current settings:
# locale
View available languages:
# locale -a
Change the language to English
# LANG=en_US
# locale
Run the script;
# /opt/APG/bin/generate-java-truststore.sh
The above error shows the locale |language is set to es_ES
View the current settings:
# locale
View available languages:
# locale -a
Change the language to English
# LANG=en_US
# locale
Run the script;
# /opt/APG/bin/generate-java-truststore.sh
Getroffen producten
Storage Monitoring and Reporting, SRM, VNX Family Monitoring and ReportingArtikeleigenschappen
Artikelnummer: 000185536
Artikeltype: Solution
Laatst aangepast: 15 dec. 2022
Versie: 5
Vind antwoorden op uw vragen via andere Dell gebruikers
Support Services
Controleer of uw apparaat wordt gedekt door Support Services.