Author |
Message
|
ec10024 |
Posted: Mon Jul 25, 2016 1:44 am Post subject: Decision Service Query |
|
|
Novice
Joined: 30 Jun 2016 Posts: 15
|
I am importing rules in IIB and using decision service.I have created the configurgable service and decision service repository.But , while executing I am getting the following exception.
Code: |
Type:INTEGER:14
Text:CHARACTER:com.bnsf.mech.da.am.AM_Orchestration_MF.AM_CRECall_SF.AM_DecisionServiceRouting_SF.Decision Service
RecoverableException
File:CHARACTER:F:\build\S1000_slot1\S1000_P\src\DataFlowEngine\PluginInterface\com_ibm_broker_plugin_CMbService.cpp
Line:INTEGER:1939
Function:CHARACTER:ImbJavaExceptionUtils::throwableToNativeException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4367
Text:CHARACTER:Unhandled exception in plugin method.
Insert
Type:INTEGER:5
Text:CHARACTER:evaluate
Insert
Type:INTEGER:5
Text:CHARACTER:AM_CRECall_SF.AM_DecisionServiceRouting_SF.Decision Service
Insert
Type:INTEGER:5
Text:CHARACTER:ilog.rules.res.model.IlrResourceRuntimeException: A resource provider error occurred during the loading.
RecoverableException
File:CHARACTER:F:\build\S1000_slot1\S1000_P\src\DataFlowEngine\PluginInterface\com_ibm_broker_plugin_CMbService.cpp
Line:INTEGER:1957
Function:CHARACTER:ImbJavaExceptionUtils::throwableToNativeException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4395
Text:CHARACTER:Unhandled exception in plugin method
Insert
Type:INTEGER:5
Text:CHARACTER:ilog.rules.res.model.IlrResourceRuntimeException
Insert
Type:INTEGER:5
Text:CHARACTER:ilog.rules.res.model.internal.IlrRepositoryFactoryImpl
Insert
Type:INTEGER:5
Text:CHARACTER:loadRepository
Insert
Type:INTEGER:5
Text:CHARACTER:IlrRepositoryFactoryImpl.java
Insert
Type:INTEGER:2
Text:CHARACTER:179 |
Can anyone help me in this?? |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 25, 2016 4:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You need to find out why ILOG thinks it cannot load its repository.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ec10024 |
Posted: Mon Jul 25, 2016 4:35 am Post subject: |
|
|
Novice
Joined: 30 Jun 2016 Posts: 15
|
can you please elaborate.I am a newbie in ODM? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 25, 2016 4:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ec10024 wrote: |
I am a newbie in ODM? |
The typical newbie mistake is to use the actual values for database, server and port in the configurable service rather than treating it like the template it is and having IIB inserting the values. See here, and pay particular attention to this phrase:
Quote: |
connectionUrlFormat. A pattern that represents the connection URL definition, which is specific to a particular database type. For example, the pattern for DB2 is defined with the following content:
Code: |
jdbc:db2://[serverName]:[portNumber]/[databaseName]:user=[user];password=[password]; |
The pattern is used and completed by the broker at run time when it connects to the database. The values in brackets, for example [serverName], are substituted by the broker into the pattern by using the values that you have specified on the mqsicreateconfigurableservice, mqsichangeproperties, or mqsisetdbparms commands.
|
_________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ec10024 |
Posted: Mon Jul 25, 2016 5:07 am Post subject: |
|
|
Novice
Joined: 30 Jun 2016 Posts: 15
|
Yeah, I have used the default connectionUrl format and not subtituted any values , But I am facing the following exception , which I don't have any idea??
ilog.rules.res.model.IlrResourceRuntimeException: Resource provider error during loading. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 25, 2016 5:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ec10024 wrote: |
ilog.rules.res.model.IlrResourceRuntimeException: Resource provider error during loading. |
I tend to concur with my worthy associate. If you're certain that you've correctly connected to ODM, the next most likely explanation is that it's an error from ODM itself.
Assuming you've enabled IIB to use ODM. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ec10024 |
Posted: Mon Jul 25, 2016 5:45 am Post subject: |
|
|
Novice
Joined: 30 Jun 2016 Posts: 15
|
Quote: |
Assuming you've enabled IIB to use ODM |
whether it means regarding the Decision Service Repository configurable service!!! |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 25, 2016 5:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ec10024 wrote: |
Quote: |
Assuming you've enabled IIB to use ODM |
whether it means regarding the Decision Service Repository configurable service!!! |
I meant the -x parameter as described here _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ec10024 |
Posted: Mon Jul 25, 2016 6:01 am Post subject: |
|
|
Novice
Joined: 30 Jun 2016 Posts: 15
|
yeah , it was executed earlier while testing. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 25, 2016 6:16 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
ec10024 wrote: |
yeah , it was executed earlier while testing. |
So not that then.
I'd ask the ODM people if you've got the right rules names, permissions, etc. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 25, 2016 6:20 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
FWIW we tried this and ended up exposing ODM as a series of web services that IIB calls with a SOAPRequest node. We found it easier and lined IIB up with the other ODM consumers on site.
I think the fact it saved us the extra IIB license that -x parameter needs didn't hurt either. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ec10024 |
Posted: Mon Jul 25, 2016 7:49 am Post subject: |
|
|
Novice
Joined: 30 Jun 2016 Posts: 15
|
thanks vitor for all your help. |
|
Back to top |
|
 |
|