Re: [rules-users] Drools Human Task Service Persistence

2010-11-18 Thread drooRam
have to override, if not oracle, what is the best bet DB (please don't say H2 :-) ) -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Human-Task-Service-Persistence-tp1868778p1925280.html Sent from the Drools - User mailing list archive

Re: [rules-users] Rules Flow Eclipse editor

2010-11-17 Thread drooRam
edit your post, in the message box menu, you hve more options picklist, choose this one to upload the file :-) -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Rules-Flow-Eclipse-editor-tp1893286p1917905.html Sent from the Drools - User mailing list archive

Re: [rules-users] Object not seen in working memory i.e not evaluated by rules

2010-11-17 Thread drooRam
are not evaluating the objects in the process. But why the process instance is being rejected by working memory... no clue of whatz happening :-( -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Object-not-seen-in-working-memory-i-e-not-evaluated-by-rules

[rules-users] Object not seen in working memory i.e not evaluated by rules

2010-11-16 Thread drooRam
Hi I tried to do a simple test case using spring drools. Following is the test class, it inserts customer object into the workflow.rf and fire the rules 1. nameShouldBeEntered 2. emailShouldBeValid I have also attached drl, rf and applicationContext.xml files in this mail.

[rules-users] Is annotation possible in Rule flow constraint editor

2010-11-16 Thread drooRam
in textual editor. is it supported? -drooRam. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Is-annotation-possible-in-Rule-flow-constraint-editor-tp1912620p1912620.html Sent from the Drools - User mailing list archive at Nabble.com

Re: [rules-users] Marshalling Error : JBRULES-2453

2010-11-03 Thread drooRam
bump -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Marshalling-Error-JBRULES-2453-tp1792992p1835406.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list

[rules-users] Marshalling Error : JBRULES-2453

2010-10-29 Thread drooRam
) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137) -drooRam. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Marshalling-Error-JBRULES-2453-tp1792992p1792992.html Sent from the Drools - User mailing list archive at Nabble.com

Re: [rules-users] ksession.dispose() and DroolsSpringJpaManager.dispose()

2010-10-06 Thread drooRam
bump -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/ksession-dispose-and-DroolsSpringJpaManager-dispose-tp1531549p1644088.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users

Re: [rules-users] Drools Flow process question...

2010-09-30 Thread drooRam
be using this registered/persisted variable back to process flow. -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-process-question-tp1589567p1610943.html Sent from the Drools - User mailing list archive at Nabble.com

Re: [rules-users] Drools Flow process question...

2010-09-30 Thread drooRam
in this way. -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-process-question-tp1589567p1610967.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Drools Flow Events Not Working - FIXED

2010-09-30 Thread drooRam
just updating the subject to Fixed, so that it wud be helpful for other users to directly look for solution. -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Events-Not-Working-tp1453738p1610992.html Sent from the Drools - User mailing

Re: [rules-users] ksession.dispose() and DroolsSpringJpaManager.dispose()

2010-09-27 Thread drooRam
anyone out there who successfully invoked ksession.dispose() method in your application code which uses spring jpa transaction manager with drools -- View this message in context:

Re: [rules-users] Fault node in rule flow

2010-09-27 Thread drooRam
attach a exception handler to the fault node , either log the exception to the file or generate a record to the reporting db. -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Fault-node-in-rule-flow-tp1572596p1592654.html Sent from the Drools - User

[rules-users] ksession.dispose() and DroolsSpringJpaManager.dispose()

2010-09-20 Thread drooRam
) being made in DroolsSpringJpaManager.dispose() on a reference obtained from JpaTransactionManager ? -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/ksession-dispose-and-DroolsSpringJpaManager-dispose-tp1531549p1531549.html Sent from the Drools - User

Re: [rules-users] EntityManager is closed - Resolved

2010-09-16 Thread drooRam
In a maven project, keeping drools-persistence-jpa-version.jar in web app lib folder instead from maven repository, solved this issue. but still got a transaction issues with spring and drools... will create a new post on this -- View this message in context:

Re: [rules-users] Javax.persistence.EntityNotFoundException: No Task with ID 2 was found!

2010-09-16 Thread drooRam
are you using drools with spring hibernate? without jta transaction bitronix , instead trying to access drools using spring jpa transaction manager? if so, did you ever come across the attached error when calling statefulsession.startProcess() on drools within your service method enclosed in

Re: [rules-users] EntityManager is closed

2010-09-15 Thread drooRam
thanks for ur reply... But where did u set the env.set (EnvironmentName.CMD_SCOPED_ENTITY_MANAGER, emf.createEntityManager ()); I used the drools:ksession tag in my applicationContext.xml ( spring ) and autowired to my service class which uses the ksession. drools:ksession

Re: [rules-users] How to remove a persisted session from the database ?

2010-09-15 Thread drooRam
I have done something like below to remove the persisted session : SessionInfo si = em.find(SessionInfo.class, sessionId); em.remove(si); call the above lines in a transactional context. its done. -- View this message in context:

Re: [rules-users] EntityManager is closed

2010-09-15 Thread drooRam
I forgot to mention one important point above, i am not using bitronix in tomcat i am trying to use tomcat with spring transactions and hibernate...no bitronix at all -- View this message in context:

[rules-users] EntityManager is closed

2010-09-14 Thread drooRam
Hi I am using the statefulknowledgesession with jpa persistence with spring...exactly configured as per in the section : Example 2.5. JPA configuration for StatefulKnowledgeSessions http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-introduction/html_single/index.html#d0e47 I am

Re: [rules-users] Drools 5.1 Update Site

2010-08-11 Thread drooRam
I had the same question... see the response from drools team from the below post http://drools-java-rules-engine.46999.n3.nabble.com/Drools-IDE-Update-site-link-for-5-1-CR1-td1009065.html#a1009065 -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3

[rules-users] JpaManager - SingleSessionCommandService

2010-08-11 Thread drooRam
configure JpaTransactionManager or JtaTransactionManager for Drools ? i think that i followed a correct approach and there is a bug in SingleSessionCommandService.java code? Please advice. Thanks -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com

Re: [rules-users] GWT Console - Drools Flow problems.

2010-08-09 Thread drooRam
at org.drools.persistence.session.SingleSessionCommandService.init(SingleSessionCommandService.java:130) It really frustrates that i can't get any proper docs/direction available on this. any soln/help wud be much appreciated. Thanks -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com

Re: [rules-users] MinaTaskClientHandler Reference Object

2010-08-06 Thread drooRam
Thanks for your prompt response Exactly..this is what i pretty much wanted to try out... i referred to the book drools 5 dev guide... It is mentioned that I need to use MinaTaskClientHandler to retrieve task's status like claim, complete, wait e.t.c.. At this point, I am not aware of

Re: [rules-users] IllegalStateException : DroolsJPAManager while calling session.dispose() method.

2010-08-06 Thread drooRam
i am facing the above problem when i tried to integrate hibernate with drools. Anyone used hibernate with drools? If so, what is the transaction manager setting for hibernate + drools + tomcat i am trying to use the default transaction manager or the jpa transaction manager

[rules-users] MinaTaskClientHandler Reference Object

2010-08-05 Thread drooRam
MinaTaskClientHandler.getClient(). Please let me know how can i obtain MinaTaskClientHandler thro config or snippet ? -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/MinaTaskClientHandler-Reference-Object-tp1027255p1027255.html Sent from the Drools - User mailing

[rules-users] Edit global imports through eclipse plugin

2010-08-05 Thread drooRam
how can i edit global imports in workflow rf file through eclipse plugin... not manually... I would like to add global imports to workflow file through eclipse ?? -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Edit-global-imports-through-eclipse

[rules-users] NullPointerException on jpaSingleSessionCommandService

2010-08-05 Thread drooRam
I have configured the applicationContext.xml as follows for stateful JPA persistance session - jpaSingleSessionCommandService : drools:ksession id=jpaSingleSessionCommandService type=stateful kbase=flowKnowledge drools:configuration drools:jpa-persistence

[rules-users] IllegalStateException : DroolsJPAManager while calling session.dispose() method.

2010-08-05 Thread drooRam
Hi I have got the following exception when i tried to call ksession.dispose() method : Does anyone have faced this problem before?? java.lang.IllegalStateException: No value for key [org.springframework.orm.jpa.localcontainerentitymanagerfactoryb...@173898a] bound to thread [http-8080-1]

Re: [rules-users] Drools-Spring Schema location changed ????

2010-08-02 Thread drooRam
the spring config above. its a plain vanilla integration :-) -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Spring-Schema-location-changed-tp833916p1016671.html Sent from the Drools - User mailing list archive at Nabble.com

Re: [rules-users] Accessing spring beans

2010-08-02 Thread drooRam
a plain vanilla integration ... drools:resource-ref tag is not working but i cud use drools:resource tag within kbase. Thanks Optimus :-) -drooRam -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Accessing-spring-beans-tp980991p1016692.html Sent from

Re: [rules-users] Accessing spring beans

2010-07-30 Thread drooRam
the drools-spring.xsd in the classpath... If you wud hve encountered this issue and managed to solve, please post the solution... i got stuck with this issue as drools tag not been recognized by parser due to xmlns:drools=http://drools.org/schema/drools-spring; . -drooRam -- View this message

Re: [rules-users] Drools-Spring Schema location changed ????

2010-07-28 Thread drooRam
drools-spring.xsd is in the eclipse classpath... am facing the same problem like Referenced file contains errors (http://drools.org/schema/drools-spring.xsd). For more information, right click on the message in the Problems View and select Show Details... The above error is stopping me to

Re: [rules-users] Drools-Spring Schema location changed ????

2010-07-28 Thread drooRam
drools-spring.xsd is in the eclipse classpath... am facing the same problem like Referenced file contains errors (http://drools.org/schema/drools-spring.xsd). For more information, right click on the message in the Problems View and select Show Details... The above error is stopping me to