Tihomir Surdilovic | 1 Aug 2011 03:45
Picon
Favicon
Gravatar

Re: Rule Task

On 7/31/11 11:30 AM, S.M.H.Jamali wrote:
Thanks ,
I add this
to gwt-console in its location but i can not build jbpm from source ! it seems it has very bugs !
clone from master https://github.com/droolsjbpm/jbpm and just
mvn clean install -DskipTests -Dfull

show the bugs or they do not exists :)


Is there any stable version of Jbpm with its bug fixes ?
 
S.M.H.Jamali
From: Tihomir Surdilovic <tsurdilo <at> redhat.com>
To: rules-users <at> lists.jboss.org
Sent: Wednesday, July 27, 2011 9:49 PM
Subject: Re: [rules-users] Rule Task

On 7/27/11 7:18 AM, S.M.H.Jamali wrote:
> My problem is : when i create a new instance of my process (in jbpm
> console) , first Script Task run fine , but execution of the process
> stops at Rule Task and no rule fired ! Am i missing something ?
This is a known issue in jbpm-console which just got fixed:
https://issues.jboss.org/browse/JBPM-3301.

Thanks.
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




_______________________________________________ rules-users mailing list rules-users <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Swindells, Thomas | 1 Aug 2011 09:36
Favicon

Re: Java 1.4 Application

Any reason why you are still on java 1.4?
You are using a java version that is now 3 major versions out of date and that hasn't been supported by
sun/oracle for the last 3 years!
It's the equivalent of still using windows 98!
Thomas

> -----Original Message-----
> From: rules-users-bounces <at> lists.jboss.org [mailto:rules-users-
> bounces <at> lists.jboss.org] On Behalf Of DroolersEye
> Sent: 27 July 2011 17:06
> To: rules-users <at> lists.jboss.org
> Subject: Re: [rules-users] Java 1.4 Application
>
>
> Drools5 works with JDK1.5 and above.
>
> Drools 5.0 will split up into 4 main sub projects,
>
> Drools Guvnor (BRMS/BPMS)
>
> Drools Expert (rule engine),
>
> Drools Flow (process/workflow)
>
> Drools Fusion (cep/temporal reasoning)
>
> the above projects are not available in drools 4.0 except drools rule engine
> even drools expert 5.x is a major update over the previous Drools 4.
> Drools4 works fine with jdk 1.4.
> selecting drools 4.version based on the jdk version may not be good idea, we
> may lose lots of advanced functionalities provided by drools current versions.
> Current version is 5.2 Final (Auguest 2011 Mark team going to release 5.3).
>
>
> -----
> with kind regards,
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/rules-
> users-Java-1-4-Application-tp3199965p3203906.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in
error, please immediately notify the postmaster <at> nds.com and delete it from your system as well as any
copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security
purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company
registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

gbelin | 1 Aug 2011 10:04
Picon
Favicon

java int problem

I have a problem with int data in drools.

I have created a test class for persons with it setters and getters:

/public class A {

	private int age;
	private String sex;
	private String name;
	
	public A () {
		System.out.println ("creating A.");
	}/

I have a rule that gets the person with de min age

/rule "min age"
	ruleflow-group 'group1'
	salience 10
	when
		$a : A ()
		not A (age<$a.age)
	then
		System.out.println ("  *** the min age "+$a.getAge()+" corresponds to " +
$a.getName());
end
/

I insert 4 persons in the knowledge base with different ages, then, when I
run the rule, it returns all the 4 persons.

If I set another rule with more priority that sets the ages of all persons,
then the "min age" rule works propertly and write the message for the person
with de minimun age.

/rule "set age"
	ruleflow-group 'group1'
	salience 11
	no-loop
	when
		$a : A ()
	then
		$a.setAge($a.getAge());
		update($a);
		System.out.println( "Person " + $a.getName() + " has an age of " +
$a.getAge() + " years" ); 
end
/

Is there any problem with drools and ints?

Thanks in advance.

--
View this message in context: http://drools.46999.n3.nabble.com/java-int-problem-tp3215383p3215383.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Wolfgang Laun | 1 Aug 2011 10:27
Picon

Re: java int problem

The code you have posted suggests to me that you do something like
   A a = new A();
   kSession.insert( a );
   a.setAge( 28 );
   kSession.fireAllRules();

Complete the object before you insert it or call update after the modification.

-W


On 1 August 2011 10:04, gbelin <gbelin_saiz <at> hotmail.com> wrote:
I have a problem with int data in drools.

I have created a test class for persons with it setters and getters:

/public class A {

       private int age;
       private String sex;
       private String name;

       public A () {
               System.out.println ("creating A.");
       }/

I have a rule that gets the person with de min age


/rule "min age"
       ruleflow-group 'group1'
       salience 10
       when
               $a : A ()
               not A (age<$a.age)
       then
               System.out.println ("  *** the min age "+$a.getAge()+" corresponds to " +
$a.getName());
end
/


I insert 4 persons in the knowledge base with different ages, then, when I
run the rule, it returns all the 4 persons.

If I set another rule with more priority that sets the ages of all persons,
then the "min age" rule works propertly and write the message for the person
with de minimun age.

/rule "set age"
       ruleflow-group 'group1'
       salience 11
       no-loop
       when
               $a : A ()
       then
               $a.setAge($a.getAge());
               update($a);
               System.out.println( "Person " + $a.getName() + " has an age of " +
$a.getAge() + " years" );
end
/


Is there any problem with drools and ints?

Thanks in advance.





--
View this message in context: http://drools.46999.n3.nabble.com/java-int-problem-tp3215383p3215383.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Adrian Paschke | 1 Aug 2011 11:38
Picon
Picon

Call for Demos: RuleML2011 - 5th InternationalRule Challenge

Latest News

 

====================================================================*

* RuleML2011 <at> BRF - 5th International Rule Challenge                 *  

* Nov 4th                                                           *

* Westin Diplomat, Ft Lauderdale, Florida                           *

* http://2011.ruleml.org/america/?page_id=126                       *

====================================================================*

* Call for Demos - Submission Deadline - Sept. 2nd, 2011            *

* New categories in the Challenge with prestigious prizes           *

* Demo papers published as CEUR proceedings                         *

* 15% RuleML2011 <at> BRF Partner discounts - see registration page      *

* http://2011.ruleml.org/america/                                   *

* http://www.businessrulesforum.com/register.php                    *

*********************************************************************

 

Overview and Aim

======================================================

 

The RuleML2011 <at> BRF Challenge is one of the highlights at RuleML2011 <at> BRF

Conference.The RuleML2011 <at> BRF Challenge is dedicated to practical experiences

with rule-oriented applications. In particular, submissions of benchmarks

/ evaluations, demos, case studies / use cases, experience reports, best

practice solutions (e.g. design patterns, reference architectures, models),

rule-based implementations / tools / applications, demonstrations of

engineering methods, implementations of rule standards (e.g. RuleML, RIF,

SBVR, PRR, rule-based Event Processing languages, BPMN+rules, BPEL+rules,

...), rules + industrial standards (e.g. XBRL, MISMO, Accord, ...), and

industrial problem statements are particularly encouraged.

 

 

Key themes of the RuleML2011 <at> BRF Challenge include the following:

* Demos related to the RuleML2011 <at> BRF Track Topics

* Extensions and implementations of rule standards: W3C RIF, RuleML,

   SBVR, ...

* Editing environments and IDEs for Web rules

* Benchmarks and comparison results for rule engines

* Distributed rule bases and rule services

* Reports on industrial experience about rule systems

 

A dedicated track of RuleML2011 <at> BRF Challenge will be focused on the theme:

 

**Combining Rules, Objects, and Ontologies: Implementations and Applications**

- Loose/tight integrations of rules and knowledge bases

- Knowledge Modelling and Reasoning

- Real cases and practical experiences

 

Ideally, demos submitted to the Challenge track should tackle knowledge-rich

domain problems. The proposed solution should address such problem using a

combination of rule-based modelling and semantic knowledge-based modelling.

Solutions ranging from loosely coupled hybrid systems (i.e. where different

frameworks are put together), to unified homogeneous architectures (i.e. where

a unified model / semantics, within a single framework, is proposed) will be

of great interest for the special track.

 

Prizes will be awarded to the two best applications from the main focus theme

and for the all categories. All accepted demos will be presented in a special

Challenge Session.

 

Submission

======================================================

 

The submission is composed of two parts:

- open-source or commercial demo

- demo papers describing research, implementation, and technical details of

   your submission.

 

Submissions to the Rules Challenge 2011 consist of a demo paper of 4-8 pages,

describing the demo show case, and a link to the demo/show case, e.g. a

project site, an online demonstration, a presentation about the demonstration,

or a download site for the demonstration.

 

Demo and papers submission website:

https://www.easychair.org/conferences/?conf=ruleml2011challenge

 

Please upload all demo papers submissions as PDF files in LNCS format

(http://www.springer.de/comp/lncs/authors.html).

To ensure high quality, submitted papers will be carefully peer-reviewed

according to the evaluation criteria indicated below.

 

To better disseminate your work, please also udpate your demo in the systems

submission website with a brief abstract presentation:

http://2011.ruleml.org/america/?page_id=184

 

Challenge Evaluation Criteria

======================================================

 

Submissions to the RuleML2011 <at> BRF Challenge general Track will be evaluated

according to the following criteria:

- clear exposition of the objectives, outcomes, benefits for going beyond the

  state of the art in the application domain (25%)

- demos should demonstrate a good level of effectiveness to manage complex

  rules according to statistical/analytical/benchmarking evaluations (25%)

- demos have to demonstrate the results with a concrete example balancing

  conciseness and completeness (25%)

- demos should preferably (but not necessarily) be embedded into a web-based

  or distributed environment (15%)

- demos should pay attention to end-user interactions, providing an adequate

  and usable interface that favors a concrete usage of the application (10%).

 

Submissions focused on this year's special theme (Knowledge-Based Applications

combining Rules and Ontologies) should show the potential and benefits of

combining rule-based reasoning and taxonomic/frame/description-logic reasoning

in a realistic application. Demos submitted to the Special Theme will be

evaluated according to the following criteria:

 

- papers should clearly expose the objectives, outcomes, benefits for going

  beyond the state of the art in the application domain (20%)

- demos should demonstrate a good level of integration or interaction between

  rules and ontologies (40%)

- demos should demonstrate their results with a simple but meaningful case

  study, balancing conciseness and completeness (20%)

- demos should preferably be deployed in a web-based or distributed

  environment where multiple nodes exchange information (10%)

- demos should pay attention to end-user interactions, providing an adequate

  and usable interface that favors a concrete usage of the application (10%).

 

Proceedings

======================================================

 

Authors are invited to submit original contributions of practical relevance

and technical rigor in the field, benchmarks, evaluations, experience reports

and show/use case demonstrations of effective, practical, deployable

rule-based technologies or applications in web-distributed environments.

Papers must be in English.

Accepted papers will be published as CEUR Workshop Proceedings.

 

Exhibition Room

======================================================

 

The RuleML2011 <at> BRF Chairs are currently evaluating the possibility to have an

exhibition space where to present the demo live to the participants throughout

the Symposium.

More information will be released with the notification of acceptance of the

demo papers and demo systems.

 

Important Dates

======================================================

Submission deadline for demo papers and demo systems: Sept. 2nd, 2011

Notification of accepted demo papers and demo systems: Sept. 23rd, 2011

Camera ready papers: Sept. 30th, 2011

 

 

RuleML2011 <at> BRF Challenge Chairs

======================================================

Stefano Bragaglia, University of Bologna, Italy

Marco Montali, KRDB, Free University of Bozen-Bolzano, Italy

Charles Petrie, Stanford University, USA

Mark Proctor, Red Hat, UK

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
gbelin | 1 Aug 2011 11:47
Picon
Favicon

Re: java int problem

yes ... that is ... thank you very much

Date: Mon, 1 Aug 2011 01:28:35 -0700
From: [hidden email]
To: [hidden email]
Subject: Re: [rules-users] java int problem

The code you have posted suggests to me that you do something like
   A a = new A();
   kSession.insert( a );
   a.setAge( 28 );
   kSession.fireAllRules();

Complete the object before you insert it or call update after the modification.

-W



View this message in context: RE: [rules-users] java int problem
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
S.M.H.Jamali | 1 Aug 2011 14:35
Picon
Favicon

Re: Rule Task

Thank You Mr.Surdilovic

I clone from master and execute "mvn clean install -DskipTests -Dfull" successfully but at runtime i get an exception. I attache its logs.
Is there any solution to solve this problem ?
Thanks
S.M.H.Jamali
From: Tihomir Surdilovic <tsurdilo <at> redhat.com>
To: rules-users <at> lists.jboss.org
Sent: Monday, August 1, 2011 6:15 AM
Subject: Re: [rules-users] Rule Task

On 7/31/11 11:30 AM, S.M.H.Jamali wrote:
Thanks ,
I add this
to gwt-console in its location but i can not build jbpm from source ! it seems it has very bugs !
clone from master https://github.com/droolsjbpm/jbpm and just
mvn clean install -DskipTests -Dfull

show the bugs or they do not exists :)


Is there any stable version of Jbpm with its bug fixes ?
 
S.M.H.Jamali
From: Tihomir Surdilovic <tsurdilo <at> redhat.com>
To: rules-users <at> lists.jboss.org
Sent: Wednesday, July 27, 2011 9:49 PM
Subject: Re: [rules-users] Rule Task

On 7/27/11 7:18 AM, S.M.H.Jamali wrote:
> My problem is : when i create a new instance of my process (in jbpm
> console) , first Script Task run fine , but execution of the process
> stops at Rule Task and no rule fired ! Am i missing something ?
This is a known issue in jbpm-console which just got fixed:
https://issues.jboss.org/browse/JBPM-3301.

Thanks.
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




_______________________________________________ rules-users mailing list rules-users <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


16:59:12,124 INFO  [STDOUT] INFO  01-08 16:59:12,123 (NilAuthenticator.java:authenticate:35) 	 All
users are guests.
16:59:12,133 INFO  [STDOUT] INFO  01-08 16:59:12,124 (RepositoryServlet.java:allowUser:114) 	 admin
authenticated for rest api
16:59:12,133 INFO  [STDOUT] INFO  01-08 16:59:12,133 (PackageDeploymentServlet.java:execute:141) 	
PackageName: defaultPackage
16:59:12,134 INFO  [STDOUT] INFO  01-08 16:59:12,133 (PackageDeploymentServlet.java:execute:142) 	
PackageVersion: LATEST
16:59:12,134 INFO  [STDOUT] INFO  01-08 16:59:12,134 (PackageDeploymentServlet.java:execute:143) 	
PackageIsLatest: true
16:59:12,135 INFO  [STDOUT] INFO  01-08 16:59:12,134 (PackageDeploymentServlet.java:execute:144) 	
PackageIsSource: false
16:59:12,147 INFO  [STDOUT] Loading process from Guvnor: TestRule
16:59:12,147 INFO  [STDOUT] jbpm.console.directory property not found
16:59:12,161 INFO  [Configuration] Reading mappings from resource : META-INF/JBPMorm.xml
16:59:12,177 INFO  [QueryBinder] Binding Named query: ProcessInstancesWaitingForEvent => select
processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type
in elements(processInstanceInfo.eventTypes)
16:59:12,178 INFO  [AnnotationBinder] Binding entity from annotated class: org.jbpm.persistence.processinstance.ProcessInstanceInfo
16:59:12,178 INFO  [EntityBinder] Bind entity
org.jbpm.persistence.processinstance.ProcessInstanceInfo on table ProcessInstanceInfo
16:59:12,184 INFO  [AnnotationBinder] Binding entity from annotated class: org.drools.persistence.info.SessionInfo
16:59:12,184 INFO  [EntityBinder] Bind entity org.drools.persistence.info.SessionInfo on table SessionInfo
16:59:12,186 INFO  [AnnotationBinder] Binding entity from annotated class: org.drools.persistence.info.WorkItemInfo
16:59:12,187 INFO  [EntityBinder] Bind entity org.drools.persistence.info.WorkItemInfo on table WorkItemInfo
16:59:12,205 INFO  [HibernateSearchEventListenerRegister] Unable to find
org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
16:59:12,208 INFO  [NamingHelper] JNDI InitialContext properties:{}
16:59:12,208 INFO  [DatasourceConnectionProvider] Using datasource: java:jdbc/testDS1
16:59:12,209 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.1.49-community
16:59:12,209 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version:
mysql-connector-java-5.0.7 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ )
16:59:12,210 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
16:59:12,210 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
16:59:12,210 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
16:59:12,211 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
16:59:12,211 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
16:59:12,211 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
16:59:12,211 INFO  [SettingsFactory] JDBC batch size: 15
16:59:12,211 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
16:59:12,211 INFO  [SettingsFactory] Scrollable result sets: enabled
16:59:12,211 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
16:59:12,211 INFO  [SettingsFactory] Connection release mode: auto
16:59:12,211 INFO  [SettingsFactory] Maximum outer join fetch depth: 3
16:59:12,211 INFO  [SettingsFactory] Default batch fetch size: 1
16:59:12,211 INFO  [SettingsFactory] Generate SQL with comments: disabled
16:59:12,211 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
16:59:12,211 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
16:59:12,211 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
16:59:12,212 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
16:59:12,212 INFO  [SettingsFactory] Query language substitutions: {}
16:59:12,212 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
16:59:12,212 INFO  [SettingsFactory] Second-level cache: enabled
16:59:12,212 INFO  [SettingsFactory] Query cache: disabled
16:59:12,212 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
16:59:12,212 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
16:59:12,212 INFO  [SettingsFactory] Structured second-level cache entries: disabled
16:59:12,213 INFO  [SettingsFactory] Statistics: disabled
16:59:12,213 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
16:59:12,213 INFO  [SettingsFactory] Default entity-mode: pojo
16:59:12,213 INFO  [SettingsFactory] Named query checking : enabled
16:59:12,219 INFO  [SessionFactoryImpl] building session factory
16:59:12,228 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
16:59:12,235 INFO  [SchemaExport] Running hbm2ddl schema export
16:59:12,236 INFO  [SchemaExport] exporting generated schema to database
16:59:13,200 INFO  [SchemaExport] schema export complete
16:59:13,200 INFO  [NamingHelper] JNDI InitialContext properties:{}
16:59:13,237 INFO  [STDOUT] Loading session data ...
16:59:13,240 INFO  [STDOUT] Error loading session data: java.lang.reflect.InvocationTargetException
16:59:13,240 INFO  [STDOUT] Creating new session data ...
16:59:14,272 ERROR [[Resteasy]] Servlet.service() for servlet Resteasy threw exception
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize
stateful knowledge session: Could not connect task client
	at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
	at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
	at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: Could not
connect task client
	at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:236)
	at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:244)
	at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:85)
	at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
	at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
	at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
	at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
	at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
	at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
	at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
	at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
	at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
	... 28 more
Caused by: java.lang.IllegalArgumentException: Could not connect task client
	at org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler.connect(CommandBasedWSHumanTaskHandler.java:88)
	at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:195)
	... 45 more
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
S.M.H.Jamali | 1 Aug 2011 14:39
Picon
Favicon

Rule Task

Thank You Mr.Surdilovic

I clone from master and execute "mvn clean install -DskipTests -Dfull" successfully but at runtime When i run gwt-console and refresh process list i get an exception. I attache its logs.
Is there any solution to solve this problem ?
Thanks
S.M.H.Jamali
From: Tihomir Surdilovic <tsurdilo <at> redhat.com>
To: rules-users <at> lists.jboss.org
Sent: Monday, August 1, 2011 6:15 AM
Subject: Re: [rules-users] Rule Task

On 7/31/11 11:30 AM, S.M.H.Jamali wrote:
Thanks ,
I add this
to gwt-console in its location but i can not build jbpm from source ! it seems it has very bugs !
clone from master https://github.com/droolsjbpm/jbpm and just
mvn clean install -DskipTests -Dfull

show the bugs or they do not exists :)


Is there any stable version of Jbpm with its bug fixes ?
 
S.M.H.Jamali
From: Tihomir Surdilovic <tsurdilo <at> redhat.com>
To: rules-users <at> lists.jboss.org
Sent: Wednesday, July 27, 2011 9:49 PM
Subject: Re: [rules-users] Rule Task

On 7/27/11 7:18 AM, S.M.H.Jamali wrote:
> My problem is : when i create a new instance of my process (in jbpm
> console) , first Script Task run fine , but execution of the process
> stops at Rule Task and no rule fired ! Am i missing something ?
This is a known issue in jbpm-console which just got fixed:
https://issues.jboss.org/browse/JBPM-3301.

Thanks.
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




_______________________________________________ rules-users mailing list rules-users <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users






16:59:12,124 INFO  [STDOUT] INFO  01-08 16:59:12,123 (NilAuthenticator.java:authenticate:35) 	 All
users are guests.
16:59:12,133 INFO  [STDOUT] INFO  01-08 16:59:12,124 (RepositoryServlet.java:allowUser:114) 	 admin
authenticated for rest api
16:59:12,133 INFO  [STDOUT] INFO  01-08 16:59:12,133 (PackageDeploymentServlet.java:execute:141) 	
PackageName: defaultPackage
16:59:12,134 INFO  [STDOUT] INFO  01-08 16:59:12,133 (PackageDeploymentServlet.java:execute:142) 	
PackageVersion: LATEST
16:59:12,134 INFO  [STDOUT] INFO  01-08 16:59:12,134 (PackageDeploymentServlet.java:execute:143) 	
PackageIsLatest: true
16:59:12,135 INFO  [STDOUT] INFO  01-08 16:59:12,134 (PackageDeploymentServlet.java:execute:144) 	
PackageIsSource: false
16:59:12,147 INFO  [STDOUT] Loading process from Guvnor: TestRule
16:59:12,147 INFO  [STDOUT] jbpm.console.directory property not found
16:59:12,161 INFO  [Configuration] Reading mappings from resource : META-INF/JBPMorm.xml
16:59:12,177 INFO  [QueryBinder] Binding Named query: ProcessInstancesWaitingForEvent => select
processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type
in elements(processInstanceInfo.eventTypes)
16:59:12,178 INFO  [AnnotationBinder] Binding entity from annotated class: org.jbpm.persistence.processinstance.ProcessInstanceInfo
16:59:12,178 INFO  [EntityBinder] Bind entity
org.jbpm.persistence.processinstance.ProcessInstanceInfo on table ProcessInstanceInfo
16:59:12,184 INFO  [AnnotationBinder] Binding entity from annotated class: org.drools.persistence.info.SessionInfo
16:59:12,184 INFO  [EntityBinder] Bind entity org.drools.persistence.info.SessionInfo on table SessionInfo
16:59:12,186 INFO  [AnnotationBinder] Binding entity from annotated class: org.drools.persistence.info.WorkItemInfo
16:59:12,187 INFO  [EntityBinder] Bind entity org.drools.persistence.info.WorkItemInfo on table WorkItemInfo
16:59:12,205 INFO  [HibernateSearchEventListenerRegister] Unable to find
org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
16:59:12,208 INFO  [NamingHelper] JNDI InitialContext properties:{}
16:59:12,208 INFO  [DatasourceConnectionProvider] Using datasource: java:jdbc/testDS1
16:59:12,209 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.1.49-community
16:59:12,209 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version:
mysql-connector-java-5.0.7 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ )
16:59:12,210 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
16:59:12,210 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
16:59:12,210 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
16:59:12,211 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
16:59:12,211 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
16:59:12,211 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
16:59:12,211 INFO  [SettingsFactory] JDBC batch size: 15
16:59:12,211 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
16:59:12,211 INFO  [SettingsFactory] Scrollable result sets: enabled
16:59:12,211 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
16:59:12,211 INFO  [SettingsFactory] Connection release mode: auto
16:59:12,211 INFO  [SettingsFactory] Maximum outer join fetch depth: 3
16:59:12,211 INFO  [SettingsFactory] Default batch fetch size: 1
16:59:12,211 INFO  [SettingsFactory] Generate SQL with comments: disabled
16:59:12,211 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
16:59:12,211 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
16:59:12,211 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
16:59:12,212 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
16:59:12,212 INFO  [SettingsFactory] Query language substitutions: {}
16:59:12,212 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
16:59:12,212 INFO  [SettingsFactory] Second-level cache: enabled
16:59:12,212 INFO  [SettingsFactory] Query cache: disabled
16:59:12,212 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
16:59:12,212 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
16:59:12,212 INFO  [SettingsFactory] Structured second-level cache entries: disabled
16:59:12,213 INFO  [SettingsFactory] Statistics: disabled
16:59:12,213 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
16:59:12,213 INFO  [SettingsFactory] Default entity-mode: pojo
16:59:12,213 INFO  [SettingsFactory] Named query checking : enabled
16:59:12,219 INFO  [SessionFactoryImpl] building session factory
16:59:12,228 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
16:59:12,235 INFO  [SchemaExport] Running hbm2ddl schema export
16:59:12,236 INFO  [SchemaExport] exporting generated schema to database
16:59:13,200 INFO  [SchemaExport] schema export complete
16:59:13,200 INFO  [NamingHelper] JNDI InitialContext properties:{}
16:59:13,237 INFO  [STDOUT] Loading session data ...
16:59:13,240 INFO  [STDOUT] Error loading session data: java.lang.reflect.InvocationTargetException
16:59:13,240 INFO  [STDOUT] Creating new session data ...
16:59:14,272 ERROR [[Resteasy]] Servlet.service() for servlet Resteasy threw exception
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize
stateful knowledge session: Could not connect task client
	at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
	at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
	at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: Could not
connect task client
	at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:236)
	at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:244)
	at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:85)
	at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
	at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
	at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
	at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
	at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
	at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
	at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
	at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
	at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
	... 28 more
Caused by: java.lang.IllegalArgumentException: Could not connect task client
	at org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler.connect(CommandBasedWSHumanTaskHandler.java:88)
	at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:195)
	... 45 more
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Tihomir Surdilovic | 1 Aug 2011 14:46
Picon
Favicon
Gravatar

Re: Rule Task

I assume you are using jbpm5 installer. After building the source locate your jbpm-5.2.0-SNAPSHOT-gwt-console.zip and copy it to the $installer_dir/lib directory
then run in $installer_dir directory:
ant clean.demo
ant start.demo

There are some configuration files that the jbpm installer copies to the console webapp, I assume that is the cause of your error.

Hope this helps.
On 8/1/11 8:35 AM, S.M.H.Jamali wrote:
Thank You Mr.Surdilovic

I clone from master and execute "mvn clean install -DskipTests -Dfull" successfully but at runtime i get an exception. I attache its logs.
Is there any solution to solve this problem ?
Thanks
S.M.H.Jamali
From: Tihomir Surdilovic <tsurdilo <at> redhat.com>
To: rules-users <at> lists.jboss.org
Sent: Monday, August 1, 2011 6:15 AM
Subject: Re: [rules-users] Rule Task

On 7/31/11 11:30 AM, S.M.H.Jamali wrote:
Thanks ,
I add this
to gwt-console in its location but i can not build jbpm from source ! it seems it has very bugs !
clone from master https://github.com/droolsjbpm/jbpm and just
mvn clean install -DskipTests -Dfull

show the bugs or they do not exists :)


Is there any stable version of Jbpm with its bug fixes ?
 
S.M.H.Jamali
From: Tihomir Surdilovic <tsurdilo <at> redhat.com>
To: rules-users <at> lists.jboss.org
Sent: Wednesday, July 27, 2011 9:49 PM
Subject: Re: [rules-users] Rule Task

On 7/27/11 7:18 AM, S.M.H.Jamali wrote:
> My problem is : when i create a new instance of my process (in jbpm
> console) , first Script Task run fine , but execution of the process
> stops at Rule Task and no rule fired ! Am i missing something ?
This is a known issue in jbpm-console which just got fixed:
https://issues.jboss.org/browse/JBPM-3301.

Thanks.
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




_______________________________________________ rules-users mailing list rules-users <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




_______________________________________________ rules-users mailing list rules-users <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Jiri Svitak | 1 Aug 2011 15:25
Picon
Favicon

Debugging unification in backward chaining

Hello,

is there a way to debug unification process in backward chaining (Drools 5.2.0 feature)?

Jiri Svitak
_______________________________________________
rules-users mailing list
rules-users <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Gmane