Donnerstag, 22. August 2013

Unable to start Rule Studio of WODM aka JRules

I ran into a situation where the rule studio component of JRules 7.1.14 doesn't start anymore. While tumbling around I found out that the Rule Studio.exe just fires up an ant script behind the scenes to start eclipse.
The config of all that desaster lives in \shared\bin. If you have a look at the build.xml in here you'll find a target called runrulestudio. This is the target, which the standard starter fires up. You could even configure your permsize and other config flags here.

As I blamed some misconfiguration of my windows profile or my machine I just wrote a small ant starter to fire the RuleStudio with the environment of my joice like this:

set INSTALLDIR=C:\Program Files (x86)\IBM\WebSphereILOGJRules711
set ANT_HOME=%INSTALLDIR%\shared\tools\ant
set PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin


cd %INSTALLDIR%\shared\bin

ant runrulestudio -Declipse.location="%INSTALLDIR%\eclipse"

well and that does the trick. Rule Studio starts up again