Products | Versions |
---|---|
TIBCO Hawk | - |
Not Applicable | - |
Resolution:
A possible reason is that you have to add the $HAWK_ROOT/java/config.jar and $HAWK_ROOT/java/perltools.jar into your classpath.
There are two ways to add these. One way is:
- Set the classpath in the shell/command window:
- On Unix in csh enter the command:
setenv classpath $classpath:$HAWK_ROOT/java/config.jar:$HAWK_ROOT/java/perltools.jar
- On Windows in the DOS prompt enter:
set classpath=%classpath%;%HAWK_ROOT%/java/config.jar;%HAWK_ROOT%/java/perltools.jar
Another way is to modify the convert30 and convert30.bat files.
- Find where the JARFILES is defined in the convert30 or convert30.bat files. (It is safe to add these lines to both files).
- On Unix modify the following:
JARFILES=$JARFILES:$HAWK_ROOT/java/config.jar
JARFILES=$JARFILES:$HAWK_ROOT/java/perltools.jar
- On Windows add the lines:
JARFILES=%JARFILES%;%HAWK_ROOT%/java/config.jar
JARFILES=%JARFILES%;%HAWK_ROOT%/java/pertools.jar
The modified convert30 or convert30.bat example files are attached.
If you get an error similar to the one below when running the new updated convert30 utility, just ignore it.
ERROR : Failed to convert rulebase <rulebase name>..
Found 0 occurance of loadRuleBase in <rulebase path>/<rulebase name>