Re: [rules-users] Rule Template doesn't show up in Test Scenario

2012-11-08 Thread Michael Anstis
Looking at the source code I would expect them to be listed.

Could you please create a JIRA at
https://issues.jboss.org/browse/GUVNORand attach a repository extract
demonstrating the problem.

Thanks.

On 31 October 2012 20:41, rockford ken.hel...@iprocesses.com wrote:

 Hi,

 I am using Drools 5.4.0 Guvnor. I created a Rule Template and I would to
 test it with a Test Scenario. However, when I try to show the rules to fire
 in the test, the newly created (and saved) Rule Template doesn't show up in
 the rule list. Newly created ordinary rules show up properly in the list,
 but not a Rule Template.  Has anyone tried this and got it to work?

 Ken



 --
 View this message in context:
 http://drools.46999.n3.nabble.com/Rule-Template-doesn-t-show-up-in-Test-Scenario-tp4020631.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

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


Re: [rules-users] Rule Template doesn't show up in Test Scenario

2012-11-08 Thread Michael Anstis
Sorry, I see you have already raised one:
https://issues.jboss.org/browse/GUVNOR-1966

On 8 November 2012 09:20, Michael Anstis michael.ans...@gmail.com wrote:

 Looking at the source code I would expect them to be listed.

 Could you please create a JIRA at https://issues.jboss.org/browse/GUVNORand 
 attach a repository extract demonstrating the problem.

 Thanks.


 On 31 October 2012 20:41, rockford ken.hel...@iprocesses.com wrote:

 Hi,

 I am using Drools 5.4.0 Guvnor. I created a Rule Template and I would to
 test it with a Test Scenario. However, when I try to show the rules to
 fire
 in the test, the newly created (and saved) Rule Template doesn't show up
 in
 the rule list. Newly created ordinary rules show up properly in the
 list,
 but not a Rule Template.  Has anyone tried this and got it to work?

 Ken



 --
 View this message in context:
 http://drools.46999.n3.nabble.com/Rule-Template-doesn-t-show-up-in-Test-Scenario-tp4020631.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users



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


Re: [rules-users] How to use a Template File created in Guvnor in java code

2012-11-08 Thread Michael Anstis
Hi,

If you want to simply use rules created in Guvnor in your application there
are (at least) 2 ways:-

(1) Use a KnowledgeAgent to download the binary rules from Guvnor. See the
guvnor-examples for an example.

(2) Use REST to download the rules' source DRL and add this to a
KnowledgeBuilder. See the Guvnor documentation about REST.

If you really want to import the asset from Guvnor into Eclipse (using, I
presume WEBDAV?) you will need to dig a bit.

org.drools.ide.common.server.util.BRXMLPersistence.unmarshal(String xml)
will allow you you to create a
org.drools.ide.common.client.modeldriven.brl.RuleModel from the XML.

You can then use
org.drools.guvnor.server.util.BRDRTPersistence.marshal(RuleModel model) to
get to the DRL.

With kind regards,

Mike

On 5 November 2012 21:42, dme1 meh...@hotmail.com wrote:

 Hi,

 I have created a template in Guvnor and exported to Eclipse. The file is in
 the org.drools.guvnor.client.modeldriven.dt.TemplateModel format when
 exported to guvnor. I want to use this within a Java application, for which
 I believe I will have to convert to .drl. How do I convert this file to
 .drl for use within a java app.

 Thanks,
 dme



 --
 View this message in context:
 http://drools.46999.n3.nabble.com/How-to-use-a-Template-File-created-in-Guvnor-in-java-code-tp4020713.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

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


Re: [rules-users] decission table with xlsx extension is not getting compiled

2012-11-08 Thread Michael Anstis
Unfortunately we use http://jexcelapi.sourceforge.net/ to parse Excel
files. This only supports up to Office 2003.

One day in a galaxy far, far away we do intend to move to Apache POI:
https://issues.jboss.org/browse/JBRULES-3549 that supports XLSX.

On 8 November 2012 06:51, himansu.nayak himansu...@gmail.com wrote:

 Hi,
 i am using xlsx file extension worksheet( office 2007) for my decision
 table
 and i m getting the below exception.

 *org.drools.template.parser.DecisionTableParseException: An error occurred
 opening the workbook. It is possible that the encoding of the document did
 not match the encoding of the reader.
 *

 do i have to use only xls file in drools 5 ?



 -
 Thanks...
 Himansu
 --
 View this message in context:
 http://drools.46999.n3.nabble.com/decission-table-with-xlsx-extension-is-not-getting-compiled-tp4020744.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

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


[rules-users] Working with Drools PipelineFactory

2012-11-08 Thread amit
HI,

Does Drools 5.4.0 supports PipelineFactory.

Any sample application regarding the same.

Anu pointers will be useful.

I have gone through link

http://www.kijanowski.eu/index.php?site=articlesarticle=drools_pipelinelang=en



--
View this message in context: 
http://drools.46999.n3.nabble.com/Working-with-Drools-PipelineFactory-tp4020750.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Working with Drools PipelineFactory

2012-11-08 Thread Mark Proctor
Use the drools-camel extension:
http://docs.jboss.org/drools/release/5.4.0.Final/droolsjbpm-integration-docs/html/ch.server.html

Mark
On 8 Nov 2012, at 11:43, amit amit.aggar...@pb.com wrote:

 HI,
 
 Does Drools 5.4.0 supports PipelineFactory.
 
 Any sample application regarding the same.
 
 Anu pointers will be useful.
 
 I have gone through link
 
 http://www.kijanowski.eu/index.php?site=articlesarticle=drools_pipelinelang=en
 
 
 
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Working-with-Drools-PipelineFactory-tp4020750.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


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


Re: [rules-users] Best practice to use heap memory effectively

2012-11-08 Thread mohan
Even though i have upgraded my application (jboss-6.1.0.Final, Jboss ESB
4.11,drools-5.3.1.Final,mvel2-2.1.0.drools4) still I’m facing memory leak.
Application reached 15 GB heap while it ran 4 hours. While going through
series of forum post now I suspect that single StatefulSession cause the
damage (without dispose).
Still I couldn’t track the approach to use one very large long-running
StatefulKnowledgeSession containing all relevant operational data(facts) and
trigger reasoning process over  my CEP events (especially streaming events).
To be more precise below I’ll mention my use case.

•   I have X number of Cells have to pre-loaded in to WM.
•   If customer(c1) make a call (voice event) inside Cell(A) need to offer
free data product. -- insert customer(c1) to WM
•   Same customer(c1) not eligible for offer for subsequent calls made 
inside
Cell(A) during next 24 hours. --After 24 hours  customer(c1) fact retract
from WM.

How can we decide exact time finishes using the session to dispose? How can
we achieve above case (fusion sliding window) without single session?  




--
View this message in context: 
http://drools.46999.n3.nabble.com/Best-practice-to-use-heap-memory-effectively-tp4020194p4020753.html
Sent from the Drools: User forum mailing list archive at Nabble.com.

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


Re: [rules-users] Drools Guvnor API information?

2012-11-08 Thread fanat1k_ua
I had been looking for a long time until I looked into sources:
https://github.com/droolsjbpm/guvnor/blob/master/guvnor-webapp-drools/src/test/java/org/drools/guvnor/server/jaxrs/BasicPackageResourceIntegrationTest.java
(e.g. method testCreateAndUpdateAndDeletePackageFromAtom() )
I used this resource to create my own rest API that now works fine.
With webdav api I had big problems! Guvnor throws a lot of exceptions in the
log and sometimes completely stops working even web-interface. (used sardine
library).




--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Guvnor-API-information-tp2471798p4020758.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools Guvnor API information?

2012-11-08 Thread Cedric Hurst
I wound up creating a Java-based facade for Guvnor a couple weeks back to 
support ant-based deployment.  Feel free to compare notes with what I came up 
with here:

https://gist.github.com/4039422 

--
Build Smarter Software.

Spantree Technology Group, LLC
813 W Randolph St, Suite 301, Chicago, IL
email: ced...@spantree.net (mailto:ced...@spantree.net) | phone: 773.359.3865 
(tel:773.359.3865)


On Thursday, November 8, 2012 at 9:12 AM, fanat1k_ua wrote:

 I had been looking for a long time until I looked into sources:
 https://github.com/droolsjbpm/guvnor/blob/master/guvnor-webapp-drools/src/test/java/org/drools/guvnor/server/jaxrs/BasicPackageResourceIntegrationTest.java
 (e.g. method testCreateAndUpdateAndDeletePackageFromAtom() )
 I used this resource to create my own rest API that now works fine.
 With webdav api I had big problems! Guvnor throws a lot of exceptions in the
 log and sometimes completely stops working even web-interface. (used sardine
 library).
 
 
 
 
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Drools-Guvnor-API-information-tp2471798p4020758.html
 Sent from the Drools: User forum mailing list archive at Nabble.com 
 (http://Nabble.com).
 ___
 rules-users mailing list
 rules-users@lists.jboss.org (mailto:rules-users@lists.jboss.org)
 https://lists.jboss.org/mailman/listinfo/rules-users
 
 


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


Re: [rules-users] How to use a Template File created in Guvnor in java code

2012-11-08 Thread dme1
Thanks I will try this out.

dme.



--
View this message in context: 
http://drools.46999.n3.nabble.com/How-to-use-a-Template-File-created-in-Guvnor-in-java-code-tp4020713p4020760.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Test Scenario not firing rule when a ruleflow-group is defined

2012-11-08 Thread mpgong
Hello,

I created a simple rule using the guvnor drl editor - it looks like this:
rule Rule1
no-loop true
ruleflow-group CheckOne
when
$ca : TestFact()
then
System.out.println(Hello World);
end

when i create the scenario, where i insert a TestFact() object and added the
expected rule to fire 'Rule1' and then hit the run scenario, the output said
Rule1 was not activated and no rule fired.  However, when i take the rule
flow group out it fires.
Any idea why this might be.  Now i am able to use ruleflow-groups in my
application but those rules where built with the decision tables (xls) and
uploaded to guvnor.  

The new set of rules are small and simple so i was just going to create them
using drl.  This seems to be causing me problems because i'm trying to run
these rules from a process and they aren't firing in there either.

Thanks





--
View this message in context: 
http://drools.46999.n3.nabble.com/Test-Scenario-not-firing-rule-when-a-ruleflow-group-is-defined-tp4020761.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools persistence errors in JBoss 7.x

2012-11-08 Thread Alberto R. Galdo
Just a quick note to inform that we've been able to solve this problem.

In our case this was happening because Hibernate wasn't able to find the
JPA configured Transaction managed ( which in our case is JBoss Tx ). That
made Hibernate fall back to auto_commit=true mode and eager releasing the
resources inside a transaction  ( releasing the connection after commiting
it).

Seems that JBPM and Drools doesn't like anyone messing with the transaction
and expect it to be managed by themselves.

We were using this property:

property name=hibernate.transaction.manager_lookup_class
value=org.hibernate.transaction.JBossTransactionManagerLookup /

That didn't work when using PostgreSQL, we had to use this property:

property name=hibernate.transaction.jta.platform
value=org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform
/

With that property we get rid of the exception.

Alberto R. Galdo
arga...@gmail.com



-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT/S/M s a C+++ L++ P E--- W++ w
M++ PS tv t++ b++ G h-- r+++ y+
--END GEEK CODE BLOCK--


On Fri, Nov 2, 2012 at 6:39 PM, Alberto R. Galdo arga...@gmail.com wrote:


 Hi,

   We have an application that uses JBPM and Drools to execute BPMN 2.0
 processes. Our knowledge session gets persisted in a PostgreSQL database
 and so it is StatefulKnowledgeSession.

   Our application runs inside a JBoss 7.x server, our JPA context uses the
 bundled Hibernate 4.x as entity manager and JBoss Tx service ( bundled with
 jboss) as hibernate's transaction JTA implementation.

   From time to time ( we haven't found a way to reproduce this, but
 clearly has occurrences in the execution of our application ) we are
 getting this kind of exceptions:


 Caused by: org.hibernate.exception.GenericJDBCException: Connection is not
 associated with a managed
 connection.org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6@253770bd

 during commits induced by Drools
 [org.drools.persistence.jta.JtaTransactionManager.commit] ( as you can see
 in the full stacktrace attached at the bottom of this mail )

 The problem here is that our processes stop executing because of this
 exception. For instance, there are times when this exception arises when
 commiting a transaction that contains a human task persistance and because
 of the exception this information is lost, breaking our processes ( now
 nobody will never be ever able to restart the process by completing a human
 task ).


 Have any of you found this situation before? Any insight?









 12:27:47,677 WARN  [com.arjuna.ats.arjuna] (pool-11-thread-1)
 ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for
 SynchronizationImple 0:c0a802fb:-1f97a856:5093fdd2:620,
 org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@79da2820:
  javax.persistence.PersistenceException:
 org.hibernate.exception.GenericJDBCException: Connection is not associated
 with a managed
 connection.org.jboss.jca.adapters.jdbc.jdk6.WrappedConnectionJDK6@253770bd
 at
 org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)
 [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
 at
 org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)
 [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
 at
 org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1295)
 [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
 at
 org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1481)
 [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
 at
 org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
 [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
 at
 org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
 [hibernate-core-4.0.1.Final.jar:4.0.1.Final]
 at
 com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
 at
 com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
 at
 com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
 at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
 at
 com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
 at
 com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
 at
 com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
 at
 

[rules-users] Locking problems when using JBPM with persistence on PostgreSQL

2012-11-08 Thread Alberto R. Galdo
Hi,

  We have a system that executes processes inside a JBPM session which is
persisted using JPA and Hibernate as entity manager .

  What we are suffering is locking inside JBPM in certain circumstances.
What we experience is that the JBPM process gets locked when in a
transaction to store it's internal state in  the database ( sessioninfo,
processinstanceinfo, ... ). When locked PostgreSQL has a connection that is
in state idle in transation, this means that a transaction was open (
BEGIN ) and nobody did neither commit nor rollback. Both JBPM and
PostgreSQL are waiting for something to happend that never comes. And there
are ExclusiveLocks and RowExclusiveLocks available in the database (
different tables each time, sometimes pg_largeobject, sometimes others ).

  Our application that uses extensively JBPM is then locked and our users
are unable to execute any operation. We even tried to solve the lock by
killing the connection to the database, then the locks in the database
dissappear but JBPM never recovers ( maybe died with the connection ).

  Has anyone seen something like this before?

Greets,


Alberto R. Galdo
arga...@gmail.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Is Flow / jBPM dying on the vine?

2012-11-08 Thread dunnlow
Thank you for the information / update.  

I notice that almost all of the examples that I find are user task based (or
more specifically, NOT event-based, which is my use case).  I am planning to
inform a process largely (but not entirely) with events.  Short of having a
signal and gateway for every node, I don't see a way of make a jBPM process
event based (ie pausing at nodes until certain events/rules are satisfied). 
Is this not a good use case for jBPM?

 -- salaboy, I'll be waiting anxiously for that book ;-)

Thanks again.  -J



--
View this message in context: 
http://drools.46999.n3.nabble.com/Is-Flow-jBPM-dying-on-the-vine-tp4020738p4020764.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Is Flow / jBPM dying on the vine?

2012-11-08 Thread Mauricio Salatino
Yes, your scenario is a good scenario for Drools and JBPM.
What you can do is to describe a set of rules to handle the events and
those rules can trigger processes.
In that way your process definitions will be smaller and you will be able
to handle with rules the correlation of the events.

Cheers


On Thu, Nov 8, 2012 at 7:19 PM, dunnlow dunn...@yahoo.com wrote:

 Thank you for the information / update.

 I notice that almost all of the examples that I find are user task based
 (or
 more specifically, NOT event-based, which is my use case).  I am planning
 to
 inform a process largely (but not entirely) with events.  Short of having a
 signal and gateway for every node, I don't see a way of make a jBPM process
 event based (ie pausing at nodes until certain events/rules are satisfied).
 Is this not a good use case for jBPM?

  -- salaboy, I'll be waiting anxiously for that book ;-)

 Thanks again.  -J



 --
 View this message in context:
 http://drools.46999.n3.nabble.com/Is-Flow-jBPM-dying-on-the-vine-tp4020738p4020764.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users




-- 
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino Salaboy Mauricio -
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Is Flow / jBPM dying on the vine?

2012-11-08 Thread Mark Proctor
What you are talking about is an experimental feature that allows the rules to 
control the process execution.
http://docs.jboss.org/jbpm/v5.1/userguide/ch17.html

How to do this is still not documented that well there are some aspects we have 
to work on to make it simpler - hence why it's really move of an internal 
experimental feature.  You'd mostly have to speak to kris, who would take you 
through some unit tests. Find him on irc:
http://www.jboss.org/drools/irc

When we've tidied it up, simplified it and are happier with it, we'll document 
it and promote it for general purpose use.

Mark

On 8 Nov 2012, at 19:19, dunnlow dunn...@yahoo.com wrote:

 Thank you for the information / update.  
 
 I notice that almost all of the examples that I find are user task based (or
 more specifically, NOT event-based, which is my use case).  I am planning to
 inform a process largely (but not entirely) with events.  Short of having a
 signal and gateway for every node, I don't see a way of make a jBPM process
 event based (ie pausing at nodes until certain events/rules are satisfied). 
 Is this not a good use case for jBPM?
 
 -- salaboy, I'll be waiting anxiously for that book ;-)
 
 Thanks again.  -J
 
 
 
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Is-Flow-jBPM-dying-on-the-vine-tp4020738p4020764.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


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


Re: [rules-users] Decision table errors

2012-11-08 Thread Welsh, Armand
I take it you are not using Drools Guvnor.  If you are, you can do a View 
Source on the tab where you upload the decision table.  With native java, it's 
a bit more complex, as you need to extract the source.  Wolfgang responded with 
the package used for that, so I will bow out.

From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Mahadevappa, Shobha
Sent: Wednesday, November 07, 2012 9:37 PM
To: Rules Users List
Subject: Re: [rules-users] Decision table errors

Thanks. That really answers my question.
Can you please let me know if there is an option to view the generated DRL 
source ?



Regards,
Shobha M shobha.mahadeva...@nttdata.commailto:shobha.mahadeva...@nttdata.com

From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Welsh, Armand
Sent: 08 November 2012 AM 12:00
To: Rules Users List
Subject: Re: [rules-users] Decision table errors

They are the location in the DRL source where there error occurs.

Since each row is translated into a rule, the row number is the number in the 
rule name.  And the line is the line in that' rule.


From: rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Mahadevappa, Shobha
Sent: Wednesday, November 07, 2012 9:24 AM
To: Rules Users List
Subject: Re: [rules-users] Decision table errors

Thanks. I am aware of the error.
But I am not aware of the significance of the line and column number in the 
error message.
They are for sure not the row number in the excel.


Regards,
Shobha M

From: 
rules-users-boun...@lists.jboss.orgmailto:rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Welsh, Armand
Sent: 07 November 2012 PM 10:27
To: rules-users@lists.jboss.orgmailto:rules-users@lists.jboss.org
Subject: Re: [rules-users] Decision table errors

It looks like you SHOLOG class does not have an import in your Drools Package, 
or you have an import, but the drools compiler cannot find the class specified 
with a type that is compatible with the 2101 string argument.

As such, the compiler is unable to determine the data type of the lotType 
property, for which it assumes there should be either a public variabl logType 
within the SHOLOG class, or a getLogType() function.

I suspect the issue if the former, as the latter typically produces a different 
error.


From: 
rules-users-boun...@lists.jboss.orgmailto:rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Mahadevappa, Shobha
Sent: Wednesday, November 07, 2012 3:48 AM
To: rules-users@lists.jboss.orgmailto:rules-users@lists.jboss.org
Subject: [rules-users] Decision table errors

Hi,
I have a decision table which has an invalid column.
Drools gives the below compilation error but I am not sure about what is the 
line number (highlighted in red below) it is referring to in the error message.
Any pointers towards this is greatly appreciated.

Unable to Analyse Expression logType_41 == 2101:
Error: unable to resolve method using strict-mode: 
com.keane.nREAP.util.generatedclasses.SHOLOG.logType_41()]
Near : {... logType_41 == 2101 }]
^
[Line: 8, Column: 19] : [Rule name='VerificationAgain_12']


Regards,
Shobha M | Senior Program Manager, AAD | NTT DATA Global Delivery Services 
Limited| w. +91-80-26659482 (Ext 3679) | v. 8814.3679 | m. +91.9972522743 | 
shobha.mahadeva...@nttdata.commailto:shobha.mahadeva...@nttdata.com


__
Disclaimer:This email and any attachments are sent in strictest confidence for 
the sole use of the addressee and may contain legally privileged, confidential, 
and proprietary data. If you are not the intended recipient, please advise the 
sender by replying promptly to this email and then delete and destroy this 
email and any attachments without any further use, copying or forwarding

__
Disclaimer:This email and any attachments are sent in strictest confidence for 
the sole use of the addressee and may contain legally privileged, confidential, 
and proprietary data. If you are not the intended recipient, please advise the 
sender by replying promptly to this email and then delete and destroy this 
email and any attachments without any further use, copying or forwarding

__
Disclaimer:This email and any attachments are sent in strictest confidence for 
the sole use of the addressee and may contain legally privileged, confidential, 
and proprietary data. If you are not the intended recipient, please advise the 
sender by replying promptly to this email and then delete and destroy this 
email and any attachments without any further use, copying or forwarding
___
rules-users mailing list
rules-users@lists.jboss.org