Hi All,
     I have created a Model jar which contains the following class file
1.transaction.java
    class transaction implements inter{
int transactionId;
......
void insertObject(){}
......
}
2. prelim.java
     class prelim implements inter{
int prelimId;
.......
void insertObject(){}
........
}
3.  inter.java
interface inter{
    void insertObject();
  }
all these 3 are in same package

Now I have uploaded this jar into Guvnor and it didnt throw any error.
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 error "inter.java class is not visible"

can any one know whether we can upload the model class files which implements as interface in Guvnor??

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??
please help me...
Thank you.



Deepak Prabhakar Jambhekar
Tata Consultancy Services
Think Campus Electronic City
Phase 2
Bangalore - 560 076,Karnataka
India
Mailto: deepak.jambhekar@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________

-----rules-users-bounces@lists.jboss.org wrote: -----

To: rules-users@lists.jboss.org
From: ramram8 <ramram858@gmail.com>
Sent by: rules-users-bounces@lists.jboss.org
Date: 11/26/2009 04:48PM
Subject: [rules-users] Problem with Uploading a Rule File into Guvnor


Hi All

I have the following problem:
When uploading a rule file into Guvnor and this rule file dont contain any
split or join the file is uploaded successfully but once I have uploaded a
rule file with split and join there is an error in the guvnor telling me
unable to generate action invoker.

Please to help in this issue
Below is my rule file:

<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://drools.org/drools-5.0/process"
         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
         xs:schemaLocation="http://drools.org/drools-5.0/process
drools-processes-5.0.xsd"
         type="RuleFlow" name="flow" id="com.fp.userTask"
package-name="com.fp" >

  <header>
    <variables>
      <variable name="createUser" >
        <type
name="org.drools.process.core.datatype.impl.type.BooleanDataType" />
        <value>false</value>
      </variable>
      <variable name="user" >
        <type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
        <value></value>
      </variable>
      <variable name="endProcess" >
        <type
name="org.drools.process.core.datatype.impl.type.BooleanDataType" />
        <value>true</value>
      </variable>
      <variable name="index" >
        <type
name="org.drools.process.core.datatype.impl.type.IntegerDataType" />
      </variable>
    </variables>
  </header>

  <nodes>
    <end id="16" name="End" x="586" y="58" width="48" height="48" />
    <start id="1" name="Start" x="9" y="160" width="48" height="48" />
    <humanTask id="3" name="User Task" x="410" y="58" width="75" height="44"
>
      <work name="Human Task" >
        <parameter name="ActorId" >
          <type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
          <value>#{user}</value>
        </parameter>
        <parameter name="Comment" >
          <type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
          <value>This is the SubFlow task #{user} </value>
        </parameter>
        <parameter name="Content" >
          <type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
          <value>Task after the log process</value>
        </parameter>
        <parameter name="Priority" >
          <type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
        </parameter>
        <parameter name="Skippable" >
          <type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
          <value>false</value>
        </parameter>
        <parameter name="TaskName" >
          <type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
          <value>SubFlow Task</value>
        </parameter>
      </work>
    </humanTask>
    <split id="5" name="Gateway" x="329" y="160" width="49" height="49"
type="2" >
      <constraints>
        <constraint toNodeId="13" name="End Process" priority="2"
type="code" dialect="java" >return endProcess;</constraint>
        <constraint toNodeId="3" name="constraint" priority="1" type="code"
dialect="java" >return createUser;</constraint>
      </constraints>
    </split>
    <join id="6" name="Gateway" x="72" y="160" width="49" height="49"
type="2" />
    <end id="13" name="End" x="446" y="249" width="48" height="48" />
    <workItem id="14" name="Log" x="182" y="163" width="80" height="42" >
      <work name="Log" >
        <parameter name="Message" >
          <type
name="org.drools.process.core.datatype.impl.type.StringDataType" />
          <value>ReSet the Value of createUser to TRUE</value>
        </parameter>
      </work>
      <mapping type="in" from="index" to="indexParam" />
      <mapping type="out" from="createUser" to="createUser" />
      <mapping type="out" from="index" to="index" />
      <mapping type="out" from="user" to="user" />
    </workItem>
    <split id="15" name="Gateway" x="517" y="56" width="49" height="49"
type="2" >
      <constraints>
        <constraint toNodeId="16" name="End Process" priority="2"
type="code" dialect="java" >return endProcess;</constraint>
        <constraint toNodeId="6" name="Create New Task" priority="1"
type="code" dialect="java" >return true;</constraint>
      </constraints>
    </split>
  </nodes>

  <connections>
    <connection from="15" to="16" />
    <connection from="5" to="3" />
    <connection from="14" to="5" />
    <connection from="1" to="6" />
    <connection from="15" to="6" bendpoints="[541,30;95,30]" />
    <connection from="5" to="13" />
    <connection from="6" to="14" />
    <connection from="3" to="15" />
  </connections>

</process>
--
View this message in context: http://old.nabble.com/Problem-with-Uploading-a-Rule-File-into-Guvnor-tp26525704p26525704.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

=====-----=====-----=====
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