Created attachment 759436 [details] Exception on login page Description of problem: On a system, where system language is set to something different then EN (english) or ES (Spanish) the following exception is thrown when going to login page of dashbuilder: 09:41:50,237 WARN [org.apache.catalina.authenticator] (http-/127.0.0.1:8080-1) JBWEB000008: Unexpected error forwarding to login page: org.apache.jasper.JasperException: java.util.MissingResourceException: Can't find bundle for base name org.jboss.dashboard.login, locale cs_CZ Version-Release number of selected component (if applicable): Dashbuilder DR5 on EAP 6.1 How reproducible: Always on system with different locale Steps to Reproduce: 1. Setup different system language in you operating system (e.g. czech) 2. Deploy the dashbuilder build DR5 on JBoss EAP 6.1 GA 3. Navigate to login page (http://localhost:8080/bam-app/ in the productized DR5 build) Actual results: The exception is shown (see printscreen and server log attached) Expected results: The login page should be displayed. Additional info: The exception is caused by line: ResourceBundle i18nBundle = ResourceBundle.getBundle("org.jboss.dashboard.login"); in the file dashboard-builder/modules/dashboard-showcase/src/main/webapp/login.jsp Because only 2 resource files are present in dashboard-builder/modules/dashboard-showcase/src/main/resources/org/jboss/dashboard: login_en.properties login_es.properties
Created attachment 759437 [details] Server log with exception
The application supports a specified list of locales (See dashboard-builder/modules/dashboard-commons/src/main/java/org/jboss/dashboard/LocaleManager.java). It also defines a default locale. No matter what is the locale of the host machine where it's installed, the app will always use the supported locales. Github commit: https://github.com/droolsjbpm/dashboard-builder/commit/454199b56d9ac362c97927c8c596f476a198cf12
Currently only the english (default) and spanish languages are supported. For the BPMS 6 release we'll support other languages such as Japanase or German. From the user perspective you can start a session in a given language by invoking dashbuilder with the following URL: http://host:port?locale=en (it accepts any of the supported locales: en, en_US, es, ja, etc).
Verified with BPMS 6.0.0.ER2