Hide Forgot
Workaround Description: Drop the .properties files into jbrules.esb, then it all works well. project_key: SOA <action class="org.jboss.soa.esb.actions.BusinessRulesProcessor" name="testBRMS"> <property name="object-paths"> <object-path esb="body.orderHeader"/> <object-path esb="body.customer"/> </property> <property name="ruleAgentProperties" value="brmsPriorityRules.properties"/> </action> The brmsPriorityRules.properties needs to be dropped into the jbrules.esb (or some other place in the classpath) it is not read from the .esb archive (zipped nor exploded). Attached is the JBDS project. The .esb archive from the deploy directory (.properties file inside) A repository export for the BRMS
Attachment: Added: ESBTestBRMS.zip Attachment: Added: repository_export(5).zip Attachment: Added: ESBTestBRMS.esb
Workaround Description: Added: Drop the .properties files into jbrules.esb, then it all works well.
java.lang.NullPointerException java.util.Properties$LineReader.readLine(Properties.java:435) java.util.Properties.load0(Properties.java:354) java.util.Properties.load(Properties.java:342) org.drools.agent.RuleAgent.loadFromProperties(RuleAgent.java:299) org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:273)
This seems to have been caused by two issues, the fact that the drools code base did not refer to the TCCL and the fact that the initial http support caused the esb deployment to be scoped. In SOA 5.1 we parse the properties ourselves and we have created a separate deployment for the http/ebws aspects.