Rule Builder > Debugging and Profiling > Testing the Execution of a Ruleset > Setting the Software Asset Management Application Name

The first time you start an engine, you may receive a warning message in the console window requesting the Software Asset Management (SAM) application name for your system. This only occurs if more than one project in your company uses ILOG JRules to develop business rule applications. You can get rid of this message by setting the SAM application name.

In the ILOG JRules distribution there is a JAR file called sam.jar. This JAR file must be on the class path of any business rule applications developed with JRules. If you are using jrules_classpath.xml to set your classpath, this will automatically be done for you.

In the situation where more than one business rule application is being developed with JRules, you must specify the SAM application name for each application. You can do this using a JRules property: ilog.sam.application. A quick way to do this is to modify the <InstallDir>/bin/RuleBuilder/build.xml file and add the following setting in the <arg line="..."/> tag:

-P ilog.sam.application=MyApplication

For more information on JRules properties see the Rule Builder Customization User's Manual.

If you do not know your SAM application name, run your application without setting the application name and look at the Console output. In the warning message that is displayed you will see a list of the possible SAM application names. If no message is displayed, you probably only have one application and the SAM application name does not need to be set. For more information see the ILOG Customer Support Web site.


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT