From the "WebSphere Business Events 7.0 Announced" moved to this new thread:
How to specify ILOG JRules v.7.0.2 for Windows datasource for WBE v.7.0 for Windows?
1) Change ILOG JRules project as described in 'Scenario 1. WebSphere Business Events calls a rule in an existing rules project'
2) Deploy it on built-in Tomcat JRules execution server.
3) In WBE Design Data inserts WebSphere ILOG JRules data source. (WBE runs on WAS v.7.0.)
4) Change the Source property to : http://localhost:8080/DecisionService/ws/Test/1.0/PreTradeChecks/1.0. Then Apply.
5) Reload source -> Nothing....
It seems WBE even does not try to call http://localhost:8080/DecisionService/ws/Test/1.0/PreTradeChecks/1.0.
Note: Then I open http://localhost:8080/DecisionService/ws/Test/1.0/PreTradeChecks/1.0?WSDL in the browser - it displays.
<port name="DecisionServiceSOAPlocalhost" binding="tns:DecisionServiceSOAP">
Pinned topic How to specify ILOG JRules v.7.0.2 for datasource for WBE v.7.0?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-02-01T11:27:42Z at 2011-02-01T11:27:42Z by SystemAdmin
PeterCrocker 11000064273 Posts
Re: How to specify ILOG JRules v.7.0.2 for datasource for WBE v.7.0?2010-01-13T17:05:20ZThis is the accepted answer. This is the accepted answer.Hi,
So far this looks like you have the ILOG JRules data source defined correctly. The next step is to use this data source within an intermediate objects. This is also described in the link you reference and then the following goes into more detail:
The ILOG JRules decision service will only be called when subsequent filters or actions that require the data.
Hope this helps,
SystemAdmin 110000D4XK95 Posts
Re: How to specify ILOG JRules v.7.0.2 for datasource for WBE v.7.0?2011-02-01T11:27:42ZThis is the accepted answer. This is the accepted answer.
- PeterCrocker 1100006427
I follow all the instructions of section Integrating WebSphere ILOG JRules on the same WebSphere Application Server as WebSphere Business Events of the InfoCenter.
The Rule Project is the PreTradeChecks that is described in the tutorial.
I sent an event throught the Web Business Area but I read in the log file of the JRules RES this exception:
Caused by: ilog.rules.engine.IlrUserRuntimeException: null object when invoking public boolean java.lang.String.equals(java.lang.Object)
at condition part of rule 'CheckCustomerName.Bad_Clients'
at call to 'Ruleflow#CheckCustomerName rule task body'
at call to 'Ruleflow flow task body'
at call to 'execute'
It seems that the values that I passed with the event, defined in the Business Space, arrive empty to JRules.
How can I fix this problem?
And after how can I check the response of JRules?