Thursday, 29 August 2013

sonar 3.5.1 installation error in tomcat 6.0.32 plugin name org.sonar.l10n.gwt

sonar 3.5.1 installation error in tomcat 6.0.32 plugin name
org.sonar.l10n.gwt

After deploying jenkins successfully into tomcat on Linux RED HAT 6.1
(64b), I tried to deploy war sonar file (3.5.1 version)
Sonar doesn't start because of a resource bundle error:
2013.08.29 10:37:04 ERROR o.s.s.p.Platform Can't find bundle for base
name org.sonar.l10n.gwt, locale en
java.util.MissingResourceException: Can't find bundle for base name
org.sonar.l10n.gwt, locale en at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1539)
~[na:1.6.0_20]
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1278)
~[na:1.6.0_20]
I searched on a Codehaus repo and I found various versions of
org.soanr.l10n.gwt (Spanish, Japanese, French, Chinese) but no en version.
I think that's a problem. I tried to force locale to French in catalina.sh
but this doesn't work:
if [ -z "$LOGGING_MANAGER" ]; then
JAVA_OPTS="$JAVA_OPTS
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Duser.language=fr -Duser.region=FR"
else
JAVA_OPTS="$JAVA_OPTS $LOGGING_MANAGER -Duser.language=fr -Duser.region=FR"
fi

No comments:

Post a Comment