[rules-users] Human Task - ERROR : JPAKnowledgeService.newStatefulKnowledgeSession ... + persistence.xml
i share persistence.xmlhere yes i configure the persistence with JTA but i dont sure about correctness of it ! i have some other files beside persistence.xml that maybe can help : ormTask.xml JBPMorm.xml jboss-web.xml Thanks S.M.H.Jamali From: Mauricio Salatino sala...@gmail.com To: S.M.H.Jamali cpp...@yahoo.com; Rules Users List rules-users@lists.jboss.org Sent: Wednesday, November 9, 2011 8:22 PM Subject: Re: [rules-users] Human Task - ERROR : JPAKnowledgeService.newStatefulKnowledgeSession ... You will need to solve that problem. looks like a configuration problem, can you share the persistence.xml file? did you configure persistence with JTA? Cheers 2011/11/9 S.M.H.Jamali cpp...@yahoo.com Hello all, I get an exception while last line of below method executed : public StatefulKnowledgeSession createSession() throws Exception { /* * Create the knowledgebase using the required bpmn and drl files */ KnowledgeBase kbase = readKnowledgeBase(HumanTask.bpmn); EntityManagerFactory emf = Persistence.createEntityManagerFactory( org.jbpm.persistence.jpa ); Environment env = KnowledgeBaseFactory.newEnvironment(); env.set( EnvironmentName.ENTITY_MANAGER_FACTORY, emf ); env.set( EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager() ); env.set( EnvironmentName.GLOBALS, new MapGlobalResolver() ); Properties properties = new Properties(); properties.put(drools.processInstanceManagerFactory, org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory); properties.put(drools.processSignalManagerFactory, org.jbpm.persistence.processinstance.JPASignalManagerFactory); KnowledgeSessionConfiguration config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(properties); return JPAKnowledgeService.newStatefulKnowledgeSession(kbase, config, env); } its stack-trace is : 14:26:13,111 WARN [JtaTransactionManager] Participating in existing JTA transaction, but no JTA TransactionManager or TransactionSychronizationRegistry available: java.lang.NullPointerException at org.drools.persistence.jta.JtaTransactionManager.registerTransactionSynchronization(JtaTransactionManager.java:221) at org.drools.persistence.SingleSessionCommandService.registerRollbackSync(SingleSessionCommandService.java:333) at org.drools.persistence.SingleSessionCommandService.init(SingleSessionCommandService.java:123) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)... Can anyone help me to solve this problem ? Thanks in advance S.M.H.Jamali ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- - CTO @ http://www.plugtree.com - 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___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Human Task - ERROR : JPAKnowledgeService.newStatefulKnowledgeSession ...
i share persistence.xmlhere yes i configure the persistence with JTA but i dont sure about correctness of it ! i have some other files beside persistence.xml that maybe can help : ormTask.xml JBPMorm.xml jboss-web.xml Thanks S.M.H.Jamali From: Mauricio Salatino sala...@gmail.com To: S.M.H.Jamali cpp...@yahoo.com; Rules Users List rules-users@lists.jboss.org Sent: Wednesday, November 9, 2011 8:22 PM Subject: Re: [rules-users] Human Task - ERROR : JPAKnowledgeService.newStatefulKnowledgeSession ... You will need to solve that problem. looks like a configuration problem, can you share the persistence.xml file? did you configure persistence with JTA? Cheers 2011/11/9 S.M.H.Jamali cpp...@yahoo.com Hello all, I get an exception while last line of below method executed : public StatefulKnowledgeSession createSession() throws Exception { /* * Create the knowledgebase using the required bpmn and drl files */ KnowledgeBase kbase = readKnowledgeBase(HumanTask.bpmn); EntityManagerFactory emf = Persistence.createEntityManagerFactory( org.jbpm.persistence.jpa ); Environment env = KnowledgeBaseFactory.newEnvironment(); env.set( EnvironmentName.ENTITY_MANAGER_FACTORY, emf ); env.set( EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager() ); env.set( EnvironmentName.GLOBALS, new MapGlobalResolver() ); Properties properties = new Properties(); properties.put(drools.processInstanceManagerFactory, org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory); properties.put(drools.processSignalManagerFactory, org.jbpm.persistence.processinstance.JPASignalManagerFactory); KnowledgeSessionConfiguration config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(properties); return JPAKnowledgeService.newStatefulKnowledgeSession(kbase, config, env); } its stack-trace is : 14:26:13,111 WARN [JtaTransactionManager] Participating in existing JTA transaction, but no JTA TransactionManager or TransactionSychronizationRegistry available: java.lang.NullPointerException at org.drools.persistence.jta.JtaTransactionManager.registerTransactionSynchronization(JtaTransactionManager.java:221) at org.drools.persistence.SingleSessionCommandService.registerRollbackSync(SingleSessionCommandService.java:333) at org.drools.persistence.SingleSessionCommandService.init(SingleSessionCommandService.java:123) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)... Can anyone help me to solve this problem ? Thanks in advance S.M.H.Jamali ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- - CTO @ http://www.plugtree.com - 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
[rules-users] Human Task - ERROR : JPAKnowledgeService.newStatefulKnowledgeSession ...
Hello all, I get an exception while last line of below method executed : public StatefulKnowledgeSession createSession() throws Exception { /* * Create the knowledgebase using the required bpmn and drl files */ KnowledgeBase kbase = readKnowledgeBase(HumanTask.bpmn); EntityManagerFactory emf = Persistence.createEntityManagerFactory( org.jbpm.persistence.jpa ); Environment env = KnowledgeBaseFactory.newEnvironment(); env.set( EnvironmentName.ENTITY_MANAGER_FACTORY, emf ); env.set( EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager() ); env.set( EnvironmentName.GLOBALS, new MapGlobalResolver() ); Properties properties = new Properties(); properties.put(drools.processInstanceManagerFactory, org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory); properties.put(drools.processSignalManagerFactory, org.jbpm.persistence.processinstance.JPASignalManagerFactory); KnowledgeSessionConfiguration config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(properties); return JPAKnowledgeService.newStatefulKnowledgeSession(kbase, config, env); } its stack-trace is : 14:26:13,111 WARN [JtaTransactionManager] Participating in existing JTA transaction, but no JTA TransactionManager or TransactionSychronizationRegistry available: java.lang.NullPointerException at org.drools.persistence.jta.JtaTransactionManager.registerTransactionSynchronization(JtaTransactionManager.java:221) at org.drools.persistence.SingleSessionCommandService.registerRollbackSync(SingleSessionCommandService.java:333) at org.drools.persistence.SingleSessionCommandService.init(SingleSessionCommandService.java:123) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)... Can anyone help me to solve this problem ? Thanks in advance S.M.H.Jamali___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Human Task - Connect to guvnor without using jbpm console
Hello all , I want to get list of human tasks for a certain user by jbpm api. How can i do that ? How can i communicate with Guvnor through my web application and jbpm api without using JBPM Console ? Thanks in advance S.M.H.Jamali___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Upload Models to Guvnor
Hello All I want to create a test scenario in Guvnor but it can not detect my uploaded models! can you help me ? i look at the package properties and i can see my Models Thanks S.M.H.Jamali___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Upload Models to Guvnor
Yes , i build and then save my Package but the lack of detection exist yet. Did you have same problem ? and What version of Guvnor you are using ? Thanks S.M.H.Jamali From: Yu Chai cross.cy.w...@gmail.com To: S.M.H.Jamali cpp...@yahoo.com; Rules Users List rules-users@lists.jboss.org Sent: Monday, August 15, 2011 3:53 PM Subject: Re: [rules-users] Upload Models to Guvnor Hi, Did you save the model after upload? I found in Guvnor non-saved assets / models can stay where they are even after you navigate away but won't be usable until saved. Regards Yu 2011/8/15 S.M.H.Jamali cpp...@yahoo.com Hello All I want to create a test scenario in Guvnor but it can not detect my uploaded models! can you help me ? i look at the package properties and i can see my Models Thanks S.M.H.Jamali ___ 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] Guvnor - Unable to load a required class !! Help
Hello All I create a JavaBean and convert it to a Jar File then upload it. Also i create a sample rule that uses uploaded Jar File then i create a test scenario to test my rule but when i run my scenario Guvnor says : Unable to load a required class ! Unable to find class 'Fire' ! my java bean is like it : package com.employee; import java.util.Date; public class Fire { private Room room; private Date time; public Fire(){} public Fire(Room room,Date time) { this.room = room; this.time = time; } public Room getRoom() { return room; } public void setRoom(Room room) { this.room = room; } public Date getTime() { return time; } public void setTime(Date time) { this.time = time; } } Any Help Appreciated Thanks in advance S.M.H.Jamali___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Guvnor and Uploaded Models
Hello All After upload a jar file which contains some java bean (Fact) to Guvnor , gwt-console don't detect my process definitions ! I have facts , processes and rules all in Guvnor and i build the defaultPackage successfully but gwt-console process list don't show my newly added process ! Is it a gwt-console bug ? or is it my error ? can you help me ? Thanks in advance S.M.H.Jamali ___ 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] Guvnor and Uploaded Models
Yes , I do all things you mention. i am using defaultPackage and i set process id same as process name. i create one process (.bpmn) and its image (process-image.jbp) and a form for start process instance then i uploaded them to Guvnor. i create a Guided Rule in Guvnor that uses Uploaded Pojo Models. I click on build package button and the package built successfully and then i run gwt-console and i go to process tab and click on refresh button. i can see previous processes but newly added processes don't appear. if i remove uploaded models and their related rules from Guvnor and then build defaultPackage again i can see newly added processes. What is the problem ? Am I ? Models ? or gwt-console ? Thanks in advance S.M.H.Jamali From: Tihomir Surdilovic tsurd...@redhat.com To: rules-users@lists.jboss.org Sent: Thursday, August 4, 2011 5:52 PM Subject: Re: [rules-users] Guvnor and Uploaded Models On 8/4/11 5:12 AM, S.M.H.Jamali wrote: Hello All After upload a jar file which contains some java bean (Fact) to Guvnor , gwt-console don't detect my process definitions ! I have facts , processes and rules all in Guvnor and i build the defaultPackage successfully but gwt-console process list don't show my newly added process ! Is it a gwt-console bug ? or is it my error ? can you help me ? Are you running guvnor on localhost:8080? Did you set the process attribute id in your process? Same for the packageName attribute in your process? If you download your package content locally and unzip it..is your process included in it? You should provide more info... Thanks. Thanks in advance S.M.H.Jamali ___ 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 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] Fact in Guvnor
Hello All After upload a jar file which contains some java bean (Fact) to Guvnor , gwt-console don't detect my process definitions ! I have facts , processes and rules all in Guvnor and i build the defaultPackage successfully but gwt-console process list don't show my newly added process ! Is it a gwt-console bug ? or is it my error ? can you help me ? Thanks in advance S.M.H.Jamali___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Rule Task - Resolved : Thanks
Thank You Mr.Surdilovic I put gwt-console and gwt-bin under lib and run ant install.demo and then ant start.demo there is no bugs Thanks a lot S.M.H.Jamali From: Tihomir Surdilovic tsurd...@redhat.com To: rules-users@lists.jboss.org Sent: Monday, August 1, 2011 5:16 PM Subject: Re: [rules-users] 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 tsurd...@redhat.com To: rules-users@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 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/CommandDelegate.java 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 tsurd...@redhat.com To: rules-users@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@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 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 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 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 tsurd...@redhat.com To: rules-users@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 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/CommandDelegate.java 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 tsurd...@redhat.com To: rules-users@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@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 mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users16: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
[rules-users] 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 tsurd...@redhat.com To: rules-users@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 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/CommandDelegate.java 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 tsurd...@redhat.com To: rules-users@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@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 mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users16: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
Re: [rules-users] Rule Task
Ok Thanks , i do it tomorrow , im not in office at this time. I think it has worth to mention that i don't use the installer. attached log belongs to gwt-console runtime exception. in gwt-console when i press refresh button to refresh list of processes such exception is occurred. Thanks for your helps S.M.H.Jamali From: Tihomir Surdilovic tsurd...@redhat.com To: rules-users@lists.jboss.org Sent: Monday, August 1, 2011 5:16 PM Subject: Re: [rules-users] 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 tsurd...@redhat.com To: rules-users@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 jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/CommandDelegate.java 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 tsurd...@redhat.com To: rules-users@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@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 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 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 Task
Thanks , I add this jbpm-gwt/jbpm-gwt-core/src/main/java/org/jbpm/integration/console/CommandDelegate.java to gwt-console in its location but i can not build jbpm from source ! it seems it has very bugs ! Is there any stable version of Jbpm with its bug fixes ? S.M.H.Jamali From: Tihomir Surdilovic tsurd...@redhat.com To: rules-users@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@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] Rule Task
Hello All I create a simple JBPM Process by Eclipse Plugin that starts with a Script Task and after Script Task i want to add a Rule Task. In fact i want to fire a rule in my process to make a decision on the Gate Way node. I use Guvnor and JBPM Console to run my processes and after designing the processes i upload them to Guvnor. 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 ? Any Help Appreciated S.M.H.Jamali___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users