<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div>Hi All,</div><div>&nbsp;&nbsp; &nbsp; I have created a Model jar which contains the following class file</div><div>1<b>.transaction.java</b></div><div>&nbsp;&nbsp; &nbsp;class transaction implements inter{</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>int transactionId;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>......</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>void insertObject(){}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>......</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>2. <b>prelim.java</b></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class prelim implements inter{<div><span class="Apple-tab-span" style="white-space: pre; ">        </span>int prelimId;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>.......</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>void insertObject(){}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>........</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div>3. &nbsp;<b>inter.java</b></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>interface inter{</div><div>&nbsp;&nbsp; <span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;void insertObject();</div><div>&nbsp;<span class="Apple-tab-span" style="white-space:pre">        </span>}</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span></div><div>all these 3 are in same package</div><div><br></div><div>Now I have uploaded this jar into Guvnor and it didnt throw any error.</div><div>But the problem is that when I uploaded a spreadsheet which contains rules for transaction class , when I click on validate aftr uploading the spreadsheet it throws the <b>error "inter.java class is not visible"</b></div><div><b><br></b></div><div><b>can any one know whether we can upload the model class files which implements as interface in Guvnor??</b></div><div><b><br></b></div><div>I am using this interface just to upload the object which are there in my ksession after firing all the rules... is there any other way that we can upload the object which are there in ksession onto the oracle database??</div><div>please help me...</div><div>Thank you.</div><div><b><br></b></div><div><b><br></b></div><div><b><br></b></div>Deepak Prabhakar Jambhekar<br>Tata Consultancy Services<br>Think Campus Electronic City<br>Phase 2<br>Bangalore - 560 076,Karnataka<br>India<br>Mailto: <a href="mailto:deepak.jambhekar@tcs.com">deepak.jambhekar@tcs.com</a><br>Website: <a href="http://www.tcs.com">http://www.tcs.com</a><br>____________________________________________<br>Experience certainty.        IT Services<br>                        Business Solutions<br>                        Outsourcing<br>____________________________________________<br><div><br></div><font color="#990099">-----rules-users-bounces@lists.jboss.org wrote: -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">To: rules-users@lists.jboss.org<br>From: ramram8 &lt;ramram858@gmail.com&gt;<br>Sent by: rules-users-bounces@lists.jboss.org<br>Date: 11/26/2009 04:48PM<br>Subject: [rules-users]  Problem with Uploading a Rule File into Guvnor<br><br><font face="Courier New,Courier,monospace" size="3"><br>Hi All <br><br>I have the following problem:<br>When uploading a rule file into Guvnor and this rule file dont contain any<br>split or join the file is uploaded successfully but once I have uploaded a<br>rule file with split and join there is an error in the guvnor telling me<br>unable to generate action invoker.<br><br>Please to help in this issue<br>Below is my rule file: <br><br>&lt;?xml version="1.0" encoding="UTF-8"?&gt; <br>&lt;process xmlns="http://drools.org/drools-5.0/process"<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; xs:schemaLocation="http://drools.org/drools-5.0/process<br>drools-processes-5.0.xsd"<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; type="RuleFlow" name="flow" id="com.fp.userTask"<br>package-name="com.fp" &gt;<br><br>&nbsp;&nbsp;&lt;header&gt;<br>&nbsp;&nbsp; &nbsp;&lt;variables&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;variable name="createUser" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.BooleanDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;false&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/variable&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;variable name="user" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.StringDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/variable&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;variable name="endProcess" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.BooleanDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;true&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/variable&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;variable name="index" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.IntegerDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/variable&gt;<br>&nbsp;&nbsp; &nbsp;&lt;/variables&gt;<br>&nbsp;&nbsp;&lt;/header&gt;<br><br>&nbsp;&nbsp;&lt;nodes&gt;<br>&nbsp;&nbsp; &nbsp;&lt;end id="16" name="End" x="586" y="58" width="48" height="48" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;start id="1" name="Start" x="9" y="160" width="48" height="48" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;humanTask id="3" name="User Task" x="410" y="58" width="75" height="44"<br>&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;work name="Human Task" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;parameter name="ActorId" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.StringDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;#{user}&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/parameter&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;parameter name="Comment" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.StringDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;This is the SubFlow task #{user} &lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/parameter&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;parameter name="Content" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.StringDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;Task after the log process&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/parameter&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;parameter name="Priority" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.StringDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/parameter&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;parameter name="Skippable" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.StringDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;false&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/parameter&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;parameter name="TaskName" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.StringDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;SubFlow Task&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/parameter&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/work&gt;<br>&nbsp;&nbsp; &nbsp;&lt;/humanTask&gt;<br>&nbsp;&nbsp; &nbsp;&lt;split id="5" name="Gateway" x="329" y="160" width="49" height="49"<br>type="2" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;constraints&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;constraint toNodeId="13" name="End Process" priority="2"<br>type="code" dialect="java" &gt;return endProcess;&lt;/constraint&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;constraint toNodeId="3" name="constraint" priority="1" type="code"<br>dialect="java" &gt;return createUser;&lt;/constraint&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/constraints&gt;<br>&nbsp;&nbsp; &nbsp;&lt;/split&gt;<br>&nbsp;&nbsp; &nbsp;&lt;join id="6" name="Gateway" x="72" y="160" width="49" height="49"<br>type="2" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;end id="13" name="End" x="446" y="249" width="48" height="48" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;workItem id="14" name="Log" x="182" y="163" width="80" height="42" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;work name="Log" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;parameter name="Message" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;type<br>name="org.drools.process.core.datatype.impl.type.StringDataType" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;ReSet the Value of createUser to TRUE&lt;/value&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/parameter&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/work&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;mapping type="in" from="index" to="indexParam" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;mapping type="out" from="createUser" to="createUser" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;mapping type="out" from="index" to="index" /&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;mapping type="out" from="user" to="user" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;/workItem&gt;<br>&nbsp;&nbsp; &nbsp;&lt;split id="15" name="Gateway" x="517" y="56" width="49" height="49"<br>type="2" &gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;constraints&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;constraint toNodeId="16" name="End Process" priority="2"<br>type="code" dialect="java" &gt;return endProcess;&lt;/constraint&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;constraint toNodeId="6" name="Create New Task" priority="1"<br>type="code" dialect="java" &gt;return true;&lt;/constraint&gt;<br>&nbsp;&nbsp; &nbsp; &nbsp;&lt;/constraints&gt;<br>&nbsp;&nbsp; &nbsp;&lt;/split&gt;<br>&nbsp;&nbsp;&lt;/nodes&gt;<br><br>&nbsp;&nbsp;&lt;connections&gt;<br>&nbsp;&nbsp; &nbsp;&lt;connection from="15" to="16" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;connection from="5" to="3" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;connection from="14" to="5" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;connection from="1" to="6" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;connection from="15" to="6" bendpoints="[541,30;95,30]" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;connection from="5" to="13" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;connection from="6" to="14" /&gt;<br>&nbsp;&nbsp; &nbsp;&lt;connection from="3" to="15" /&gt;<br>&nbsp;&nbsp;&lt;/connections&gt;<br><br>&lt;/process&gt;<br>-- <br>View this message in context: <a href="http://old.nabble.com/Problem-with-Uploading-a-Rule-File-into-Guvnor-tp26525704p26525704.html">http://old.nabble.com/Problem-with-Uploading-a-Rule-File-into-Guvnor-tp26525704p26525704.html</a><br>Sent from the drools - user mailing list archive at Nabble.com.<br><br>_______________________________________________<br>rules-users mailing list<br>rules-users@lists.jboss.org<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></font>
</blockquote><br></div></FONT><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


</pre>