Monday, 9 November 2015

IBM Operational Decision Manager (ODM) Rules - Get your locale right

This has caught me out on a few ODM Rules builds, so I thought I'd write it down where I cannot forget it ....

When one first provisions an ODM Rules Decision Center (DC), there's a nice little wizard that one runs through to set up the environment.

One of the questions that one might skip past pertains to the locale of the Decision Center repository: -

Set the persistence locale of the repository


Now it'd be quite easy to leave this as-is ... which is the default of English (United States).

However, this might present a problem if one is using the Rule Designer IDE in an English (United Kingdom) / English(Great Britain) locale.

Therefore, it's a good idea to know the locale of the Designer tooling in advance, and set this value accordingly.

As per the above screenshot, I've set this to en_GB which equates to English (Great Britain).

If one forgets to set this, problems may ensue down the line, perhaps meaning that projects need to be removed from, and then re-published to, Decision Center, once the locale has been correctly set.

In Designer, this is configured in a property file: -

C:\IBM\ODM87\configuration\config.ini

#
#Fri Nov 06 15:35:46 GMT 2015
osgi.launcherPath=C\:\\IBM\\ODM87
org.eclipse.update.reconcile=false
eclipse.p2.profile=Operational Decision Manager V8.7 com.ibm.sdp.eclipse.ide
osgi.instance.area.default=@user.home/IBM/ODM/DS/workspace
osgi.nl=en_GB
osgi.framework=file\:/C\:/IBM/IMShared/plugins/org.eclipse.osgi_3.8.2.v20140416-
1442.jar
equinox.use.ds=true
eclipse.buildId=
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.301.v20
120914-163612.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpl
econfigurator/bundles.info
eclipse.product=org.eclipse.sdk.ide
osgi.splashPath=file\:/C\:/IBM/IMShared/plugins/org.eclipse.platform_4.2.2.v2013
02041200/
osgi.launcherIni=eclipse
eclipse.p2.data.area=@config.dir/../p2/
osgi.framework.extensions=reference\:file\:org.eclipse.birt.jetty.overlay_4.2.2.
v201210101433.jar
osgi.bundles.defaultStartLevel=4
IBM_DS_HOME=C\:\\IBM\\ODM87

by adding: -

osgi.nl=en_GB

as seen above.

For future reference, please see: -




No comments: