Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
Spring Module JSR94 Blaze Advisor Configuration Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Module JSR94 Blaze Advisor Configuration


    I don't know how to configure Spring Module JSR94 to use Blaze Advisor 6.1 for Java.

    This is part of my app-context.xml

    <bean id="ruleServiceProviderBlaze" class="org.springmodules.jsr94.factory.DefaultRule ServiceProviderFactoryBean">
    <property name="provider" value="com.blazesoft.server.deploy.javax.rules" />
    <property name="providerClass" value="com.blazesoft.server.deploy.javax.rules.bas e.NdRuleServiceProvider" />

    <bean id="ruleRuntimeBlaze" class="org.springmodules.jsr94.factory.RuleRuntime FactoryBean">
    <property name="serviceProvider">
    <ref local="ruleServiceProviderBlaze" />

    <bean id="ruleAdministratorBlaze" class="org.springmodules.jsr94.factory.RuleAdminis tratorFactoryBean">
    <property name="serviceProvider">
    <ref local="ruleServiceProviderBlaze" />

    <bean id="helloWorldBeanBlaze" class="org.springmodules.jsr94.core.Jsr94Template" >
    <property name="ruleSource">
    <bean class="org.springmodules.jsr94.rulesource.DefaultR uleSource">
    <property name="ruleRuntime" ref="ruleRuntimeBlaze" />
    <property name="ruleAdministrator" ref="ruleAdministratorBlaze" />
    <property name="source" value="./JSR94.server" />
    <property name="bindUri" value="JSR94" />


    i don't know how to configure the last marked lines, I understood that "source value" need be to have the JSR94 server (Blaze Advisor deployment descriptor) and the "bindUri" is the name of the Deploy Service config (in Blaze <Name>JSR94</Name> for example).

    When I tried to run my code, i got this error:

    at com.blazesoft.server.deploy.javax.rules.base.NdRul eRuntime.SiPBdmZ(:85)
    at com.blazesoft.server.deploy.javax.rules.base.NdRul eRuntime.createRuleSession(:70)
    at org.springmodules.jsr94.rulesource.AbstractRuleSou rce.createSession(
    at org.springmodules.jsr94.core.Jsr94Template.createR uleSession(
    at org.springmodules.jsr94.core.Jsr94Template.execute Stateless(
    at com.ismarts.rules.managment.ext.SpringRulesManager Service.executeRule( :62)
    at com.ismarts.rules.test.blaze.RulesManagerServiceTe st.testGetRulesManager(RulesManagerServiceTest.jav a:53)

    I attached the trace error, java code and blaze server config file.

    Thanks in advance,

    If somebody have an example please send me it.