Skip to Main Content

Intelligent Advisor

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

unable to invoke rule by java batch process?

2697105Oct 15 2014 — edited Oct 21 2014

Have created a simple rule name JavaBatch which has two attributes :

A,b both are number

pastedImage_1.png

Below are the rules created in excel

|

[p1] bb

|
|

[50] 50

|

[p2 > 10] aa > 10

|
|

[uncertain] uncertain

|

otherwise

|

Have located the javaBatch.zip folder in D:\OPA\V44805-01\examples\rulebases\compiled

below is the config.xml file

<configuration>
<options>
<base>global</base>
<rulebase>../../rulebases/compiled/JavaBatch.zip</rulebase>
<database>

<url>jdbc:oracle:thin:AppDB/AppDB@172.19.8.159:1521:OIM</url>
<driver>oracle.jdbc.OracleDriver</driver>
<driversrc>.\lib\ojdbc5.jar</driversrc>
</database>
<output type="db" />
</options>
<mappings>

    \<mapping entity="global" table="TestB" primary-key="A">  
        \<attribute name="A" field="A" />  
        \<attribute name="b" field="B" output="true"/>  
    \</mapping>  
\</mappings>  

</configuration>
database table are:

pastedImage_26.png

and also placed config.xml file in D:\OPA\V44805-01\examples\determinations-batch\AA

run the batch command in D:\OPA\V44805-01\examples\determinations-batch\AA as below

pastedImage_31.png

is there any kind of configuration setting -Please suggest me to solve issue .

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 18 2014
Added on Oct 15 2014
1 comment
885 views