generate-java-truststore.sh fails if locale is not set to English or French
Resumen: Scripts or tasks will not complete successfully throwing errors of CLI, cannot find base locale
Este artículo se aplica a
Este artículo no se aplica a
Este artículo no está vinculado a ningún producto específico.
No se identifican todas las versiones del producto en este artículo.
Síntomas
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
Causa
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
Resolución
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
Productos afectados
Storage Monitoring and Reporting, SRM, VNX Family Monitoring and ReportingPropiedades del artículo
Número del artículo: 000185536
Tipo de artículo: Solution
Última modificación: 15 dic 2022
Versión: 5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.